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.0008363/0.0008363, allocations: 96.78 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.0009289/0.0009287, allocations: 172.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.505/1.505, allocations: 205.4 MB / 222.8 MB, free: 5.621 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.3825/0.3825, allocations: 43.56 MB / 314.6 MB, free: 9.07 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.0007221/0.0007222, allocations: 15.98 kB / 384 MB, free: 8.148 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1337/0.1345, allocations: 58.85 MB / 442.9 MB, free: 13.2 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.LinearColdWater): time 0.005/0.1395, allocations: 4.058 MB / 446.9 MB, free: 9.113 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.004255/0.1438, allocations: 3.717 MB / 450.6 MB, free: 5.387 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001947/0.144, allocations: 3.938 kB / 450.6 MB, free: 5.383 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003307/0.1444, allocations: 35.78 kB / 450.7 MB, free: 5.348 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001944/0.1463, allocations: 0.575 MB / 451.3 MB, free: 4.77 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004195/0.1468, allocations: 119.8 kB / 451.4 MB, free: 4.652 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006494/0.1474, allocations: 394.1 kB / 451.8 MB, free: 4.266 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.631e-05/0.1475, allocations: 17.67 kB / 451.8 MB, free: 4.246 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002912/0.1478, allocations: 131.5 kB / 451.9 MB, free: 4.117 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003428/0.1482, allocations: 155.4 kB / 452.1 MB, free: 3.965 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.306e-05/0.1482, allocations: 4 kB / 452.1 MB, free: 3.961 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001001/0.1492, allocations: 323.6 kB / 452.4 MB, free: 3.645 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000103/0.1493, allocations: 43.81 kB / 452.4 MB, free: 3.602 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9.853e-05/0.1494, allocations: 69.58 kB / 452.5 MB, free: 3.527 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006712/0.1501, allocations: 291.6 kB / 452.8 MB, free: 3.242 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.526e-06/0.1501, allocations: 0 / 452.8 MB, free: 3.242 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.116e-06/0.1502, allocations: 0 / 452.8 MB, free: 3.242 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.138e-06/0.1502, allocations: 0 / 452.8 MB, free: 3.242 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.001413/0.1516, allocations: 0.55 MB / 453.3 MB, free: 2.645 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.418e-05/0.1517, allocations: 12.03 kB / 453.3 MB, free: 2.633 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001094/0.1518, allocations: 58.55 kB / 453.4 MB, free: 2.566 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001822/0.152, allocations: 27.72 kB / 453.4 MB, free: 2.539 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004319/0.1524, allocations: 222.8 kB / 453.6 MB, free: 2.281 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001986/0.1526, allocations: 123.4 kB / 453.8 MB, free: 2.137 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.916e-05/0.1527, allocations: 16 kB / 453.8 MB, free: 2.121 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006406/0.1533, allocations: 327.7 kB / 454.1 MB, free: 1.77 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.502e-05/0.1534, allocations: 3.938 kB / 454.1 MB, free: 1.766 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.098e-05/0.1534, allocations: 15.94 kB / 454.1 MB, free: 1.75 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.428e-05/0.1534, allocations: 7.984 kB / 454.1 MB, free: 1.742 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009093/0.1544, allocations: 0.7352 MB / 454.9 MB, free: 1.008 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.2542/0.4086, allocations: 1.308 MB / 456.2 MB, free: 46.2 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004427/0.4091, allocations: 155.6 kB / 456.3 MB, free: 46.17 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001322/0.4092, allocations: 87.97 kB / 456.4 MB, free: 46.16 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002151/0.4114, allocations: 2.812 MB / 459.2 MB, free: 43.32 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.521e-05/0.4114, allocations: 38.53 kB / 459.3 MB, free: 43.28 MB / 382.1 MB Notification: Performance of pre-optimization done (n=11): time 1.963e-06/0.4114, allocations: 0 / 459.3 MB, free: 43.28 MB / 382.1 MB Notification: Performance of matching and sorting (n=11): time 0.0003496/0.4118, allocations: 112.9 kB / 459.4 MB, free: 43.24 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.562e-05/0.4118, allocations: 54.59 kB / 459.4 MB, free: 43.18 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001806/0.412, allocations: 226 kB / 459.6 MB, free: 43.07 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.732e-05/0.4121, allocations: 28.27 kB / 459.7 MB, free: 43.04 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000102/0.4122, allocations: 218.3 kB / 459.9 MB, free: 42.86 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.877e-05/0.4122, allocations: 45.64 kB / 459.9 MB, free: 42.84 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.307e-05/0.4122, allocations: 9.781 kB / 459.9 MB, free: 42.84 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.221e-05/0.4123, allocations: 328.1 kB / 460.3 MB, free: 42.52 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.913e-05/0.4124, allocations: 45.02 kB / 460.3 MB, free: 42.52 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001721/0.4126, allocations: 343.8 kB / 460.6 MB, free: 42.15 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001346/0.4127, allocations: 99.86 kB / 460.7 MB, free: 42.15 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.608e-06/0.4127, allocations: 5.656 kB / 460.7 MB, free: 42.15 MB / 382.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0004388/0.4132, allocations: 382.1 kB / 461.1 MB, free: 42.07 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.211e-05/0.4132, allocations: 8.469 kB / 461.1 MB, free: 42.07 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.217e-05/0.4132, allocations: 12.98 kB / 461.1 MB, free: 42.07 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.743e-05/0.4132, allocations: 14.75 kB / 461.1 MB, free: 42.07 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002067/0.4134, allocations: 102.6 kB / 461.2 MB, free: 42.05 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.833e-05/0.4135, allocations: 18.61 kB / 461.3 MB, free: 42.05 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002136/0.4137, allocations: 52.25 kB / 461.3 MB, free: 42.03 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.346e-05/0.4137, allocations: 31.89 kB / 461.3 MB, free: 42.03 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 48 * 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.346e-05/0.4138, allocations: 148.9 kB / 461.5 MB, free: 41.9 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.778e-05/0.4139, allocations: 29.34 kB / 461.5 MB, free: 41.88 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002577/0.4141, allocations: 143.5 kB / 461.7 MB, free: 41.82 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.182e-05/0.4142, allocations: 5.75 kB / 461.7 MB, free: 41.82 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.887e-06/0.4142, allocations: 3.422 kB / 461.7 MB, free: 41.82 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.448e-06/0.4142, allocations: 2.188 kB / 461.7 MB, free: 41.82 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003685/0.4146, allocations: 412.9 kB / 462.1 MB, free: 41.48 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/0.4146, allocations: 0 / 462.1 MB, free: 41.48 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.239e-05/0.4146, allocations: 14.5 kB / 462.1 MB, free: 41.48 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.056e-06/0.4146, allocations: 3.469 kB / 462.1 MB, free: 41.48 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.336e-06/0.4147, allocations: 0.6562 kB / 462.1 MB, free: 41.48 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.136e-06/0.4147, allocations: 10.11 kB / 462.1 MB, free: 41.48 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.4147, allocations: 0 / 462.1 MB, free: 41.48 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001319/0.4148, allocations: 204.8 kB / 462.3 MB, free: 41.3 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.889e-05/0.4149, allocations: 112.3 kB / 462.4 MB, free: 41.19 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.069e-05/0.4149, allocations: 2.781 kB / 462.4 MB, free: 41.19 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001337/0.415, allocations: 9.078 kB / 462.4 MB, free: 41.19 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.59e-05/0.4151, allocations: 6.781 kB / 462.4 MB, free: 41.19 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.096e-05/0.4151, allocations: 11.81 kB / 462.4 MB, free: 41.19 MB / 382.1 MB Notification: Performance of sorting global known variables: time 9.571e-05/0.4152, allocations: 153.5 kB / 462.6 MB, free: 41.11 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.4152, allocations: 0 / 462.6 MB, free: 41.11 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004547/0.4157, allocations: 85.91 kB / 462.7 MB, free: 41.11 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (9): * Single equations (assignments): 8 * 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.0003949/0.4161, allocations: 0.7946 MB / 463.5 MB, free: 40.4 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002419/0.4163, allocations: 168.5 kB / 463.6 MB, free: 40.37 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.267e-06/0.4163, allocations: 0 / 463.6 MB, free: 40.37 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 3.243e-05/0.4164, allocations: 35.52 kB / 463.7 MB, free: 40.36 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004063/0.4168, allocations: 41.8 kB / 463.7 MB, free: 40.36 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001586/0.4184, allocations: 1.445 MB / 465.2 MB, free: 39.4 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001699/0.4186, allocations: 0.7242 MB / 465.9 MB, free: 38.71 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002064/0.4188, allocations: 50.34 kB / 465.9 MB, free: 38.69 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.089e-05/0.4188, allocations: 62.06 kB / 466 MB, free: 38.68 MB / 382.1 MB Notification: Performance of SimCode: time 3.2e-07/0.4189, allocations: 0 / 466 MB, free: 38.68 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02271/0.4416, allocations: 4.721 MB / 470.7 MB, free: 38.16 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002033/0.4418, allocations: 190.7 kB / 470.9 MB, free: 37.92 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.847/2.289, allocations: 0 / 470.9 MB, free: 37.92 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