Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.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.ConstantPropertyLiquidWater,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_ConstantPropertyLiquidWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_ConstantPropertyLiquidWater",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.001171/0.001171, allocations: 170.6 kB / 8.742 MB, free: 344 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.467/1.467, allocations: 221.5 MB / 230.7 MB, free: 7.574 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001071/0.001071, allocations: 103 kB / 281.6 MB, free: 5.324 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.2091/0.2091, allocations: 44.15 MB / 376.5 MB, free: 3.043 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 2.38e-05/2.384e-05, allocations: 4.156 kB / 444.7 MB, free: 15.14 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1394/0.1395, allocations: 61.92 MB / 0.4948 GB, free: 1.164 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9163/1.056, allocations: 300.4 MB / 0.7881 GB, free: 89.46 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002338/1.056, allocations: 69.97 kB / 0.7882 GB, free: 89.42 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.04294/1.099, allocations: 20.54 MB / 0.8082 GB, free: 71.25 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.773e-06/1.099, allocations: 0 / 0.8082 GB, free: 71.25 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.523e-05/1.099, allocations: 8 kB / 0.8082 GB, free: 71.25 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.0008741/1.1, allocations: 0.5416 MB / 0.8088 GB, free: 70.66 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.957e-05/1.1, allocations: 15.97 kB / 0.8088 GB, free: 70.64 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001359/1.1, allocations: 23.81 kB / 0.8088 GB, free: 70.62 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002234/1.1, allocations: 230.7 kB / 0.809 GB, free: 70.35 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.941e-05/1.101, allocations: 115.4 kB / 0.8091 GB, free: 70.21 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.362e-05/1.101, allocations: 15.95 kB / 0.8091 GB, free: 70.2 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006092/1.101, allocations: 0.7074 MB / 0.8098 GB, free: 69.49 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003266/1.102, allocations: 286.6 kB / 0.8101 GB, free: 69.18 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.197e-05/1.102, allocations: 0 / 0.8101 GB, free: 69.18 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.613e-05/1.102, allocations: 0 / 0.8101 GB, free: 69.18 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.178e-05/1.102, allocations: 8 kB / 0.8101 GB, free: 69.18 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002188/1.104, allocations: 3.196 MB / 0.8132 GB, free: 65.46 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 7.896e-05/1.104, allocations: 54.48 kB / 0.8133 GB, free: 65.39 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.482e-05/1.104, allocations: 20.89 kB / 0.8133 GB, free: 65.37 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001099/1.104, allocations: 174.2 kB / 0.8135 GB, free: 65.16 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.619e-05/1.104, allocations: 30.56 kB / 0.8135 GB, free: 65.12 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=8): time 1.262e-06/1.104, allocations: 4 kB / 0.8135 GB, free: 65.12 MB / 0.4948 GB Notification: Performance of matching and sorting (n=9): time 0.0004836/1.105, allocations: 144.8 kB / 0.8136 GB, free: 64.97 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.226e-05/1.105, allocations: 55.41 kB / 0.8137 GB, free: 64.91 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001373/1.105, allocations: 195.7 kB / 0.8139 GB, free: 64.7 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.296e-05/1.105, allocations: 25.7 kB / 0.8139 GB, free: 64.67 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 7.409e-05/1.105, allocations: 226.5 kB / 0.8141 GB, free: 64.45 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.9e-05/1.105, allocations: 47.47 kB / 0.8142 GB, free: 64.4 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.065e-05/1.105, allocations: 0 / 0.8142 GB, free: 64.4 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 6.377e-05/1.105, allocations: 326.8 kB / 0.8145 GB, free: 64.07 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.189e-05/1.105, allocations: 32.88 kB / 0.8145 GB, free: 64.04 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001323/1.105, allocations: 309.2 kB / 0.8148 GB, free: 63.61 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002626/1.105, allocations: 103.8 kB / 0.8149 GB, free: 63.5 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.366e-06/1.105, allocations: 4 kB / 0.8149 GB, free: 63.5 MB / 0.4948 GB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0005229/1.106, allocations: 325.2 kB / 0.8152 GB, free: 63.18 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.962e-05/1.106, allocations: 13.03 kB / 0.8152 GB, free: 63.16 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.424e-05/1.106, allocations: 12.78 kB / 0.8152 GB, free: 63.15 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.334e-05/1.106, allocations: 12.75 kB / 0.8153 GB, free: 63.14 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000308/1.106, allocations: 107.9 kB / 0.8154 GB, free: 63.04 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.636e-05/1.106, allocations: 27.92 kB / 0.8154 GB, free: 63.01 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002357/1.107, allocations: 11.98 kB / 0.8154 GB, free: 63 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.114e-05/1.107, allocations: 28 kB / 0.8154 GB, free: 62.97 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 44 * 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 9.117e-05/1.107, allocations: 124.7 kB / 0.8155 GB, free: 62.84 MB / 0.4948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001638/1.107, allocations: 97.28 kB / 0.8156 GB, free: 62.74 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.482e-05/1.107, allocations: 19.81 kB / 0.8156 GB, free: 62.72 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002013/1.107, allocations: 96.69 kB / 0.8157 GB, free: 62.62 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.011e-05/1.107, allocations: 7.984 kB / 0.8157 GB, free: 62.61 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/1.107, allocations: 0 / 0.8157 GB, free: 62.61 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.997e-06/1.107, allocations: 0 / 0.8157 GB, free: 62.61 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003656/1.108, allocations: 380.7 kB / 0.8161 GB, free: 62.19 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.943e-06/1.108, allocations: 0 / 0.8161 GB, free: 62.19 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001128/1.108, allocations: 23.98 kB / 0.8161 GB, free: 62.16 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.835e-06/1.108, allocations: 4.062 kB / 0.8161 GB, free: 62.16 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.012e-05/1.108, allocations: 4 kB / 0.8161 GB, free: 62.16 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/1.108, allocations: 0 / 0.8161 GB, free: 62.16 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.4e-06/1.108, allocations: 8.125 kB / 0.8162 GB, free: 62.15 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001689/1.108, allocations: 224.4 kB / 0.8164 GB, free: 61.89 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 7.09e-05/1.108, allocations: 112.9 kB / 0.8165 GB, free: 61.77 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.364e-05/1.108, allocations: 4 kB / 0.8165 GB, free: 61.76 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001729/1.108, allocations: 7.984 kB / 0.8165 GB, free: 61.75 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.443e-05/1.108, allocations: 7.953 kB / 0.8165 GB, free: 61.75 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.496e-05/1.108, allocations: 7.984 kB / 0.8165 GB, free: 61.74 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 7.746e-05/1.108, allocations: 140.4 kB / 0.8166 GB, free: 61.6 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.7e-07/1.108, allocations: 0 / 0.8166 GB, free: 61.6 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0004648/1.109, allocations: 88 kB / 0.8167 GB, free: 61.51 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 7 * 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.0004972/1.109, allocations: 0.9601 MB / 0.8177 GB, free: 60.51 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0002028/1.11, allocations: 141.9 kB / 0.8178 GB, free: 60.37 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/1.11, allocations: 320 / 0.8178 GB, free: 60.37 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 2.622e-05/1.11, allocations: 27.94 kB / 0.8178 GB, free: 60.34 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002561/1.11, allocations: 20.45 kB / 0.8178 GB, free: 60.32 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005712/1.111, allocations: 248.7 kB / 0.8181 GB, free: 60.04 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001586/1.111, allocations: 0.725 MB / 0.8188 GB, free: 59.29 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0002466/1.111, allocations: 53.88 kB / 0.8188 GB, free: 59.23 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.558e-05/1.111, allocations: 59.41 kB / 0.8189 GB, free: 59.18 MB / 0.4948 GB Notification: Performance of SimCode: time 2.61e-07/1.111, allocations: 0 / 0.8189 GB, free: 59.18 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02159/1.133, allocations: 4.251 MB / 0.823 GB, free: 54.94 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002017/1.133, allocations: 159.6 kB / 0.8232 GB, free: 54.75 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.769/2.902, allocations: 5.906 kB / 0.8232 GB, free: 54.74 MB / 0.4948 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_ConstantPropertyLiquidWater_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_ConstantPropertyLiquidWater.fmu > ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater_res.mat does not exist to compare? outputFormat=mat