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/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/Complex 3.2.3+maint.om/package.mo): time 0.001737/0.001737, allocations: 181.4 kB / 13.19 MB, free: 2.121 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.655/1.655, allocations: 205.2 MB / 218.9 MB, free: 9.199 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008218/0.0008218, allocations: 88.62 kB / 267.1 MB, free: 9.266 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4141/0.4141, allocations: 43.47 MB / 358.6 MB, free: 51.63 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 4.249e-05/4.261e-05, allocations: 3.984 kB / 425.4 MB, free: 8.102 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1559/0.1559, allocations: 58.84 MB / 484.2 MB, free: 13.15 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.102/1.258, allocations: 375.2 MB / 0.8393 GB, free: 35.25 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003014/1.258, allocations: 64.59 kB / 0.8393 GB, free: 35.21 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.04173/1.3, allocations: 18.85 MB / 0.8577 GB, free: 19.62 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.094e-06/1.3, allocations: 0 / 0.8577 GB, free: 19.62 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.458e-05/1.3, allocations: 8 kB / 0.8577 GB, free: 19.62 MB / 0.4948 GB 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.0009801/1.301, allocations: 0.5662 MB / 0.8583 GB, free: 19.03 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.176e-05/1.301, allocations: 11.97 kB / 0.8583 GB, free: 19.02 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.782e-05/1.301, allocations: 57.11 kB / 0.8584 GB, free: 18.96 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001307/1.301, allocations: 27.08 kB / 0.8584 GB, free: 18.94 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002321/1.301, allocations: 225.7 kB / 0.8586 GB, free: 18.69 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001119/1.301, allocations: 126.9 kB / 0.8587 GB, free: 18.55 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.243e-05/1.301, allocations: 23.5 kB / 0.8587 GB, free: 18.54 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004258/1.302, allocations: 314.4 kB / 0.859 GB, free: 18.28 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.296e-05/1.302, allocations: 1.547 kB / 0.859 GB, free: 18.28 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.666e-05/1.302, allocations: 15.31 kB / 0.8591 GB, free: 18.27 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.099e-05/1.302, allocations: 4 kB / 0.8591 GB, free: 18.27 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005965/1.303, allocations: 0.7298 MB / 0.8598 GB, free: 17.64 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001077/1.304, allocations: 1.223 MB / 0.861 GB, free: 16.48 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002831/1.304, allocations: 159 kB / 0.8611 GB, free: 16.36 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001044/1.304, allocations: 83.44 kB / 0.8612 GB, free: 16.3 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002065/1.306, allocations: 3.017 MB / 0.8641 GB, free: 12.88 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.966e-05/1.306, allocations: 34.56 kB / 0.8642 GB, free: 12.84 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=13): time 2.224e-06/1.306, allocations: 0 / 0.8642 GB, free: 12.84 MB / 0.4948 GB Notification: Performance of matching and sorting (n=13): time 0.0002465/1.306, allocations: 109.7 kB / 0.8643 GB, free: 12.74 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.248e-05/1.306, allocations: 55.41 kB / 0.8643 GB, free: 12.67 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001473/1.307, allocations: 190.9 kB / 0.8645 GB, free: 12.5 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.638e-05/1.307, allocations: 25.7 kB / 0.8645 GB, free: 12.47 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 8.538e-05/1.307, allocations: 209.1 kB / 0.8647 GB, free: 12.28 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 3.098e-05/1.307, allocations: 54.91 kB / 0.8648 GB, free: 12.23 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.26e-05/1.307, allocations: 11.06 kB / 0.8648 GB, free: 12.23 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 7.368e-05/1.307, allocations: 329.8 kB / 0.8651 GB, free: 11.9 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.772e-05/1.307, allocations: 43.44 kB / 0.8652 GB, free: 11.87 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001911/1.307, allocations: 334.7 kB / 0.8655 GB, free: 11.43 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001263/1.307, allocations: 98.88 kB / 0.8656 GB, free: 11.34 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.13e-06/1.307, allocations: 4 kB / 0.8656 GB, free: 11.34 MB / 0.4948 GB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0004493/1.308, allocations: 371.4 kB / 0.8659 GB, free: 11.01 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.902e-05/1.308, allocations: 8 kB / 0.8659 GB, free: 11 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.096e-05/1.308, allocations: 12 kB / 0.866 GB, free: 10.99 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.468e-05/1.308, allocations: 12 kB / 0.866 GB, free: 10.98 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002193/1.308, allocations: 104.1 kB / 0.8661 GB, free: 10.88 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.683e-05/1.308, allocations: 19.89 kB / 0.8661 GB, free: 10.86 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002132/1.308, allocations: 55.25 kB / 0.8661 GB, free: 10.81 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.103e-05/1.308, allocations: 31.36 kB / 0.8662 GB, free: 10.79 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete 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 7.93e-05/1.308, allocations: 145.2 kB / 0.8663 GB, free: 10.65 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.761e-05/1.308, allocations: 19.25 kB / 0.8663 GB, free: 10.63 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002924/1.309, allocations: 155.2 kB / 0.8665 GB, free: 10.48 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.095e-05/1.309, allocations: 3.984 kB / 0.8665 GB, free: 10.48 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.51e-06/1.309, allocations: 7.984 kB / 0.8665 GB, free: 10.47 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.3e-06/1.309, allocations: 3.953 kB / 0.8665 GB, free: 10.47 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003644/1.309, allocations: 433.3 kB / 0.8669 GB, free: 10.02 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/1.309, allocations: 0 / 0.8669 GB, free: 10.02 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.891e-05/1.309, allocations: 12 kB / 0.8669 GB, free: 10 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.348e-06/1.309, allocations: 11.94 kB / 0.8669 GB, free: 9.992 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.748e-06/1.309, allocations: 7.562 kB / 0.8669 GB, free: 9.988 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.565e-06/1.309, allocations: 4 kB / 0.8669 GB, free: 9.984 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/1.309, allocations: 3.984 kB / 0.8669 GB, free: 9.98 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001674/1.309, allocations: 259.6 kB / 0.8672 GB, free: 9.688 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 6.483e-05/1.31, allocations: 112.1 kB / 0.8673 GB, free: 9.566 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.982e-05/1.31, allocations: 4 kB / 0.8673 GB, free: 9.562 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001602/1.31, allocations: 4 kB / 0.8673 GB, free: 9.559 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.714e-05/1.31, allocations: 19.75 kB / 0.8673 GB, free: 9.543 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.548e-06/1.31, allocations: 4 kB / 0.8673 GB, free: 9.539 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 9.522e-05/1.31, allocations: 154.9 kB / 0.8675 GB, free: 9.406 MB / 0.4948 GB Notification: Performance of sort global known variables: time 3e-07/1.31, allocations: 0 / 0.8675 GB, free: 9.406 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0004748/1.31, allocations: 103 kB / 0.8676 GB, free: 9.316 MB / 0.4948 GB 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 9 * 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.0005239/1.311, allocations: 1.112 MB / 0.8687 GB, free: 8.168 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0002547/1.311, allocations: 168 kB / 0.8688 GB, free: 8.027 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/1.311, allocations: 0 / 0.8688 GB, free: 8.027 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 3.446e-05/1.311, allocations: 35.73 kB / 0.8688 GB, free: 7.996 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003242/1.312, allocations: 46.58 kB / 0.8689 GB, free: 7.965 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01053/1.322, allocations: 4.858 MB / 0.8736 GB, free: 4.078 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001835/1.322, allocations: 0.7287 MB / 0.8743 GB, free: 3.324 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0002501/1.323, allocations: 61.84 kB / 0.8744 GB, free: 3.266 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.964e-05/1.323, allocations: 52.67 kB / 0.8745 GB, free: 3.246 MB / 0.4948 GB Notification: Performance of SimCode: time 2.665e-06/1.323, allocations: 0 / 0.8745 GB, free: 3.246 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3076/1.63, allocations: 4.706 MB / 0.8791 GB, free: 150.9 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001724/1.631, allocations: 162.7 kB / 0.8792 GB, free: 150.7 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.908/3.539, allocations: 0 / 0.8792 GB, free: 150.7 MB / 0.4948 GB (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) 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