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.001219/0.001219, allocations: 176.8 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.504/1.504, allocations: 223.2 MB / 241 MB, free: 10.16 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.0009757/0.0009756, allocations: 94.34 kB / 292.1 MB, free: 10.7 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.4414/0.4414, allocations: 44.2 MB / 387.5 MB, free: 38.41 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000359/0.000359, allocations: 11.98 kB / 460 MB, free: 1.441 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4403/0.4407, allocations: 61.89 MB / 0.5096 GB, free: 37.43 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 9.107/9.548, allocations: 3.512 GB / 4.021 GB, free: 106 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003643/9.549, allocations: 87.73 kB / 4.021 GB, free: 105.9 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.1959/9.744, allocations: 88.46 MB / 4.108 GB, free: 24.23 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.004e-06/9.744, allocations: 0 / 4.108 GB, free: 24.23 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.519e-05/9.745, allocations: 8 kB / 4.108 GB, free: 24.22 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: 81 * Number of variables: 81 Notification: Performance of Generate backend data structure: time 0.00342/9.748, allocations: 1.037 MB / 4.109 GB, free: 23.14 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.524e-05/9.748, allocations: 12.03 kB / 4.109 GB, free: 23.12 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.95e-05/9.748, allocations: 74.52 kB / 4.109 GB, free: 23.04 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001561/9.748, allocations: 51.52 kB / 4.109 GB, free: 22.99 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002871/9.749, allocations: 242.7 kB / 4.109 GB, free: 22.71 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.429e-05/9.749, allocations: 131.5 kB / 4.109 GB, free: 22.56 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.684e-05/9.749, allocations: 32 kB / 4.109 GB, free: 22.53 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006187/9.749, allocations: 0.5525 MB / 4.11 GB, free: 21.95 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.168e-05/9.749, allocations: 4 kB / 4.11 GB, free: 21.95 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.601e-05/9.749, allocations: 12 kB / 4.11 GB, free: 21.93 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.716e-05/9.749, allocations: 24.55 kB / 4.11 GB, free: 21.91 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001029/9.75, allocations: 1.251 MB / 4.111 GB, free: 20.66 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001874/9.752, allocations: 1.921 MB / 4.113 GB, free: 18.62 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005659/9.753, allocations: 252.2 kB / 4.113 GB, free: 18.36 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002669/9.756, allocations: 3.378 MB / 4.116 GB, free: 14.41 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.031e-05/9.756, allocations: 42.5 kB / 4.116 GB, free: 14.36 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=42): time 2.104e-06/9.756, allocations: 4 kB / 4.116 GB, free: 14.36 MB / 0.5261 GB Notification: Performance of matching and sorting (n=44): time 0.001669/9.757, allocations: 0.8242 MB / 4.117 GB, free: 13.49 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.955e-05/9.757, allocations: 55.41 kB / 4.117 GB, free: 13.43 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001375/9.758, allocations: 174.6 kB / 4.117 GB, free: 13.25 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 3.54e-05/9.758, allocations: 41.7 kB / 4.118 GB, free: 13.2 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 7.497e-05/9.758, allocations: 191.8 kB / 4.118 GB, free: 13.01 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 7.908e-05/9.758, allocations: 153.8 kB / 4.118 GB, free: 12.86 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.581e-05/9.758, allocations: 8 kB / 4.118 GB, free: 12.85 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 6.181e-05/9.758, allocations: 342.8 kB / 4.118 GB, free: 12.51 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001486/9.758, allocations: 105.2 kB / 4.118 GB, free: 12.41 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002552/9.758, allocations: 401.6 kB / 4.119 GB, free: 11.86 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002303/9.759, allocations: 184.7 kB / 4.119 GB, free: 11.68 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.997e-06/9.759, allocations: 4 kB / 4.119 GB, free: 11.68 MB / 0.5261 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0007317/9.759, allocations: 0.5608 MB / 4.119 GB, free: 11.12 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.148e-05/9.759, allocations: 13.41 kB / 4.119 GB, free: 11.11 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.248e-05/9.759, allocations: 8 kB / 4.119 GB, free: 11.1 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.611e-05/9.759, allocations: 20 kB / 4.119 GB, free: 11.08 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006319/9.76, allocations: 203.7 kB / 4.12 GB, free: 10.88 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003932/9.76, allocations: 1.192 MB / 4.121 GB, free: 9.641 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003177/9.761, allocations: 27.97 kB / 4.121 GB, free: 9.613 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.962e-05/9.761, allocations: 67.97 kB / 4.121 GB, free: 9.547 MB / 0.5261 GB 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (73): * Single equations (assignments): 70 * 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.0001548/9.761, allocations: 183.6 kB / 4.121 GB, free: 9.359 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.289e-05/9.761, allocations: 27.72 kB / 4.121 GB, free: 9.332 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001209/9.762, allocations: 0.6856 MB / 4.122 GB, free: 8.605 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.308e-05/9.762, allocations: 4 kB / 4.122 GB, free: 8.602 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.98e-06/9.762, allocations: 0 / 4.122 GB, free: 8.602 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.39e-06/9.762, allocations: 7.938 kB / 4.122 GB, free: 8.594 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007242/9.763, allocations: 0.6388 MB / 4.122 GB, free: 7.895 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/9.763, allocations: 0 / 4.122 GB, free: 7.895 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004085/9.763, allocations: 91.88 kB / 4.122 GB, free: 7.805 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.379e-06/9.763, allocations: 4 kB / 4.122 GB, free: 7.801 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.809e-05/9.763, allocations: 11.98 kB / 4.123 GB, free: 7.789 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002991/9.764, allocations: 1.168 MB / 4.124 GB, free: 6.574 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/9.764, allocations: 3.938 kB / 4.124 GB, free: 6.57 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003036/9.764, allocations: 352.4 kB / 4.124 GB, free: 6.191 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001287/9.764, allocations: 148.7 kB / 4.124 GB, free: 6.027 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.86e-05/9.764, allocations: 8 kB / 4.124 GB, free: 6.02 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002475/9.765, allocations: 12 kB / 4.124 GB, free: 6.008 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.76e-05/9.765, allocations: 19.97 kB / 4.124 GB, free: 5.988 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.661e-05/9.765, allocations: 23.92 kB / 4.124 GB, free: 5.965 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0001307/9.765, allocations: 178 kB / 4.124 GB, free: 5.789 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.21e-07/9.765, allocations: 0 / 4.124 GB, free: 5.789 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.002013/9.767, allocations: 0.5618 MB / 4.125 GB, free: 5.227 MB / 0.5261 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 30 * 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.002709/9.77, allocations: 2.084 MB / 4.127 GB, free: 3.121 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0007948/9.77, allocations: 366.2 kB / 4.127 GB, free: 2.766 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/9.77, allocations: 0 / 4.127 GB, free: 2.766 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0002965/9.771, allocations: 127.8 kB / 4.127 GB, free: 2.641 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000453/9.771, allocations: 90.39 kB / 4.128 GB, free: 2.555 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3926/10.16, allocations: 62.08 MB / 4.188 GB, free: 118.5 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002006/10.16, allocations: 0.7776 MB / 4.189 GB, free: 117.8 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.000803/10.16, allocations: 190.2 kB / 4.189 GB, free: 117.7 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002789/10.17, allocations: 136 kB / 4.189 GB, free: 117.6 MB / 0.5261 GB Notification: Performance of SimCode: time 9.32e-07/10.17, allocations: 0 / 4.189 GB, free: 117.6 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04703/10.21, allocations: 25.49 MB / 4.214 GB, free: 115.5 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001558/10.21, allocations: 241 kB / 4.214 GB, free: 115.2 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.136/13.35, allocations: 3.5 kB / 4.214 GB, free: 115.2 MB / 0.5261 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