Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.MoistAir.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.MoistAir,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_MoistAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.MoistAir,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_MoistAir",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.001474/0.001474, allocations: 173 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.397/1.397, allocations: 221.5 MB / 230.7 MB, free: 7.52 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.0009622/0.0009622, allocations: 97.86 kB / 281.6 MB, free: 5.258 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.2185/0.2185, allocations: 44.15 MB / 376.5 MB, free: 3.031 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.878e-05/1.88e-05, allocations: 4.156 kB / 444.7 MB, free: 15.14 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1528/0.1528, allocations: 61.92 MB / 0.4948 GB, free: 1.16 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 10.45/10.61, allocations: 3.511 GB / 4.006 GB, free: 148.8 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002512/10.61, allocations: 80.77 kB / 4.006 GB, free: 148.8 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.2031/10.81, allocations: 87.28 MB / 4.091 GB, free: 93.42 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.773e-06/10.81, allocations: 0 / 4.091 GB, free: 93.42 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 1.867e-05/10.81, allocations: 4 kB / 4.091 GB, free: 93.42 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 81 * Number of variables: 81 Notification: Performance of Generate backend data structure: time 0.003551/10.81, allocations: 1.024 MB / 4.092 GB, free: 92.35 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.916e-05/10.81, allocations: 15.98 kB / 4.092 GB, free: 92.33 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002317/10.81, allocations: 39.61 kB / 4.092 GB, free: 92.29 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003729/10.81, allocations: 246.6 kB / 4.092 GB, free: 92.01 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001134/10.81, allocations: 127.5 kB / 4.092 GB, free: 91.86 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.71e-05/10.81, allocations: 20 kB / 4.092 GB, free: 91.84 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001238/10.82, allocations: 1.184 MB / 4.094 GB, free: 90.66 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000634/10.82, allocations: 0.5019 MB / 4.094 GB, free: 90.12 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.544e-05/10.82, allocations: 4 kB / 4.094 GB, free: 90.12 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.821e-05/10.82, allocations: 7.984 kB / 4.094 GB, free: 90.11 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.167e-05/10.82, allocations: 20.56 kB / 4.094 GB, free: 90.09 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004146/10.82, allocations: 4.529 MB / 4.098 GB, free: 84.89 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001787/10.82, allocations: 114.8 kB / 4.099 GB, free: 84.77 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.044e-05/10.82, allocations: 48.84 kB / 4.099 GB, free: 84.72 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002526/10.82, allocations: 364.8 kB / 4.099 GB, free: 84.29 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.984e-05/10.82, allocations: 34.56 kB / 4.099 GB, free: 84.25 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=18): time 2.164e-06/10.82, allocations: 0 / 4.099 GB, free: 84.25 MB / 0.5105 GB Notification: Performance of matching and sorting (n=19): time 0.001156/10.82, allocations: 319.7 kB / 4.099 GB, free: 83.93 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.084e-05/10.82, allocations: 55.41 kB / 4.099 GB, free: 83.87 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002684/10.82, allocations: 257.9 kB / 4.1 GB, free: 83.61 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.289e-05/10.82, allocations: 25.7 kB / 4.1 GB, free: 83.58 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001415/10.82, allocations: 274.5 kB / 4.1 GB, free: 83.3 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 6.038e-05/10.82, allocations: 67.09 kB / 4.1 GB, free: 83.23 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.332e-05/10.82, allocations: 0 / 4.1 GB, free: 83.23 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 9.318e-05/10.82, allocations: 334.8 kB / 4.1 GB, free: 82.9 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001376/10.82, allocations: 89.53 kB / 4.1 GB, free: 82.81 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002811/10.82, allocations: 397 kB / 4.101 GB, free: 82.27 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001246/10.82, allocations: 303.6 kB / 4.101 GB, free: 81.98 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.127e-06/10.82, allocations: 4 kB / 4.101 GB, free: 81.97 MB / 0.5105 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001772/10.83, allocations: 0.6262 MB / 4.102 GB, free: 81.34 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.39e-05/10.83, allocations: 13.34 kB / 4.102 GB, free: 81.33 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.608e-05/10.83, allocations: 12 kB / 4.102 GB, free: 81.32 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.668e-05/10.83, allocations: 16 kB / 4.102 GB, free: 81.3 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006761/10.83, allocations: 195.7 kB / 4.102 GB, free: 81.11 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005516/10.83, allocations: 1.219 MB / 4.103 GB, free: 79.84 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004921/10.83, allocations: 15.94 kB / 4.103 GB, free: 79.83 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001193/10.83, allocations: 67.97 kB / 4.103 GB, free: 79.76 MB / 0.5105 GB Warning: Iteration variables with default zero start attribute in equation system with analytic Jacobian: $DER.medium.T:DUMMY_DER(fixed = false ) "Temperature of medium" type: Real 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (72): * Single equations (assignments): 69 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001944/10.83, allocations: 138.6 kB / 4.103 GB, free: 79.62 MB / 0.5105 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003461/10.83, allocations: 169.3 kB / 4.103 GB, free: 79.45 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.489e-05/10.83, allocations: 31.67 kB / 4.103 GB, free: 79.42 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004533/10.83, allocations: 208.8 kB / 4.104 GB, free: 79.21 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.174e-05/10.83, allocations: 7.984 kB / 4.104 GB, free: 79.2 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/10.83, allocations: 0 / 4.104 GB, free: 79.2 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.03e-06/10.83, allocations: 0 / 4.104 GB, free: 79.2 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006383/10.83, allocations: 0.5099 MB / 4.104 GB, free: 78.65 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.915e-06/10.83, allocations: 64 / 4.104 GB, free: 78.65 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003303/10.83, allocations: 75.92 kB / 4.104 GB, free: 78.57 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.391e-06/10.83, allocations: 0 / 4.104 GB, free: 78.57 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.866e-05/10.83, allocations: 7.984 kB / 4.104 GB, free: 78.57 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005654/10.83, allocations: 1.191 MB / 4.105 GB, free: 77.33 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.466e-06/10.83, allocations: 192 / 4.105 GB, free: 77.33 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003409/10.83, allocations: 289.7 kB / 4.106 GB, free: 77.02 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000158/10.83, allocations: 160.7 kB / 4.106 GB, free: 76.84 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.44e-05/10.83, allocations: 0 / 4.106 GB, free: 76.84 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002517/10.83, allocations: 11.88 kB / 4.106 GB, free: 76.83 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.658e-05/10.83, allocations: 23.91 kB / 4.106 GB, free: 76.81 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.081e-05/10.83, allocations: 8 kB / 4.106 GB, free: 76.8 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0001328/10.83, allocations: 178 kB / 4.106 GB, free: 76.63 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.2e-07/10.83, allocations: 0 / 4.106 GB, free: 76.63 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.002776/10.83, allocations: 0.5266 MB / 4.107 GB, free: 76.1 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 16 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003414/10.84, allocations: 2.046 MB / 4.109 GB, free: 74.04 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0007955/10.84, allocations: 304.5 kB / 4.109 GB, free: 73.74 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/10.84, allocations: 0 / 4.109 GB, free: 73.74 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0002618/10.84, allocations: 93.39 kB / 4.109 GB, free: 73.65 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000395/10.84, allocations: 52.47 kB / 4.109 GB, free: 73.6 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1054/10.95, allocations: 50.73 MB / 4.159 GB, free: 22.27 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002156/10.95, allocations: 0.761 MB / 4.159 GB, free: 21.48 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.000937/10.95, allocations: 238.7 kB / 4.159 GB, free: 21.25 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002575/10.95, allocations: 111.4 kB / 4.16 GB, free: 21.14 MB / 0.5105 GB Notification: Performance of SimCode: time 9.12e-07/10.95, allocations: 0 / 4.16 GB, free: 21.14 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04467/10.99, allocations: 19.19 MB / 4.178 GB, free: 1.984 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001695/10.99, allocations: 171.6 kB / 4.179 GB, free: 1.789 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.942/13.93, allocations: 7.938 kB / 4.179 GB, free: 1.781 MB / 0.5105 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.MoistAir.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.MoistAir.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.MoistAir.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.MoistAir.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.MoistAir_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_MoistAir_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_MoistAir.fmu > ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.MoistAir.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.MoistAir_res.mat does not exist to compare? outputFormat=mat