Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_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_cpp_ModelicaTest_Media_TestAllProperties_LinearColdWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.LinearColdWater,fileNamePrefix="ModelicaTest_3_2_3_cpp_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.002314/0.002314, allocations: 181.3 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.103/2.103, allocations: 205.2 MB / 219.4 MB, free: 14.21 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.001086/0.001086, allocations: 98.62 kB / 267.5 MB, free: 14.04 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2879/0.2879, allocations: 43.49 MB / 359.1 MB, free: 12.25 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.497e-05/3.507e-05, allocations: 4 kB / 425.4 MB, free: 23.28 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1257/0.1258, allocations: 58.87 MB / 484.2 MB, free: 12.37 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.314/1.44, allocations: 375.1 MB / 0.8392 GB, free: 49.25 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003021/1.441, allocations: 68.62 kB / 0.8393 GB, free: 49.22 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.07053/1.511, allocations: 18.84 MB / 0.8577 GB, free: 33.58 MB / 0.4948 GB Notification: Performance of FrontEnd: time 3.026e-06/1.511, allocations: 3.938 kB / 0.8577 GB, free: 33.58 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.593e-05/1.511, allocations: 7.938 kB / 0.8577 GB, free: 33.57 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.001329/1.513, allocations: 0.5676 MB / 0.8583 GB, free: 32.98 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.04e-05/1.513, allocations: 8.031 kB / 0.8583 GB, free: 32.97 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.917e-05/1.513, allocations: 61.03 kB / 0.8583 GB, free: 32.91 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001838/1.513, allocations: 23.81 kB / 0.8584 GB, free: 32.89 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003022/1.513, allocations: 233.4 kB / 0.8586 GB, free: 32.63 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001288/1.513, allocations: 122.6 kB / 0.8587 GB, free: 32.5 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.909e-05/1.513, allocations: 23.25 kB / 0.8587 GB, free: 32.48 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000596/1.514, allocations: 312.1 kB / 0.859 GB, free: 32.23 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.693e-05/1.514, allocations: 3.938 kB / 0.859 GB, free: 32.22 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.089e-05/1.514, allocations: 11.12 kB / 0.859 GB, free: 32.22 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.909e-05/1.514, allocations: 4 kB / 0.859 GB, free: 32.21 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001014/1.515, allocations: 0.7329 MB / 0.8598 GB, free: 31.59 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001724/1.517, allocations: 1.222 MB / 0.8609 GB, free: 30.43 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004506/1.517, allocations: 159.3 kB / 0.8611 GB, free: 30.3 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001812/1.518, allocations: 86.5 kB / 0.8612 GB, free: 30.24 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003357/1.521, allocations: 3.006 MB / 0.8641 GB, free: 26.84 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.797e-05/1.521, allocations: 38.38 kB / 0.8642 GB, free: 26.79 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=13): time 2.315e-06/1.521, allocations: 0 / 0.8642 GB, free: 26.79 MB / 0.4948 GB Notification: Performance of matching and sorting (n=13): time 0.0003757/1.521, allocations: 103.5 kB / 0.8643 GB, free: 26.7 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.961e-05/1.521, allocations: 59.34 kB / 0.8643 GB, free: 26.62 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002063/1.522, allocations: 194.9 kB / 0.8645 GB, free: 26.45 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.241e-05/1.522, allocations: 25.7 kB / 0.8645 GB, free: 26.42 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001285/1.522, allocations: 279.5 kB / 0.8648 GB, free: 26.16 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 4.201e-05/1.522, allocations: 53.91 kB / 0.8648 GB, free: 26.11 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.842e-05/1.522, allocations: 11.44 kB / 0.8648 GB, free: 26.11 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 7.755e-05/1.522, allocations: 326.3 kB / 0.8652 GB, free: 25.79 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001156/1.522, allocations: 40 kB / 0.8652 GB, free: 25.75 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002589/1.522, allocations: 339 kB / 0.8655 GB, free: 25.31 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002084/1.523, allocations: 94.14 kB / 0.8656 GB, free: 25.23 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.754e-06/1.523, allocations: 8 kB / 0.8656 GB, free: 25.22 MB / 0.4948 GB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0007438/1.523, allocations: 369.3 kB / 0.866 GB, free: 24.9 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.524e-05/1.523, allocations: 20.16 kB / 0.866 GB, free: 24.88 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.579e-05/1.524, allocations: 8 kB / 0.866 GB, free: 24.87 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.512e-05/1.524, allocations: 16 kB / 0.866 GB, free: 24.86 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004843/1.524, allocations: 95.7 kB / 0.8661 GB, free: 24.77 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.649e-05/1.524, allocations: 27.83 kB / 0.8661 GB, free: 24.74 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004344/1.525, allocations: 58.61 kB / 0.8662 GB, free: 24.69 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.208e-05/1.525, allocations: 20 kB / 0.8662 GB, free: 24.67 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 0.0001125/1.525, allocations: 139.2 kB / 0.8663 GB, free: 24.54 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.028e-05/1.525, allocations: 23.81 kB / 0.8664 GB, free: 24.52 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004856/1.525, allocations: 159.1 kB / 0.8665 GB, free: 24.36 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.729e-05/1.525, allocations: 8 kB / 0.8665 GB, free: 24.35 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/1.525, allocations: 0 / 0.8665 GB, free: 24.35 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.013e-06/1.525, allocations: 3.953 kB / 0.8665 GB, free: 24.35 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006296/1.526, allocations: 428.8 kB / 0.8669 GB, free: 23.9 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.501e-06/1.526, allocations: 4 kB / 0.8669 GB, free: 23.89 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001227/1.526, allocations: 19.92 kB / 0.867 GB, free: 23.88 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.997e-06/1.526, allocations: 3.953 kB / 0.867 GB, free: 23.87 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.664e-05/1.526, allocations: 7.75 kB / 0.867 GB, free: 23.87 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.429e-06/1.526, allocations: 0 / 0.867 GB, free: 23.87 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.667e-06/1.526, allocations: 4 kB / 0.867 GB, free: 23.86 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002394/1.526, allocations: 259.6 kB / 0.8672 GB, free: 23.57 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 9.933e-05/1.527, allocations: 112.3 kB / 0.8673 GB, free: 23.45 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.988e-05/1.527, allocations: 4 kB / 0.8673 GB, free: 23.45 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002331/1.527, allocations: 19.67 kB / 0.8673 GB, free: 23.43 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.695e-05/1.527, allocations: 11.89 kB / 0.8674 GB, free: 23.42 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.66e-05/1.527, allocations: 4 kB / 0.8674 GB, free: 23.41 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0001466/1.527, allocations: 146.9 kB / 0.8675 GB, free: 23.29 MB / 0.4948 GB Notification: Performance of sort global known variables: time 4.11e-07/1.527, allocations: 0 / 0.8675 GB, free: 23.29 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0007128/1.528, allocations: 98.92 kB / 0.8676 GB, free: 23.2 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.0007196/1.529, allocations: 1.131 MB / 0.8687 GB, free: 22.04 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0004298/1.529, allocations: 163.7 kB / 0.8689 GB, free: 21.9 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/1.529, allocations: 4.125 kB / 0.8689 GB, free: 21.9 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 6.228e-05/1.529, allocations: 27.5 kB / 0.8689 GB, free: 21.88 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004925/1.53, allocations: 41.05 kB / 0.8689 GB, free: 21.85 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01654/1.546, allocations: 4.894 MB / 0.8737 GB, free: 17.67 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001925/1.546, allocations: 0.7326 MB / 0.8744 GB, free: 16.91 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001181/1.547, allocations: 67.41 kB / 0.8745 GB, free: 16.85 MB / 0.4948 GB Notification: Performance of SimCode: time 1.213e-06/1.547, allocations: 0 / 0.8745 GB, free: 16.85 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.701/4.247, allocations: 4.03 MB / 0.8784 GB, free: 12.82 MB / 0.4948 GB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.LinearColdWater.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.LinearColdWater_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Media_TestAllProperties_LinearColdWater_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Media_TestAllProperties_LinearColdWater.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.LinearColdWater_res.mat does not exist to compare? outputFormat=mat