Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearColdWater.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.LinearColdWater,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_LinearColdWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.LinearColdWater,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_LinearColdWater",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.00124/0.00124, 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.00165/0.00165, allocations: 178.7 kB / 16.57 MB, free: 6.387 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.974/1.974, allocations: 205.4 MB / 222.7 MB, free: 5.676 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.4674/0.4674, allocations: 43.54 MB / 314.5 MB, free: 9.016 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.0005032/0.0005034, allocations: 12 kB / 384 MB, free: 8.176 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1432/0.1437, allocations: 58.86 MB / 442.8 MB, free: 13.21 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.LinearColdWater): time 0.004339/0.1481, allocations: 3.483 MB / 446.3 MB, free: 9.711 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003905/0.152, allocations: 3.469 MB / 449.8 MB, free: 6.234 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001285/0.1522, allocations: 0 / 449.8 MB, free: 6.234 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002902/0.1525, allocations: 39.78 kB / 449.8 MB, free: 6.195 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001602/0.1541, allocations: 0.5882 MB / 450.4 MB, free: 5.605 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003469/0.1545, allocations: 127.7 kB / 450.5 MB, free: 5.48 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004398/0.1549, allocations: 255.4 kB / 450.8 MB, free: 5.23 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.412e-05/0.155, allocations: 21.66 kB / 450.8 MB, free: 5.207 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000172/0.1552, allocations: 135.5 kB / 450.9 MB, free: 5.074 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000226/0.1554, allocations: 127.6 kB / 451.1 MB, free: 4.949 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.409e-05/0.1554, allocations: 4 kB / 451.1 MB, free: 4.945 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009444/0.1564, allocations: 387.5 kB / 451.5 MB, free: 4.566 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.106e-05/0.1565, allocations: 43.81 kB / 451.5 MB, free: 4.523 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.766e-05/0.1566, allocations: 57.64 kB / 451.6 MB, free: 4.461 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004281/0.157, allocations: 295.6 kB / 451.8 MB, free: 4.172 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.424e-06/0.157, allocations: 0 / 451.8 MB, free: 4.172 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.157, allocations: 0 / 451.8 MB, free: 4.172 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.536e-06/0.157, allocations: 0 / 451.8 MB, free: 4.172 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.001069/0.1581, allocations: 0.55 MB / 452.4 MB, free: 3.574 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.86e-05/0.1581, allocations: 12.02 kB / 452.4 MB, free: 3.562 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.394e-05/0.1582, allocations: 54.55 kB / 452.5 MB, free: 3.5 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001342/0.1584, allocations: 35.72 kB / 452.5 MB, free: 3.465 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002797/0.1587, allocations: 222.8 kB / 452.7 MB, free: 3.207 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001392/0.1588, allocations: 119.4 kB / 452.8 MB, free: 3.066 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.541e-05/0.1589, allocations: 24 kB / 452.8 MB, free: 3.043 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004883/0.1593, allocations: 327.6 kB / 453.2 MB, free: 2.695 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.237e-05/0.1594, allocations: 0 / 453.2 MB, free: 2.695 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.164e-05/0.1594, allocations: 12 kB / 453.2 MB, free: 2.684 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.188e-05/0.1594, allocations: 7.984 kB / 453.2 MB, free: 2.676 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008866/0.1603, allocations: 0.743 MB / 453.9 MB, free: 1.934 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.001507/0.1618, allocations: 1.347 MB / 455.3 MB, free: 476 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003295/0.1622, allocations: 155.8 kB / 455.4 MB, free: 312 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2811/0.4433, allocations: 2.859 MB / 458.3 MB, free: 44.5 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.138e-05/0.4433, allocations: 40.2 kB / 458.3 MB, free: 44.46 MB / 382.1 MB Notification: Performance of pre-optimization done (n=15): time 1.442e-06/0.4434, allocations: 2.438 kB / 458.3 MB, free: 44.46 MB / 382.1 MB Notification: Performance of matching and sorting (n=15): time 0.0003041/0.4437, allocations: 134.7 kB / 458.5 MB, free: 44.43 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.332e-05/0.4437, allocations: 54.19 kB / 458.5 MB, free: 44.36 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001548/0.4439, allocations: 208.3 kB / 458.7 MB, free: 44.25 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.463e-05/0.4439, allocations: 25.7 kB / 458.7 MB, free: 44.22 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.452e-05/0.444, allocations: 206.5 kB / 458.9 MB, free: 44.06 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.854e-05/0.444, allocations: 60.67 kB / 459 MB, free: 44.02 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.161e-05/0.444, allocations: 14.86 kB / 459 MB, free: 44.02 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.244e-05/0.4441, allocations: 329.2 kB / 459.3 MB, free: 43.71 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.74e-05/0.4441, allocations: 47.61 kB / 459.4 MB, free: 43.71 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001474/0.4443, allocations: 318.6 kB / 459.7 MB, free: 43.37 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001204/0.4444, allocations: 106.3 kB / 459.8 MB, free: 43.37 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.478e-06/0.4444, allocations: 2.844 kB / 459.8 MB, free: 43.37 MB / 382.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0004226/0.4449, allocations: 366.6 kB / 460.2 MB, free: 43.29 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.88e-05/0.4449, allocations: 10.66 kB / 460.2 MB, free: 43.29 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.176e-05/0.4449, allocations: 11.78 kB / 460.2 MB, free: 43.29 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.519e-05/0.4449, allocations: 14.38 kB / 460.2 MB, free: 43.29 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002243/0.4452, allocations: 102.1 kB / 460.3 MB, free: 43.27 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.483e-05/0.4452, allocations: 17.91 kB / 460.3 MB, free: 43.27 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002169/0.4454, allocations: 52.81 kB / 460.4 MB, free: 43.24 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.655e-05/0.4455, allocations: 31.31 kB / 460.4 MB, free: 43.24 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 9.138e-05/0.4456, allocations: 152.7 kB / 460.5 MB, free: 43.11 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.79e-05/0.4456, allocations: 26.83 kB / 460.6 MB, free: 43.1 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003038/0.4459, allocations: 170.4 kB / 460.7 MB, free: 43.04 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.059e-05/0.4459, allocations: 2.516 kB / 460.7 MB, free: 43.04 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.4459, allocations: 10.94 kB / 460.8 MB, free: 43.04 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.558e-06/0.4459, allocations: 3.094 kB / 460.8 MB, free: 43.04 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004083/0.4464, allocations: 446.4 kB / 461.2 MB, free: 42.69 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.4464, allocations: 0.75 kB / 461.2 MB, free: 42.69 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.506e-05/0.4465, allocations: 21.8 kB / 461.2 MB, free: 42.69 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.438e-06/0.4465, allocations: 2.969 kB / 461.2 MB, free: 42.69 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.478e-06/0.4465, allocations: 3 kB / 461.2 MB, free: 42.69 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.567e-06/0.4465, allocations: 3.734 kB / 461.2 MB, free: 42.69 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/0.4465, allocations: 7.031 kB / 461.2 MB, free: 42.68 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001784/0.4467, allocations: 275 kB / 461.5 MB, free: 42.44 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.42e-05/0.4468, allocations: 115.5 kB / 461.6 MB, free: 42.33 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.298e-05/0.4468, allocations: 3.953 kB / 461.6 MB, free: 42.33 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001469/0.447, allocations: 13.91 kB / 461.6 MB, free: 42.33 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.532e-05/0.447, allocations: 9.516 kB / 461.6 MB, free: 42.33 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.033e-05/0.447, allocations: 5.844 kB / 461.6 MB, free: 42.33 MB / 382.1 MB Notification: Performance of sorting global known variables: time 8.785e-05/0.4471, allocations: 148.6 kB / 461.8 MB, free: 42.25 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.4471, allocations: 4 kB / 461.8 MB, free: 42.25 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004819/0.4476, allocations: 99.19 kB / 461.9 MB, free: 42.25 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (12): * Single equations (assignments): 11 * 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.0005062/0.4481, allocations: 1.149 MB / 463 MB, free: 41.2 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002561/0.4484, allocations: 172 kB / 463.2 MB, free: 41.17 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.165e-06/0.4484, allocations: 2.312 kB / 463.2 MB, free: 41.17 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 4.241e-05/0.4484, allocations: 27.91 kB / 463.2 MB, free: 41.16 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003657/0.4488, allocations: 59.34 kB / 463.3 MB, free: 41.15 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002183/0.451, allocations: 7.796 MB / 471.1 MB, free: 33.77 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000152/0.4512, allocations: 0.7316 MB / 471.8 MB, free: 33.07 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000237/0.4514, allocations: 56.22 kB / 471.9 MB, free: 33.05 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.467e-05/0.4515, allocations: 63.8 kB / 471.9 MB, free: 33.04 MB / 382.1 MB Notification: Performance of SimCode: time 2.6e-07/0.4515, allocations: 0 / 471.9 MB, free: 33.04 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01636/0.4679, allocations: 5.136 MB / 477.1 MB, free: 32.47 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001649/0.4681, allocations: 188.3 kB / 477.3 MB, free: 32.23 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.88/2.348, allocations: 0 / 477.3 MB, free: 32.23 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearColdWater.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearColdWater_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_LinearColdWater_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_LinearColdWater.fmu > ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearColdWater_res.mat does not exist to compare? outputFormat=mat