Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.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.TestOnly.MoistAir,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestOnly_MoistAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.MoistAir,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestOnly_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.001729/0.001729, allocations: 180.5 kB / 14.15 MB, free: 1.176 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.694/1.694, allocations: 221.3 MB / 236 MB, free: 2.973 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.001009/0.001009, allocations: 84.09 kB / 287 MB, free: 260 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2482/0.2482, allocations: 44.16 MB / 382 MB, free: 14.69 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 4.178e-05/4.181e-05, allocations: 224 / 451.9 MB, free: 9.355 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1696/0.1697, allocations: 61.92 MB / 0.5018 GB, free: 11.38 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 9.471/9.641, allocations: 3.309 GB / 3.81 GB, free: 159.9 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004517/9.642, allocations: 77.2 kB / 3.81 GB, free: 159.9 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.119/9.761, allocations: 52.21 MB / 3.861 GB, free: 142.5 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.575e-06/9.761, allocations: 0 / 3.861 GB, free: 142.5 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 7.183e-06/9.761, allocations: 0 / 3.861 GB, free: 142.5 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.00108/9.762, allocations: 0.502 MB / 3.862 GB, free: 141.9 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.016e-05/9.762, allocations: 8.031 kB / 3.862 GB, free: 141.9 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.397e-05/9.762, allocations: 42.56 kB / 3.862 GB, free: 141.9 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.709e-05/9.762, allocations: 3.906 kB / 3.862 GB, free: 141.9 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.574e-05/9.762, allocations: 167 kB / 3.862 GB, free: 141.7 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.549e-05/9.762, allocations: 7.953 kB / 3.862 GB, free: 141.7 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.479e-05/9.762, allocations: 0 / 3.862 GB, free: 141.7 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001597/9.762, allocations: 73.62 kB / 3.862 GB, free: 141.6 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.135e-05/9.762, allocations: 0 / 3.862 GB, free: 141.6 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.089e-05/9.762, allocations: 0 / 3.862 GB, free: 141.6 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.52e-05/9.762, allocations: 7.984 kB / 3.862 GB, free: 141.6 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.751e-05/9.763, allocations: 51.92 kB / 3.862 GB, free: 141.5 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004231/9.763, allocations: 308.7 kB / 3.863 GB, free: 141.2 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 7.493e-05/9.763, allocations: 34.56 kB / 3.863 GB, free: 141.1 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.837e-05/9.763, allocations: 12.86 kB / 3.863 GB, free: 141.1 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002105/9.763, allocations: 259.4 kB / 3.863 GB, free: 140.8 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.363e-05/9.763, allocations: 42.5 kB / 3.863 GB, free: 140.8 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=4): time 1.072e-06/9.763, allocations: 0 / 3.863 GB, free: 140.8 MB / 0.5261 GB Notification: Performance of matching and sorting (n=4): time 0.0001595/9.764, allocations: 49.69 kB / 3.863 GB, free: 140.7 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.412e-05/9.764, allocations: 51.41 kB / 3.863 GB, free: 140.6 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.987e-05/9.764, allocations: 96.94 kB / 3.863 GB, free: 140.5 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 9.017e-06/9.764, allocations: 25.7 kB / 3.863 GB, free: 140.5 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 3.778e-05/9.764, allocations: 99.89 kB / 3.863 GB, free: 140.4 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 1.023e-05/9.764, allocations: 7.812 kB / 3.863 GB, free: 140.4 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.849e-06/9.764, allocations: 4 kB / 3.863 GB, free: 140.4 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 7.438e-05/9.764, allocations: 318.8 kB / 3.864 GB, free: 140.1 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.815e-05/9.764, allocations: 8 kB / 3.864 GB, free: 140.1 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.475e-05/9.764, allocations: 35.38 kB / 3.864 GB, free: 140 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.928e-05/9.764, allocations: 15.98 kB / 3.864 GB, free: 140 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/9.764, allocations: 0 / 3.864 GB, free: 140 MB / 0.5261 GB Notification: Performance of matching and sorting (n=7) (initialization): time 9.402e-05/9.764, allocations: 73.61 kB / 3.864 GB, free: 139.9 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.521e-05/9.764, allocations: 4 kB / 3.864 GB, free: 139.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.57e-06/9.764, allocations: 3.938 kB / 3.864 GB, free: 139.9 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.716e-05/9.764, allocations: 4 kB / 3.864 GB, free: 139.9 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.81e-05/9.764, allocations: 8.109 kB / 3.864 GB, free: 139.9 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.558e-06/9.764, allocations: 11.88 kB / 3.864 GB, free: 139.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.46e-05/9.764, allocations: 7.906 kB / 3.864 GB, free: 139.9 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.571e-05/9.764, allocations: 11.94 kB / 3.864 GB, free: 139.9 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * Array equations: 0 * 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 5.797e-05/9.764, allocations: 113 kB / 3.864 GB, free: 139.8 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.155e-05/9.764, allocations: 0 / 3.864 GB, free: 139.8 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001543/9.764, allocations: 65.33 kB / 3.864 GB, free: 139.7 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/9.765, allocations: 0 / 3.864 GB, free: 139.7 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.149e-06/9.765, allocations: 0 / 3.864 GB, free: 139.7 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.878e-06/9.765, allocations: 0 / 3.864 GB, free: 139.7 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001354/9.765, allocations: 173.5 kB / 3.864 GB, free: 139.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.92e-07/9.765, allocations: 0 / 3.864 GB, free: 139.5 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.1e-05/9.765, allocations: 11.98 kB / 3.864 GB, free: 139.5 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/9.765, allocations: 0 / 3.864 GB, free: 139.5 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.005e-06/9.765, allocations: 0 / 3.864 GB, free: 139.5 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.843e-06/9.765, allocations: 3.984 kB / 3.864 GB, free: 139.4 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/9.765, allocations: 0 / 3.864 GB, free: 139.4 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.837e-05/9.765, allocations: 151.8 kB / 3.864 GB, free: 139.3 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 2.813e-05/9.765, allocations: 89.02 kB / 3.864 GB, free: 139.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.385e-05/9.765, allocations: 0 / 3.864 GB, free: 139.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.894e-05/9.765, allocations: 3.984 kB / 3.864 GB, free: 139.2 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.592e-05/9.765, allocations: 0 / 3.864 GB, free: 139.2 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.929e-06/9.765, allocations: 4 kB / 3.864 GB, free: 139.2 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 3.02e-05/9.765, allocations: 83.28 kB / 3.864 GB, free: 139.1 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.263e-06/9.765, allocations: 0 / 3.864 GB, free: 139.1 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.000801/9.766, allocations: 187.7 kB / 3.865 GB, free: 138.9 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * Array equations: 0 * 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.001597/9.767, allocations: 1.326 MB / 3.866 GB, free: 137.6 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.000103/9.768, allocations: 23.98 kB / 3.866 GB, free: 137.6 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/9.768, allocations: 0 / 3.866 GB, free: 137.6 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 1.515e-05/9.768, allocations: 11.94 kB / 3.866 GB, free: 137.5 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001889/9.768, allocations: 13.39 kB / 3.866 GB, free: 137.5 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004423/9.768, allocations: 178.5 kB / 3.866 GB, free: 137.3 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001713/9.768, allocations: 0.6848 MB / 3.867 GB, free: 136.6 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 6.52e-05/9.768, allocations: 11.98 kB / 3.867 GB, free: 136.6 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.281e-05/9.769, allocations: 19.44 kB / 3.867 GB, free: 136.6 MB / 0.5261 GB Notification: Performance of SimCode: time 2.7e-07/9.769, allocations: 0 / 3.867 GB, free: 136.6 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03522/9.804, allocations: 14.2 MB / 3.881 GB, free: 122.4 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002475/9.804, allocations: 188.3 kB / 3.881 GB, free: 122.2 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.222/12.03, allocations: 0 / 3.881 GB, free: 122.2 MB / 0.5261 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MoistAir.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MoistAir.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MoistAir.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MoistAir.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MoistAir_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Media_TestOnly_MoistAir_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Media_TestOnly_MoistAir.fmu > ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MoistAir.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MoistAir_res.mat does not exist to compare? outputFormat=mat