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/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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001115/0.001115, allocations: 177 kB / 17.06 MB, free: 5.094 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.573/1.573, allocations: 223.2 MB / 241 MB, free: 11.88 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001013/0.001013, allocations: 93.09 kB / 292.1 MB, free: 10.91 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.41/0.41, allocations: 44.21 MB / 387.5 MB, free: 38.78 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003529/0.0003532, allocations: 8 kB / 460 MB, free: 1.422 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4527/0.4531, allocations: 61.9 MB / 0.5096 GB, free: 37.84 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.746/1.199, allocations: 378.1 MB / 0.8789 GB, free: 1.707 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002973/1.199, allocations: 76.23 kB / 0.879 GB, free: 1.668 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.3856/1.585, allocations: 19.37 MB / 0.8979 GB, free: 189.2 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.425e-06/1.585, allocations: 0 / 0.8979 GB, free: 189.2 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 3.03e-05/1.585, allocations: 2.562 kB / 0.8979 GB, free: 189.2 MB / 0.5261 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.0009891/1.586, allocations: 0.5705 MB / 0.8985 GB, free: 188.7 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.361e-05/1.586, allocations: 11.72 kB / 0.8985 GB, free: 188.7 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.439e-05/1.586, allocations: 57.55 kB / 0.8985 GB, free: 188.6 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001294/1.586, allocations: 31.91 kB / 0.8986 GB, free: 188.6 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002363/1.587, allocations: 223.7 kB / 0.8988 GB, free: 188.4 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001207/1.587, allocations: 126.4 kB / 0.8989 GB, free: 188.3 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.435e-05/1.587, allocations: 21.66 kB / 0.8989 GB, free: 188.3 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005247/1.587, allocations: 325.2 kB / 0.8992 GB, free: 188.1 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.504e-05/1.587, allocations: 3.938 kB / 0.8992 GB, free: 188.1 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.156e-05/1.587, allocations: 12.84 kB / 0.8992 GB, free: 188.1 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.317e-05/1.587, allocations: 5.562 kB / 0.8992 GB, free: 188.1 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009081/1.588, allocations: 0.7305 MB / 0.9 GB, free: 187.9 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001438/1.59, allocations: 1.218 MB / 0.9011 GB, free: 186.9 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003074/1.59, allocations: 165.1 kB / 0.9013 GB, free: 186.9 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002152/1.592, allocations: 2.785 MB / 0.904 GB, free: 184 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.082e-05/1.592, allocations: 34.33 kB / 0.9041 GB, free: 183.9 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=13): time 1.252e-06/1.592, allocations: 0 / 0.9041 GB, free: 183.9 MB / 0.5261 GB Notification: Performance of matching and sorting (n=13): time 0.0002965/1.593, allocations: 138 kB / 0.9042 GB, free: 183.8 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.933e-05/1.593, allocations: 54.28 kB / 0.9042 GB, free: 183.8 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001614/1.593, allocations: 188.2 kB / 0.9044 GB, free: 183.7 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.71e-05/1.593, allocations: 33.52 kB / 0.9044 GB, free: 183.6 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 8.396e-05/1.593, allocations: 214.8 kB / 0.9047 GB, free: 183.4 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.826e-05/1.593, allocations: 48.08 kB / 0.9047 GB, free: 183.4 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.043e-05/1.593, allocations: 11.94 kB / 0.9047 GB, free: 183.4 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 8.001e-05/1.593, allocations: 330.8 kB / 0.905 GB, free: 183.1 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.27e-05/1.593, allocations: 46.36 kB / 0.9051 GB, free: 183.1 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001949/1.593, allocations: 333.4 kB / 0.9054 GB, free: 182.6 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001344/1.594, allocations: 104.5 kB / 0.9055 GB, free: 182.6 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.881e-06/1.594, allocations: 3.094 kB / 0.9055 GB, free: 182.6 MB / 0.5261 GB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0005288/1.594, allocations: 366.4 kB / 0.9058 GB, free: 182.4 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 3.278e-05/1.594, allocations: 11.31 kB / 0.9059 GB, free: 182.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.517e-05/1.594, allocations: 10.19 kB / 0.9059 GB, free: 182.4 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.003e-05/1.594, allocations: 17.38 kB / 0.9059 GB, free: 182.4 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002444/1.594, allocations: 96.77 kB / 0.906 GB, free: 182.4 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.418e-05/1.594, allocations: 20.7 kB / 0.906 GB, free: 182.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002288/1.595, allocations: 58.88 kB / 0.906 GB, free: 182.4 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.299e-05/1.595, allocations: 32.23 kB / 0.9061 GB, free: 182.4 MB / 0.5261 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 () * 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.0001068/1.595, allocations: 154.1 kB / 0.9062 GB, free: 182.2 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.794e-05/1.595, allocations: 16.41 kB / 0.9062 GB, free: 182.2 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003113/1.595, allocations: 167 kB / 0.9064 GB, free: 182.1 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.779e-06/1.595, allocations: 0.9375 kB / 0.9064 GB, free: 182.1 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.654e-06/1.595, allocations: 6.656 kB / 0.9064 GB, free: 182.1 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.01e-06/1.595, allocations: 5.031 kB / 0.9064 GB, free: 182.1 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004356/1.596, allocations: 435.2 kB / 0.9068 GB, free: 181.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-06/1.596, allocations: 2.625 kB / 0.9068 GB, free: 181.7 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.624e-05/1.596, allocations: 10.38 kB / 0.9068 GB, free: 181.7 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.795e-06/1.596, allocations: 6.875 kB / 0.9068 GB, free: 181.7 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.306e-05/1.596, allocations: 3.75 kB / 0.9068 GB, free: 181.7 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/1.596, allocations: 4.125 kB / 0.9069 GB, free: 181.7 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/1.596, allocations: 3.781 kB / 0.9069 GB, free: 181.7 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001873/1.596, allocations: 262.4 kB / 0.9071 GB, free: 181.4 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 9.322e-05/1.596, allocations: 118.5 kB / 0.9072 GB, free: 181.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.126e-05/1.596, allocations: 3.031 kB / 0.9072 GB, free: 181.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000146/1.596, allocations: 8.859 kB / 0.9072 GB, free: 181.3 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.827e-05/1.596, allocations: 6.344 kB / 0.9072 GB, free: 181.3 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.229e-05/1.596, allocations: 5.953 kB / 0.9072 GB, free: 181.3 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0001241/1.597, allocations: 155 kB / 0.9074 GB, free: 181.2 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.61e-07/1.597, allocations: 0 / 0.9074 GB, free: 181.2 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0004877/1.597, allocations: 96.97 kB / 0.9075 GB, free: 181.2 MB / 0.5261 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 () * Number of clocked 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.0005788/1.598, allocations: 1.13 MB / 0.9086 GB, free: 180.1 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0002598/1.598, allocations: 168.9 kB / 0.9087 GB, free: 180.1 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/1.598, allocations: 1.875 kB / 0.9087 GB, free: 180.1 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 3.96e-05/1.598, allocations: 30.47 kB / 0.9088 GB, free: 180.1 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003204/1.598, allocations: 47.91 kB / 0.9088 GB, free: 180 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01515/1.613, allocations: 12.83 MB / 0.9214 GB, free: 170.7 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002499/1.614, allocations: 0.7301 MB / 0.9221 GB, free: 170 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0002892/1.614, allocations: 58.23 kB / 0.9221 GB, free: 170 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.211e-05/1.614, allocations: 58.16 kB / 0.9222 GB, free: 169.9 MB / 0.5261 GB Notification: Performance of SimCode: time 2.144e-06/1.614, allocations: 3.938 kB / 0.9222 GB, free: 169.9 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01794/1.632, allocations: 4.684 MB / 0.9268 GB, free: 169.4 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001568/1.632, allocations: 188.7 kB / 0.9269 GB, free: 169.2 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.863/3.496, allocations: 0 / 0.9269 GB, free: 169.2 MB / 0.5261 GB (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