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.0008947/0.0008947, allocations: 96.7 kB / 15.7 MB, free: 468 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.0008353/0.0008354, allocations: 176.2 kB / 16.58 MB, free: 6.062 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.58/1.58, allocations: 205.4 MB / 222.7 MB, free: 5.66 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.3922/0.3922, allocations: 43.53 MB / 314.6 MB, free: 8.973 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.0005163/0.0005163, allocations: 12 kB / 384 MB, free: 8.148 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1374/0.1379, allocations: 58.86 MB / 442.9 MB, free: 13.19 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater): time 0.005406/0.1434, allocations: 4.431 MB / 447.3 MB, free: 8.73 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.004807/0.1482, allocations: 4.196 MB / 451.5 MB, free: 4.523 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002117/0.1484, allocations: 0 / 451.5 MB, free: 4.523 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002889/0.1488, allocations: 43.67 kB / 451.5 MB, free: 4.48 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001874/0.1506, allocations: 0.5283 MB / 452.1 MB, free: 3.949 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004301/0.1511, allocations: 143.8 kB / 452.2 MB, free: 3.809 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008339/0.1519, allocations: 390 kB / 452.6 MB, free: 3.426 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001003/0.152, allocations: 17.67 kB / 452.6 MB, free: 3.406 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004458/0.1525, allocations: 147.5 kB / 452.8 MB, free: 3.262 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003652/0.1529, allocations: 123.5 kB / 452.9 MB, free: 3.141 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.606e-05/0.1529, allocations: 12 kB / 452.9 MB, free: 3.129 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001147/0.1541, allocations: 251.7 kB / 453.1 MB, free: 2.883 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001269/0.1542, allocations: 43.81 kB / 453.2 MB, free: 2.84 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001615/0.1544, allocations: 65.58 kB / 453.2 MB, free: 2.77 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009455/0.1554, allocations: 275.6 kB / 453.5 MB, free: 2.5 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.897e-06/0.1554, allocations: 0 / 453.5 MB, free: 2.5 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.875e-06/0.1554, allocations: 4 kB / 453.5 MB, free: 2.496 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.792e-05/0.1554, allocations: 3.938 kB / 453.5 MB, free: 2.492 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.001702/0.1571, allocations: 0.5344 MB / 454 MB, free: 1.91 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.439e-05/0.1572, allocations: 8.031 kB / 454.1 MB, free: 1.902 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001441/0.1574, allocations: 58.55 kB / 454.1 MB, free: 1.836 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002015/0.1576, allocations: 27.72 kB / 454.1 MB, free: 1.809 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004197/0.158, allocations: 218.8 kB / 454.4 MB, free: 1.555 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001602/0.1582, allocations: 127.4 kB / 454.5 MB, free: 1.406 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.45e-05/0.1582, allocations: 20 kB / 454.5 MB, free: 1.387 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005839/0.1588, allocations: 327.6 kB / 454.8 MB, free: 1.035 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.9e-05/0.1588, allocations: 4 kB / 454.8 MB, free: 1.031 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.24e-05/0.1589, allocations: 8 kB / 454.8 MB, free: 1.023 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.154e-05/0.1589, allocations: 15.92 kB / 454.8 MB, free: 1.008 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009637/0.1599, allocations: 0.7391 MB / 455.6 MB, free: 276 kB / 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.2867/0.4466, allocations: 1.237 MB / 456.8 MB, free: 46.23 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003607/0.447, allocations: 147.9 kB / 457 MB, free: 46.21 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001287/0.4471, allocations: 71.89 kB / 457 MB, free: 46.2 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001902/0.449, allocations: 2.662 MB / 459.7 MB, free: 43.45 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.7e-05/0.4491, allocations: 31.25 kB / 459.7 MB, free: 43.41 MB / 382.1 MB Notification: Performance of pre-optimization done (n=13): time 2.725e-06/0.4491, allocations: 6.844 kB / 459.7 MB, free: 43.41 MB / 382.1 MB Notification: Performance of matching and sorting (n=14): time 0.0007916/0.4499, allocations: 222.2 kB / 460 MB, free: 43.34 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.356e-05/0.45, allocations: 51.41 kB / 460 MB, free: 43.28 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002356/0.4502, allocations: 212.4 kB / 460.2 MB, free: 43.17 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.012e-05/0.4503, allocations: 34.72 kB / 460.2 MB, free: 43.14 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001294/0.4504, allocations: 212.4 kB / 460.5 MB, free: 42.97 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.691e-05/0.4504, allocations: 54.23 kB / 460.5 MB, free: 42.94 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.262e-05/0.4505, allocations: 5.062 kB / 460.5 MB, free: 42.94 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001007/0.4506, allocations: 327.9 kB / 460.8 MB, free: 42.62 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.512e-05/0.4507, allocations: 50.36 kB / 460.9 MB, free: 42.62 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001934/0.4509, allocations: 320.5 kB / 461.2 MB, free: 42.28 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001729/0.451, allocations: 100.6 kB / 461.3 MB, free: 42.28 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.321e-06/0.4511, allocations: 5.922 kB / 461.3 MB, free: 42.28 MB / 382.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0005784/0.4516, allocations: 368.6 kB / 461.7 MB, free: 42.19 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.427e-05/0.4517, allocations: 8.656 kB / 461.7 MB, free: 42.19 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.616e-05/0.4517, allocations: 10.81 kB / 461.7 MB, free: 42.19 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.868e-05/0.4517, allocations: 16.67 kB / 461.7 MB, free: 42.19 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003119/0.452, allocations: 109.4 kB / 461.8 MB, free: 42.18 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.798e-05/0.4521, allocations: 19.14 kB / 461.8 MB, free: 42.18 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002462/0.4523, allocations: 27.33 kB / 461.8 MB, free: 42.17 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.752e-05/0.4524, allocations: 27.38 kB / 461.9 MB, free: 42.17 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 44 * 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.0001223/0.4525, allocations: 160.8 kB / 462 MB, free: 42.04 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.968e-05/0.4526, allocations: 19.62 kB / 462 MB, free: 42.03 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002969/0.4529, allocations: 153.4 kB / 462.2 MB, free: 41.99 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.949e-06/0.4529, allocations: 5.812 kB / 462.2 MB, free: 41.99 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.141e-06/0.4529, allocations: 0 / 462.2 MB, free: 41.99 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.818e-06/0.4529, allocations: 0 / 462.2 MB, free: 41.99 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004887/0.4534, allocations: 434.8 kB / 462.6 MB, free: 41.68 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.4534, allocations: 1.344 kB / 462.6 MB, free: 41.68 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001501/0.4536, allocations: 33.39 kB / 462.7 MB, free: 41.68 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.22e-06/0.4536, allocations: 0.6875 kB / 462.7 MB, free: 41.68 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.159e-05/0.4536, allocations: 6.969 kB / 462.7 MB, free: 41.68 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.016e-06/0.4536, allocations: 0 / 462.7 MB, free: 41.68 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.828e-06/0.4536, allocations: 12.84 kB / 462.7 MB, free: 41.67 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002046/0.4538, allocations: 218.9 kB / 462.9 MB, free: 41.52 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.528e-05/0.4539, allocations: 108 kB / 463 MB, free: 41.42 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.537e-05/0.454, allocations: 3.5 kB / 463 MB, free: 41.42 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001776/0.4541, allocations: 12.23 kB / 463 MB, free: 41.41 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.146e-05/0.4542, allocations: 15.81 kB / 463 MB, free: 41.41 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.691e-05/0.4542, allocations: 8.312 kB / 463 MB, free: 41.41 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001105/0.4543, allocations: 149.4 kB / 463.2 MB, free: 41.33 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.4543, allocations: 0 / 463.2 MB, free: 41.33 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005095/0.4548, allocations: 93.86 kB / 463.3 MB, free: 41.33 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.0005281/0.4554, allocations: 0.808 MB / 464.1 MB, free: 40.64 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002889/0.4557, allocations: 181.1 kB / 464.3 MB, free: 40.62 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.118e-06/0.4557, allocations: 192 / 464.3 MB, free: 40.62 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 4.988e-05/0.4558, allocations: 41.55 kB / 464.3 MB, free: 40.61 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004725/0.4562, allocations: 46.72 kB / 464.3 MB, free: 40.61 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001847/0.4581, allocations: 1.394 MB / 465.7 MB, free: 39.69 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002929/0.4584, allocations: 0.7316 MB / 466.5 MB, free: 38.99 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002863/0.4587, allocations: 54.69 kB / 466.5 MB, free: 38.97 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001038/0.4588, allocations: 63.86 kB / 466.6 MB, free: 38.96 MB / 382.1 MB Notification: Performance of SimCode: time 1.473e-06/0.4588, allocations: 4 kB / 466.6 MB, free: 38.96 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01899/0.4778, allocations: 5.149 MB / 471.7 MB, free: 38.41 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001695/0.478, allocations: 204.8 kB / 471.9 MB, free: 38.17 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.787/2.265, allocations: 0 / 471.9 MB, free: 38.17 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