Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4_0_0_ModelicaTest_Media_TestAllProperties_LinearColdWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.LinearColdWater,fileNamePrefix="ModelicaTest_4_0_0_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.0009389/0.0009392, allocations: 95.5 kB / 17 MB, free: 6.418 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009992/0.0009993, allocations: 189.4 kB / 17.89 MB, free: 5.945 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.427/1.427, allocations: 223.2 MB / 241.9 MB, free: 316 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2315/0.2315, allocations: 44.22 MB / 337.2 MB, free: 2.797 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003172/0.0003172, allocations: 4 kB / 409.7 MB, free: 27.6 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1294/0.1297, allocations: 61.92 MB / 471.6 MB, free: 13.65 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.LinearColdWater): time 0.004698/0.1344, allocations: 4.034 MB / 475.7 MB, free: 9.59 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004145/0.1386, allocations: 3.717 MB / 479.4 MB, free: 5.859 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001121/0.1387, allocations: 4 kB / 479.4 MB, free: 5.855 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002128/0.139, allocations: 35.73 kB / 479.4 MB, free: 5.82 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001405/0.1404, allocations: 0.5711 MB / 480 MB, free: 5.246 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003282/0.1407, allocations: 126 kB / 480.1 MB, free: 5.125 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005152/0.1412, allocations: 386.1 kB / 480.5 MB, free: 4.746 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.979e-05/0.1413, allocations: 9.688 kB / 480.5 MB, free: 4.738 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001945/0.1415, allocations: 147.5 kB / 480.7 MB, free: 4.594 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002248/0.1417, allocations: 151.4 kB / 480.8 MB, free: 4.445 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.59e-05/0.1418, allocations: 4 kB / 480.8 MB, free: 4.441 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008115/0.1426, allocations: 323.6 kB / 481.1 MB, free: 4.125 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.441e-05/0.1427, allocations: 43.81 kB / 481.2 MB, free: 4.082 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.752e-05/0.1428, allocations: 65.58 kB / 481.2 MB, free: 4.012 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004099/0.1432, allocations: 295.6 kB / 481.5 MB, free: 3.723 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.91e-06/0.1432, allocations: 0 / 481.5 MB, free: 3.723 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.1432, allocations: 0 / 481.5 MB, free: 3.723 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.228e-06/0.1432, allocations: 0 / 481.5 MB, free: 3.723 MB / 350.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.001023/0.1442, allocations: 0.5461 MB / 482.1 MB, free: 3.129 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.345e-05/0.1443, allocations: 12.03 kB / 482.1 MB, free: 3.117 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001042/0.1444, allocations: 58.55 kB / 482.1 MB, free: 3.051 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000131/0.1445, allocations: 23.81 kB / 482.2 MB, free: 3.027 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002551/0.1448, allocations: 226.7 kB / 482.4 MB, free: 2.766 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001292/0.1449, allocations: 123.4 kB / 482.5 MB, free: 2.617 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.815e-05/0.145, allocations: 20 kB / 482.5 MB, free: 2.598 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004957/0.1455, allocations: 327.7 kB / 482.8 MB, free: 2.25 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.179e-05/0.1455, allocations: 3.938 kB / 482.8 MB, free: 2.246 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.609e-05/0.1455, allocations: 8 kB / 482.9 MB, free: 2.238 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.838e-05/0.1456, allocations: 7.984 kB / 482.9 MB, free: 2.23 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007689/0.1463, allocations: 0.7313 MB / 483.6 MB, free: 1.5 MB / 350.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.001325/0.1477, allocations: 1.312 MB / 484.9 MB, free: 68 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00035/0.148, allocations: 167.6 kB / 485.1 MB, free: 15.89 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001464/0.1482, allocations: 81.48 kB / 485.1 MB, free: 15.81 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00262/0.1508, allocations: 2.814 MB / 488 MB, free: 12.47 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.761e-05/0.1508, allocations: 30.56 kB / 488 MB, free: 12.43 MB / 366.1 MB Notification: Performance of pre-optimization done (n=11): time 3.236e-06/0.1509, allocations: 0 / 488 MB, free: 12.43 MB / 366.1 MB Notification: Performance of matching and sorting (n=11): time 0.0003914/0.1513, allocations: 121.4 kB / 488.1 MB, free: 12.3 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.47e-05/0.1513, allocations: 51.41 kB / 488.2 MB, free: 12.24 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002169/0.1515, allocations: 223.8 kB / 488.4 MB, free: 12.02 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.354e-05/0.1516, allocations: 29.7 kB / 488.4 MB, free: 11.98 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001377/0.1517, allocations: 218.6 kB / 488.6 MB, free: 11.76 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.671e-05/0.1518, allocations: 51.33 kB / 488.7 MB, free: 11.71 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.043e-05/0.1518, allocations: 7.938 kB / 488.7 MB, free: 11.7 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001385/0.1519, allocations: 330.8 kB / 489 MB, free: 11.37 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.751e-05/0.152, allocations: 44.83 kB / 489 MB, free: 11.33 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003824/0.1524, allocations: 347.2 kB / 489.4 MB, free: 10.84 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001662/0.1526, allocations: 103.9 kB / 489.5 MB, free: 10.74 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.897e-06/0.1526, allocations: 0 / 489.5 MB, free: 10.74 MB / 366.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0005663/0.1531, allocations: 381.4 kB / 489.9 MB, free: 10.36 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.477e-05/0.1532, allocations: 12 kB / 489.9 MB, free: 10.35 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.418e-05/0.1532, allocations: 8 kB / 489.9 MB, free: 10.34 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.569e-05/0.1532, allocations: 16 kB / 489.9 MB, free: 10.32 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002831/0.1535, allocations: 99.78 kB / 490 MB, free: 10.23 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.591e-05/0.1536, allocations: 19.94 kB / 490 MB, free: 10.21 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003016/0.1539, allocations: 55.84 kB / 490.1 MB, free: 10.15 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.72e-05/0.1539, allocations: 39.92 kB / 490.1 MB, free: 10.11 MB / 366.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 0.0001285/0.1541, allocations: 154.1 kB / 490.3 MB, free: 9.953 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.043e-05/0.1541, allocations: 15.81 kB / 490.3 MB, free: 9.938 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002809/0.1544, allocations: 144.5 kB / 490.4 MB, free: 9.785 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.012e-05/0.1544, allocations: 0 / 490.4 MB, free: 9.785 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.326e-06/0.1544, allocations: 7.953 kB / 490.4 MB, free: 9.777 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.486e-06/0.1544, allocations: 0 / 490.4 MB, free: 9.777 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004487/0.1549, allocations: 404.9 kB / 490.8 MB, free: 9.316 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.088e-06/0.1549, allocations: 4 kB / 490.8 MB, free: 9.312 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.789e-05/0.155, allocations: 15.92 kB / 490.8 MB, free: 9.297 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.632e-06/0.155, allocations: 7.953 kB / 490.8 MB, free: 9.289 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.937e-06/0.155, allocations: 0 / 490.8 MB, free: 9.289 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.301e-06/0.155, allocations: 4 kB / 490.8 MB, free: 9.285 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.155, allocations: 0 / 490.8 MB, free: 9.285 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001878/0.1552, allocations: 201.8 kB / 491 MB, free: 9.062 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001116/0.1553, allocations: 104.9 kB / 491.1 MB, free: 8.941 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.779e-05/0.1554, allocations: 11.95 kB / 491.2 MB, free: 8.93 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001368/0.1555, allocations: 0 / 491.2 MB, free: 8.93 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.264e-05/0.1555, allocations: 7.984 kB / 491.2 MB, free: 8.922 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.257e-05/0.1556, allocations: 4 kB / 491.2 MB, free: 8.918 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002195/0.1558, allocations: 160.5 kB / 491.3 MB, free: 8.766 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1558, allocations: 0 / 491.3 MB, free: 8.766 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000514/0.1563, allocations: 91.94 kB / 491.4 MB, free: 8.676 MB / 366.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.000682/0.157, allocations: 0.8006 MB / 492.2 MB, free: 7.836 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000305/0.1573, allocations: 166.4 kB / 492.4 MB, free: 7.676 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.1573, allocations: 4.062 kB / 492.4 MB, free: 7.672 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 3.448e-05/0.1574, allocations: 19.94 kB / 492.4 MB, free: 7.652 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004391/0.1578, allocations: 38.64 kB / 492.4 MB, free: 7.613 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002333/0.1601, allocations: 1.455 MB / 493.9 MB, free: 5.957 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003583/0.1605, allocations: 0.7326 MB / 494.6 MB, free: 5.199 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000236/0.1608, allocations: 58.91 kB / 494.7 MB, free: 5.141 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.534e-05/0.1609, allocations: 59.86 kB / 494.7 MB, free: 5.082 MB / 366.1 MB Notification: Performance of SimCode: time 5.51e-07/0.1609, allocations: 0 / 494.7 MB, free: 5.082 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01701/0.1779, allocations: 4.714 MB / 499.5 MB, free: 0.5234 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001793/0.1781, allocations: 199.1 kB / 499.6 MB, free: 284 kB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.907/2.085, allocations: 0 / 499.6 MB, free: 284 kB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearColdWater.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearColdWater_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_LinearColdWater_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_LinearColdWater.fmu > ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearColdWater_res.mat does not exist to compare? outputFormat=mat