Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) 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(ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_ConstantPropertyLiquidWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_ConstantPropertyLiquidWater",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001008/0.001008, allocations: 197 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.25/1.25, allocations: 225.4 MB / 240.1 MB, free: 15.11 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008038/0.0008038, allocations: 88.05 kB / 292.1 MB, free: 5.973 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1806/0.1806, allocations: 45.15 MB / 389.3 MB, free: 11.85 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 3.712e-05/3.713e-05, allocations: 7.984 kB / 460.5 MB, free: 69.91 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1032/0.1032, allocations: 63.24 MB / 0.5115 GB, free: 6.684 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8015/0.9048, allocations: 302.1 MB / 0.8065 GB, free: 138.6 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002212/0.905, allocations: 73.89 kB / 0.8065 GB, free: 138.6 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.0405/0.9455, allocations: 20.83 MB / 0.8269 GB, free: 121.5 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.803e-06/0.9456, allocations: 0 / 0.8269 GB, free: 121.5 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.303e-05/0.9456, allocations: 8 kB / 0.8269 GB, free: 121.5 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.000862/0.9465, allocations: 0.5538 MB / 0.8274 GB, free: 120.9 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.568e-05/0.9465, allocations: 15.97 kB / 0.8274 GB, free: 120.9 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.592e-05/0.9466, allocations: 61.22 kB / 0.8275 GB, free: 120.8 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001226/0.9467, allocations: 27.06 kB / 0.8275 GB, free: 120.8 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002309/0.947, allocations: 229.4 kB / 0.8277 GB, free: 120.5 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000105/0.9471, allocations: 126.2 kB / 0.8279 GB, free: 120.4 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.019e-05/0.9471, allocations: 23.44 kB / 0.8279 GB, free: 120.4 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003897/0.9475, allocations: 309.1 kB / 0.8282 GB, free: 120.1 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.173e-05/0.9475, allocations: 0 / 0.8282 GB, free: 120.1 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.542e-05/0.9476, allocations: 15.12 kB / 0.8282 GB, free: 120.1 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.075e-05/0.9476, allocations: 12 kB / 0.8282 GB, free: 120.1 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005797/0.9482, allocations: 0.7362 MB / 0.8289 GB, free: 119.5 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009115/0.9491, allocations: 1.165 MB / 0.8301 GB, free: 118.4 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002619/0.9494, allocations: 147 kB / 0.8302 GB, free: 118.3 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.013e-05/0.9495, allocations: 78.78 kB / 0.8303 GB, free: 118.2 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001757/0.9512, allocations: 2.875 MB / 0.8331 GB, free: 114.9 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.892e-05/0.9513, allocations: 41.11 kB / 0.8331 GB, free: 114.9 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=15): time 1.482e-06/0.9513, allocations: 0 / 0.8331 GB, free: 114.9 MB / 0.5261 GB Notification: Performance of matching and sorting (n=16): time 0.0005388/0.9518, allocations: 202.9 kB / 0.8333 GB, free: 114.7 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.43e-05/0.9519, allocations: 55.48 kB / 0.8334 GB, free: 114.6 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001253/0.952, allocations: 194.2 kB / 0.8336 GB, free: 114.5 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.718e-05/0.952, allocations: 25.7 kB / 0.8336 GB, free: 114.4 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 7.007e-05/0.9521, allocations: 208 kB / 0.8338 GB, free: 114.2 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 3.012e-05/0.9521, allocations: 64.75 kB / 0.8338 GB, free: 114.2 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.093e-05/0.9522, allocations: 7.375 kB / 0.8338 GB, free: 114.2 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 6.804e-05/0.9522, allocations: 329.6 kB / 0.8342 GB, free: 113.8 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.063e-05/0.9523, allocations: 50.36 kB / 0.8342 GB, free: 113.8 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001669/0.9525, allocations: 306.2 kB / 0.8345 GB, free: 113.4 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00013/0.9526, allocations: 96.64 kB / 0.8346 GB, free: 113.3 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.427e-06/0.9526, allocations: 4 kB / 0.8346 GB, free: 113.3 MB / 0.5261 GB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0004324/0.9531, allocations: 360.7 kB / 0.8349 GB, free: 113 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.001e-05/0.9531, allocations: 8 kB / 0.8349 GB, free: 113 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.108e-05/0.9531, allocations: 8 kB / 0.835 GB, free: 113 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.308e-05/0.9531, allocations: 16 kB / 0.835 GB, free: 113 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000321/0.9535, allocations: 110.8 kB / 0.8351 GB, free: 112.9 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.85e-05/0.9535, allocations: 24.58 kB / 0.8351 GB, free: 112.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002169/0.9537, allocations: 18.91 kB / 0.8351 GB, free: 112.8 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.921e-05/0.9538, allocations: 31.11 kB / 0.8351 GB, free: 112.8 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (51): * Single equations (assignments): 50 * Array equations: 1 * 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 7.273e-05/0.9538, allocations: 135.4 kB / 0.8353 GB, free: 112.7 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.904e-05/0.9539, allocations: 19.81 kB / 0.8353 GB, free: 112.7 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003218/0.9542, allocations: 180.6 kB / 0.8355 GB, free: 112.5 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.956e-06/0.9542, allocations: 0 / 0.8355 GB, free: 112.5 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.339e-06/0.9542, allocations: 0 / 0.8355 GB, free: 112.5 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/0.9542, allocations: 3.953 kB / 0.8355 GB, free: 112.5 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004154/0.9547, allocations: 464.3 kB / 0.8359 GB, free: 112 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/0.9547, allocations: 4 kB / 0.8359 GB, free: 112 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000169/0.9549, allocations: 39.98 kB / 0.836 GB, free: 112 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.418e-06/0.9549, allocations: 3.984 kB / 0.836 GB, free: 112 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.441e-05/0.9549, allocations: 14.02 kB / 0.836 GB, free: 112 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.286e-06/0.9549, allocations: 0 / 0.836 GB, free: 112 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.9549, allocations: 3.938 kB / 0.836 GB, free: 112 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001933/0.9551, allocations: 254.5 kB / 0.8362 GB, free: 111.7 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 7.873e-05/0.9552, allocations: 115.2 kB / 0.8363 GB, free: 111.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.757e-05/0.9552, allocations: 0 / 0.8363 GB, free: 111.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001705/0.9554, allocations: 18.92 kB / 0.8363 GB, free: 111.6 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.973e-05/0.9554, allocations: 23.03 kB / 0.8364 GB, free: 111.6 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.542e-05/0.9555, allocations: 4 kB / 0.8364 GB, free: 111.6 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 8.417e-05/0.9556, allocations: 145.6 kB / 0.8365 GB, free: 111.4 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.6e-07/0.9556, allocations: 0 / 0.8365 GB, free: 111.4 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0004412/0.956, allocations: 105 kB / 0.8366 GB, free: 111.3 MB / 0.5261 GB 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 14 * Array equations: 1 * 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.0004964/0.9565, allocations: 0.9971 MB / 0.8376 GB, free: 110.3 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0002331/0.9568, allocations: 169.7 kB / 0.8377 GB, free: 110.2 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.556e-06/0.9568, allocations: 4.75 kB / 0.8378 GB, free: 110.2 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 4.788e-05/0.9568, allocations: 46.73 kB / 0.8378 GB, free: 110.1 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003456/0.9572, allocations: 48.06 kB / 0.8378 GB, free: 110.1 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0105/0.9677, allocations: 5.81 MB / 0.8435 GB, free: 105.5 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001272/0.9678, allocations: 0.7328 MB / 0.8442 GB, free: 104.8 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0002546/0.9681, allocations: 58.78 kB / 0.8443 GB, free: 104.7 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.043e-05/0.9682, allocations: 65.66 kB / 0.8444 GB, free: 104.7 MB / 0.5261 GB Notification: Performance of SimCode: time 6.62e-07/0.9682, allocations: 4 kB / 0.8444 GB, free: 104.7 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01595/0.9841, allocations: 5.647 MB / 0.8499 GB, free: 99.18 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001393/0.9843, allocations: 179.4 kB / 0.85 GB, free: 98.95 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.624/2.608, allocations: 0 / 0.85 GB, free: 98.95 MB / 0.5261 GB (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_ConstantPropertyLiquidWater_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_ConstantPropertyLiquidWater.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater_res.mat does not exist to compare? outputFormat=mat