Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.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.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Water_ConstantPropertyLiquidWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Water_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.001583/0.001583, allocations: 198.5 kB / 17.08 MB, free: 5.078 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.621/1.621, allocations: 227.2 MB / 245 MB, free: 5.891 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001105/0.001105, allocations: 101 kB / 297.3 MB, free: 5.957 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.4373/0.4373, allocations: 45.23 MB / 394.6 MB, free: 31.72 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002939/0.0002936, allocations: 11.94 kB / 468.5 MB, free: 7.605 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4047/0.405, allocations: 63.25 MB / 0.5193 GB, free: 37.58 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7138/1.119, allocations: 354.8 MB / 0.8658 GB, free: 10.26 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002988/1.119, allocations: 108.4 kB / 0.8659 GB, free: 10.2 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.5905/1.71, allocations: 133.9 MB / 0.9967 GB, free: 126.5 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.575e-06/1.71, allocations: 3.938 kB / 0.9967 GB, free: 126.5 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 9e-05/1.71, allocations: 16 kB / 0.9967 GB, free: 126.5 MB / 0.5417 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.0031/1.713, allocations: 0.9776 MB / 0.9976 GB, free: 125.4 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 5.752e-05/1.713, allocations: 8.031 kB / 0.9977 GB, free: 125.4 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003546/1.713, allocations: 98.52 kB / 0.9977 GB, free: 125.3 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005529/1.714, allocations: 91.14 kB / 0.9978 GB, free: 125.2 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001641/1.716, allocations: 0.5481 MB / 0.9984 GB, free: 124.6 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001196/1.716, allocations: 104.4 kB / 0.9985 GB, free: 124.5 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001237/1.716, allocations: 47.98 kB / 0.9985 GB, free: 124.5 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001487/1.717, allocations: 0.82 MB / 0.9993 GB, free: 123.6 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.043e-05/1.717, allocations: 3.984 kB / 0.9993 GB, free: 123.6 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.167e-05/1.718, allocations: 23.94 kB / 0.9993 GB, free: 123.5 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.433e-05/1.718, allocations: 40.98 kB / 0.9994 GB, free: 123.5 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001086/1.719, allocations: 0.6243 MB / 1 GB, free: 122.9 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004701/1.723, allocations: 4.054 MB / 1.004 GB, free: 118.6 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005753/1.724, allocations: 333.7 kB / 1.004 GB, free: 118.3 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001752/1.726, allocations: 1.713 MB / 1.006 GB, free: 116.3 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.748e-05/1.726, allocations: 34.56 kB / 1.006 GB, free: 116.2 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=26): time 2.414e-06/1.726, allocations: 0 / 1.006 GB, free: 116.2 MB / 0.5417 GB Notification: Performance of matching and sorting (n=37): time 0.003521/1.729, allocations: 1.36 MB / 1.007 GB, free: 114.8 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.76e-05/1.729, allocations: 132.5 kB / 1.007 GB, free: 114.7 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006715/1.73, allocations: 0.554 MB / 1.008 GB, free: 114.1 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 4.839e-05/1.73, allocations: 33.7 kB / 1.008 GB, free: 114.1 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002272/1.73, allocations: 402.2 kB / 1.008 GB, free: 113.7 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 9.708e-05/1.731, allocations: 134.2 kB / 1.009 GB, free: 113.5 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.56e-05/1.731, allocations: 8 kB / 1.009 GB, free: 113.5 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.000125/1.731, allocations: 378.8 kB / 1.009 GB, free: 113.1 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002987/1.731, allocations: 181.9 kB / 1.009 GB, free: 113 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004459/1.731, allocations: 0.5484 MB / 1.01 GB, free: 112.3 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004985/1.732, allocations: 293.2 kB / 1.01 GB, free: 112 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.576e-06/1.732, allocations: 4 kB / 1.01 GB, free: 112 MB / 0.5417 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001322/1.733, allocations: 0.8257 MB / 1.011 GB, free: 111.1 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 3.384e-05/1.733, allocations: 15.44 kB / 1.011 GB, free: 111.1 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.251e-05/1.733, allocations: 16.83 kB / 1.011 GB, free: 111.1 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000461/1.734, allocations: 100.7 kB / 1.011 GB, free: 111 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006953/1.735, allocations: 179.7 kB / 1.011 GB, free: 110.8 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005194/1.735, allocations: 0.6616 MB / 1.012 GB, free: 110.1 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007834/1.736, allocations: 47.91 kB / 1.012 GB, free: 110.1 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.369e-05/1.736, allocations: 43.98 kB / 1.012 GB, free: 110 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 54 * Number of states: 0 () * Number of discrete variables: 4 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (87): * Single equations (assignments): 86 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 5} Notification: Performance of prepare postOptimizeDAE: time 0.0004499/1.736, allocations: 251 kB / 1.012 GB, free: 109.8 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001598/1.737, allocations: 67.25 kB / 1.012 GB, free: 109.7 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009015/1.738, allocations: 0.4982 MB / 1.013 GB, free: 109.2 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.883e-06/1.738, allocations: 4 kB / 1.013 GB, free: 109.2 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.266e-06/1.738, allocations: 4 kB / 1.013 GB, free: 109.2 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.194e-06/1.738, allocations: 4.094 kB / 1.013 GB, free: 109.2 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001968/1.74, allocations: 1.2 MB / 1.014 GB, free: 107.9 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.783e-06/1.74, allocations: 8.359 kB / 1.014 GB, free: 107.9 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002838/1.74, allocations: 79.95 kB / 1.014 GB, free: 107.8 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001535/1.74, allocations: 36.84 kB / 1.014 GB, free: 107.8 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.918e-05/1.74, allocations: 15.98 kB / 1.014 GB, free: 107.8 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002414/1.74, allocations: 0.5523 MB / 1.014 GB, free: 107.2 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.14e-06/1.74, allocations: 7.984 kB / 1.014 GB, free: 107.2 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008749/1.741, allocations: 0.8512 MB / 1.015 GB, free: 106.2 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003311/1.742, allocations: 188.2 kB / 1.015 GB, free: 106 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001307/1.742, allocations: 12 kB / 1.015 GB, free: 106 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004879/1.742, allocations: 28.05 kB / 1.015 GB, free: 105.9 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.333e-05/1.742, allocations: 31.92 kB / 1.015 GB, free: 105.9 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.484e-05/1.742, allocations: 23.98 kB / 1.015 GB, free: 105.9 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0005009/1.743, allocations: 455 kB / 1.016 GB, free: 105.4 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.5e-07/1.743, allocations: 0 / 1.016 GB, free: 105.4 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.001049/1.744, allocations: 223.9 kB / 1.016 GB, free: 105.2 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 1 (volume.medium.T) * 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 (36): * Single equations (assignments): 35 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.001823/1.746, allocations: 2.457 MB / 1.019 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.000889/1.747, allocations: 490 kB / 1.019 GB, free: 102.2 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 4.568e-06/1.747, allocations: 384 / 1.019 GB, free: 102.2 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0003008/1.747, allocations: 175.7 kB / 1.019 GB, free: 102 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001437/1.748, allocations: 310.9 kB / 1.019 GB, free: 101.7 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007379/1.756, allocations: 12.09 MB / 1.031 GB, free: 89.29 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003841/1.756, allocations: 0.9569 MB / 1.032 GB, free: 88.3 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0007483/1.757, allocations: 205.7 kB / 1.032 GB, free: 88.11 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002859/1.757, allocations: 223.4 kB / 1.033 GB, free: 87.89 MB / 0.5417 GB Notification: Performance of SimCode: time 1.613e-06/1.757, allocations: 0 / 1.033 GB, free: 87.89 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03799/1.795, allocations: 20.16 MB / 1.052 GB, free: 68.05 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000218/1.796, allocations: 286.3 kB / 1.053 GB, free: 67.7 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.74/4.535, allocations: 4 kB / 1.053 GB, free: 67.69 MB / 0.5417 GB (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Water_ConstantPropertyLiquidWater_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Water_ConstantPropertyLiquidWater.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater_res.mat does not exist to compare? outputFormat=mat