Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.IdealGasH2O.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Media.Examples.IdealGasH2O,fileNamePrefix="Modelica_trunk_Modelica_Media_Examples_IdealGasH2O",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.IdealGasH2O,fileNamePrefix="Modelica_trunk_Modelica_Media_Examples_IdealGasH2O",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001248/0.001248, allocations: 202.6 kB / 17.08 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.268/1.268, allocations: 227.2 MB / 245 MB, free: 5.789 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001001/0.001, allocations: 108.3 kB / 297.3 MB, free: 5.953 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002223/0.0002224, allocations: 7.984 kB / 358 MB, free: 9.227 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2218/0.222, allocations: 51.48 MB / 409.5 MB, free: 26.7 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7313/0.9533, allocations: 444.1 MB / 0.8336 GB, free: 8.723 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001869/0.9536, allocations: 68.34 kB / 0.8336 GB, free: 8.688 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.232/1.186, allocations: 25.53 MB / 0.8586 GB, free: 171.3 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.513e-06/1.186, allocations: 0 / 0.8586 GB, free: 171.3 MB / 458.7 MB Notification: Performance of Transformations before backend: time 4.328e-06/1.186, allocations: 0 / 0.8586 GB, free: 171.3 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0006797/1.186, allocations: 452.5 kB / 0.859 GB, free: 170.9 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.788e-05/1.186, allocations: 9.969 kB / 0.859 GB, free: 170.9 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.398e-05/1.186, allocations: 34.56 kB / 0.859 GB, free: 170.8 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005577/1.192, allocations: 463.9 kB / 0.8595 GB, free: 170.8 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.249e-05/1.192, allocations: 170.3 kB / 0.8597 GB, free: 170.6 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.294e-05/1.192, allocations: 6.938 kB / 0.8597 GB, free: 170.6 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.003e-05/1.192, allocations: 14.28 kB / 0.8597 GB, free: 170.6 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006566/1.193, allocations: 290.8 kB / 0.8599 GB, free: 170.5 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.24e-05/1.193, allocations: 6.844 kB / 0.86 GB, free: 170.5 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.272e-05/1.193, allocations: 3.938 kB / 0.86 GB, free: 170.5 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.648e-06/1.193, allocations: 2.125 kB / 0.86 GB, free: 170.5 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008002/1.194, allocations: 271.6 kB / 0.8602 GB, free: 170.4 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009101/1.195, allocations: 434.4 kB / 0.8606 GB, free: 170 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000935/1.196, allocations: 223 kB / 0.8608 GB, free: 169.9 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.452e-05/1.196, allocations: 2.156 kB / 0.8608 GB, free: 169.9 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.233e-05/1.196, allocations: 30.56 kB / 0.8609 GB, free: 169.9 MB / 458.7 MB Notification: Performance of pre-optimization done (n=13): time 1.713e-06/1.196, allocations: 0 / 0.8609 GB, free: 169.9 MB / 458.7 MB Notification: Performance of matching and sorting (n=17): time 0.001606/1.197, allocations: 430 kB / 0.8613 GB, free: 169.8 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.262e-05/1.197, allocations: 55.41 kB / 0.8613 GB, free: 169.7 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.593e-05/1.198, allocations: 96.62 kB / 0.8614 GB, free: 169.6 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 2.414e-05/1.198, allocations: 37.22 kB / 0.8615 GB, free: 169.6 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.408e-05/1.198, allocations: 87.95 kB / 0.8616 GB, free: 169.5 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.632e-05/1.198, allocations: 62.39 kB / 0.8616 GB, free: 169.4 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.645e-05/1.198, allocations: 4 kB / 0.8616 GB, free: 169.4 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 6.214e-05/1.198, allocations: 318.5 kB / 0.8619 GB, free: 169.1 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002845/1.198, allocations: 82.81 kB / 0.862 GB, free: 169 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002345/1.198, allocations: 111.1 kB / 0.8621 GB, free: 169 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002278/1.198, allocations: 93.89 kB / 0.8622 GB, free: 168.9 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/1.199, allocations: 3.953 kB / 0.8622 GB, free: 168.9 MB / 458.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0005351/1.199, allocations: 238.1 kB / 0.8624 GB, free: 168.7 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.483e-05/1.199, allocations: 8.125 kB / 0.8624 GB, free: 168.7 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.98e-06/1.199, allocations: 4 kB / 0.8624 GB, free: 168.7 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.362e-05/1.199, allocations: 0 / 0.8624 GB, free: 168.7 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003448/1.199, allocations: 55.83 kB / 0.8625 GB, free: 168.6 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.855e-06/1.199, allocations: 4 kB / 0.8625 GB, free: 168.6 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002341/1.2, allocations: 15.98 kB / 0.8625 GB, free: 168.6 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.203e-05/1.2, allocations: 11.98 kB / 0.8625 GB, free: 168.6 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (21): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001358/1.2, allocations: 121.8 kB / 0.8626 GB, free: 168.4 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.642e-05/1.2, allocations: 15.8 kB / 0.8627 GB, free: 168.4 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007156/1.201, allocations: 284.5 kB / 0.8629 GB, free: 168.1 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.477e-06/1.201, allocations: 0 / 0.8629 GB, free: 168.1 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/1.201, allocations: 0 / 0.8629 GB, free: 168.1 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/1.201, allocations: 0 / 0.8629 GB, free: 168.1 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001042/1.202, allocations: 0.5667 MB / 0.8635 GB, free: 167.5 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/1.202, allocations: 4 kB / 0.8635 GB, free: 167.5 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003479/1.202, allocations: 47.89 kB / 0.8635 GB, free: 167.5 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.407e-06/1.202, allocations: 4 kB / 0.8635 GB, free: 167.5 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.212e-05/1.202, allocations: 12.05 kB / 0.8635 GB, free: 167.5 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.274e-06/1.202, allocations: 0 / 0.8635 GB, free: 167.5 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/1.202, allocations: 0 / 0.8635 GB, free: 167.5 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005374/1.203, allocations: 363 kB / 0.8639 GB, free: 167.1 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.104e-05/1.203, allocations: 81.02 kB / 0.864 GB, free: 167 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.898e-05/1.203, allocations: 11.95 kB / 0.864 GB, free: 167 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002452/1.203, allocations: 15.98 kB / 0.864 GB, free: 166.9 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.093e-05/1.203, allocations: 11.97 kB / 0.864 GB, free: 166.9 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.229e-05/1.203, allocations: 8 kB / 0.864 GB, free: 166.9 MB / 458.7 MB Notification: Performance of sorting global known variables: time 2.222e-05/1.203, allocations: 91.27 kB / 0.8641 GB, free: 166.8 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.21e-07/1.203, allocations: 0 / 0.8641 GB, free: 166.8 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0004095/1.204, allocations: 76 kB / 0.8642 GB, free: 166.8 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001209/1.205, allocations: 1.44 MB / 0.8656 GB, free: 165.3 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0005313/1.205, allocations: 198.6 kB / 0.8658 GB, free: 165.1 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/1.205, allocations: 256 / 0.8658 GB, free: 165.1 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000229/1.206, allocations: 103.9 kB / 0.8659 GB, free: 165 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002847/1.206, allocations: 31.95 kB / 0.8659 GB, free: 165 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008982/1.207, allocations: 366.3 kB / 0.8662 GB, free: 164.6 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001105/1.207, allocations: 0.6974 MB / 0.8669 GB, free: 163.9 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0003676/1.207, allocations: 56.61 kB / 0.867 GB, free: 163.8 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001529/1.207, allocations: 39.41 kB / 0.867 GB, free: 163.8 MB / 458.7 MB Notification: Performance of SimCode: time 3.807e-06/1.207, allocations: 3.938 kB / 0.867 GB, free: 163.8 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02325/1.231, allocations: 11.79 MB / 0.8785 GB, free: 152.1 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001457/1.231, allocations: 162.2 kB / 0.8787 GB, free: 151.9 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.808/3.039, allocations: 3.938 kB / 0.8787 GB, free: 151.8 MB / 458.7 MB (rm -f Modelica_trunk_Modelica.Media.Examples.IdealGasH2O.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.IdealGasH2O.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.IdealGasH2O.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.IdealGasH2O.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Media.Examples.IdealGasH2O_res.mat --tempDir=temp_Modelica_trunk_Modelica_Media_Examples_IdealGasH2O_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Media_Examples_IdealGasH2O.fmu > Modelica_trunk_Modelica.Media.Examples.IdealGasH2O.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Media.Examples.IdealGasH2O_res.mat does not exist to compare? outputFormat=mat