Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_ConstantPropertyLiquidWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_ConstantPropertyLiquidWater",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001355/0.001362, allocations: 96.28 kB / 15.69 MB, free: 480 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002907/0.002907, allocations: 176.9 kB / 16.57 MB, free: 6.852 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.936/1.936, allocations: 205.4 MB / 222.7 MB, free: 5.906 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.5021/0.5021, allocations: 43.54 MB / 314.5 MB, free: 8.883 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005217/0.0005217, allocations: 12 kB / 384 MB, free: 8.199 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1447/0.1452, allocations: 58.86 MB / 442.8 MB, free: 13.23 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater): time 0.005112/0.1504, allocations: 4.098 MB / 446.9 MB, free: 9.109 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.004358/0.1548, allocations: 3.687 MB / 450.6 MB, free: 5.414 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001685/0.155, allocations: 3.938 kB / 450.6 MB, free: 5.41 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002888/0.1553, allocations: 47.77 kB / 450.7 MB, free: 5.363 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001725/0.157, allocations: 0.5647 MB / 451.2 MB, free: 4.797 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004188/0.1575, allocations: 143.7 kB / 451.4 MB, free: 4.656 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004823/0.158, allocations: 255.5 kB / 451.6 MB, free: 4.406 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.948e-05/0.158, allocations: 13.67 kB / 451.6 MB, free: 4.391 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002515/0.1583, allocations: 139.6 kB / 451.8 MB, free: 4.254 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001858/0.1585, allocations: 111.6 kB / 451.9 MB, free: 4.145 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.786e-05/0.1585, allocations: 8 kB / 451.9 MB, free: 4.137 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008388/0.1594, allocations: 299.7 kB / 452.2 MB, free: 3.844 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.955e-05/0.1595, allocations: 43.88 kB / 452.2 MB, free: 3.801 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.271e-05/0.1595, allocations: 73.56 kB / 452.3 MB, free: 3.723 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004586/0.16, allocations: 263.6 kB / 452.6 MB, free: 3.465 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.474e-06/0.16, allocations: 0 / 452.6 MB, free: 3.465 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.184e-06/0.16, allocations: 0 / 452.6 MB, free: 3.465 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.89e-06/0.16, allocations: 0 / 452.6 MB, free: 3.465 MB / 382.1 MB 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.000948/0.161, allocations: 0.5305 MB / 453.1 MB, free: 2.887 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.883e-05/0.1611, allocations: 16.03 kB / 453.1 MB, free: 2.871 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.882e-05/0.1611, allocations: 58.53 kB / 453.2 MB, free: 2.805 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000128/0.1613, allocations: 27.72 kB / 453.2 MB, free: 2.777 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000251/0.1615, allocations: 222.8 kB / 453.4 MB, free: 2.52 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000123/0.1617, allocations: 119.4 kB / 453.5 MB, free: 2.379 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.105e-05/0.1617, allocations: 20 kB / 453.5 MB, free: 2.359 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000492/0.1622, allocations: 335.5 kB / 453.9 MB, free: 2.004 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.43e-05/0.1622, allocations: 7.938 kB / 453.9 MB, free: 1.996 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.15e-05/0.1623, allocations: 12 kB / 453.9 MB, free: 1.984 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.615e-05/0.1623, allocations: 7.984 kB / 453.9 MB, free: 1.977 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008925/0.1632, allocations: 0.7352 MB / 454.6 MB, free: 1.242 MB / 382.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2805/0.4437, allocations: 1.289 MB / 455.9 MB, free: 46.57 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003828/0.4441, allocations: 149.2 kB / 456.1 MB, free: 46.54 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001947/0.4461, allocations: 2.61 MB / 458.7 MB, free: 43.89 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.431e-05/0.4462, allocations: 41.66 kB / 458.7 MB, free: 43.86 MB / 382.1 MB Notification: Performance of pre-optimization done (n=15): time 1.774e-06/0.4462, allocations: 0 / 458.7 MB, free: 43.86 MB / 382.1 MB Notification: Performance of matching and sorting (n=16): time 0.0006849/0.4469, allocations: 236 kB / 459 MB, free: 43.79 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.039e-05/0.4469, allocations: 55.44 kB / 459 MB, free: 43.73 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000143/0.4471, allocations: 208.2 kB / 459.2 MB, free: 43.61 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.958e-05/0.4471, allocations: 29.58 kB / 459.2 MB, free: 43.58 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.171e-05/0.4472, allocations: 196.2 kB / 459.4 MB, free: 43.42 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.359e-05/0.4472, allocations: 60.86 kB / 459.5 MB, free: 43.38 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.18e-05/0.4472, allocations: 10.19 kB / 459.5 MB, free: 43.38 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.272e-05/0.4473, allocations: 330.5 kB / 459.8 MB, free: 43.07 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.594e-05/0.4474, allocations: 47.38 kB / 459.9 MB, free: 43.07 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000162/0.4475, allocations: 311.9 kB / 460.2 MB, free: 42.74 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001396/0.4477, allocations: 102.5 kB / 460.3 MB, free: 42.74 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.567e-06/0.4477, allocations: 2.906 kB / 460.3 MB, free: 42.74 MB / 382.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0004546/0.4482, allocations: 360 kB / 460.6 MB, free: 42.65 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.941e-05/0.4482, allocations: 15.12 kB / 460.6 MB, free: 42.65 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.343e-05/0.4482, allocations: 11.91 kB / 460.7 MB, free: 42.65 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.306e-05/0.4482, allocations: 11.66 kB / 460.7 MB, free: 42.65 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003567/0.4486, allocations: 116.4 kB / 460.8 MB, free: 42.64 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.63e-05/0.4486, allocations: 21.64 kB / 460.8 MB, free: 42.64 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002084/0.4488, allocations: 17.22 kB / 460.8 MB, free: 42.64 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.109e-05/0.4489, allocations: 32.28 kB / 460.9 MB, free: 42.64 MB / 382.1 MB 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 () * Number of clocked 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 0.0001011/0.449, allocations: 149.6 kB / 461 MB, free: 42.51 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.161e-05/0.449, allocations: 22.19 kB / 461 MB, free: 42.5 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003467/0.4494, allocations: 188.7 kB / 461.2 MB, free: 42.44 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.092e-05/0.4494, allocations: 2.906 kB / 461.2 MB, free: 42.44 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.4494, allocations: 3.828 kB / 461.2 MB, free: 42.44 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.03e-06/0.4494, allocations: 7.234 kB / 461.2 MB, free: 42.44 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004083/0.4498, allocations: 432.5 kB / 461.6 MB, free: 42.13 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.4499, allocations: 3 kB / 461.6 MB, free: 42.13 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001693/0.45, allocations: 34.2 kB / 461.7 MB, free: 42.13 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.308e-06/0.4501, allocations: 10.12 kB / 461.7 MB, free: 42.12 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.036e-05/0.4501, allocations: 0 / 461.7 MB, free: 42.12 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.877e-06/0.4501, allocations: 6.953 kB / 461.7 MB, free: 42.12 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.4501, allocations: 0.5 kB / 461.7 MB, free: 42.12 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001913/0.4503, allocations: 229.8 kB / 461.9 MB, free: 41.96 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.913e-05/0.4504, allocations: 113.4 kB / 462 MB, free: 41.85 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.582e-05/0.4504, allocations: 10.7 kB / 462 MB, free: 41.84 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001877/0.4506, allocations: 10.12 kB / 462 MB, free: 41.84 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.567e-05/0.4507, allocations: 11.64 kB / 462.1 MB, free: 41.84 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.677e-05/0.4507, allocations: 9.375 kB / 462.1 MB, free: 41.84 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001012/0.4508, allocations: 144.8 kB / 462.2 MB, free: 41.77 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.503e-06/0.4508, allocations: 0 / 462.2 MB, free: 41.77 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004944/0.4513, allocations: 100.8 kB / 462.3 MB, free: 41.76 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (14): * Single equations (assignments): 13 * 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.0005734/0.4519, allocations: 0.8907 MB / 463.2 MB, free: 40.99 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002744/0.4522, allocations: 184.3 kB / 463.4 MB, free: 40.96 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.4522, allocations: 0 / 463.4 MB, free: 40.96 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 5.039e-05/0.4522, allocations: 35.16 kB / 463.4 MB, free: 40.95 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004029/0.4526, allocations: 43.45 kB / 463.5 MB, free: 40.95 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002907/0.4555, allocations: 7.485 MB / 470.9 MB, free: 33.92 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002136/0.4558, allocations: 0.7379 MB / 471.7 MB, free: 33.21 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002734/0.4561, allocations: 57.12 kB / 471.7 MB, free: 33.19 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001093/0.4562, allocations: 67.28 kB / 471.8 MB, free: 33.18 MB / 382.1 MB Notification: Performance of SimCode: time 1.623e-06/0.4562, allocations: 0 / 471.8 MB, free: 33.18 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01584/0.472, allocations: 5.077 MB / 476.9 MB, free: 32.64 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001919/0.4723, allocations: 209.8 kB / 477.1 MB, free: 32.4 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.837/2.309, allocations: 0 / 477.1 MB, free: 32.4 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_ConstantPropertyLiquidWater_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_ConstantPropertyLiquidWater.fmu > ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater_res.mat does not exist to compare? outputFormat=mat