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.001585/0.001585, allocations: 174.4 kB / 8.74 MB, free: 348 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.662/1.662, 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.000998/0.0009981, allocations: 101.2 kB / 281.6 MB, free: 5.316 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.2443/0.2443, allocations: 44.14 MB / 376.5 MB, free: 3.047 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 2.275e-05/2.258e-05, allocations: 4.219 kB / 444.7 MB, free: 15.13 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1701/0.1701, allocations: 61.91 MB / 0.4948 GB, free: 1.156 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 9.531/9.702, allocations: 3.308 GB / 3.803 GB, free: 150.1 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002639/9.702, allocations: 73.03 kB / 3.803 GB, free: 150.1 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.1179/9.82, allocations: 51.48 MB / 3.853 GB, free: 135.8 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.234e-06/9.82, allocations: 4 kB / 3.853 GB, free: 135.8 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 6.062e-06/9.82, allocations: 0 / 3.853 GB, free: 135.8 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.001094/9.821, allocations: 0.5018 MB / 3.854 GB, free: 135.3 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 6.104e-05/9.821, allocations: 13.52 kB / 3.854 GB, free: 135.3 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.573e-05/9.821, allocations: 7.125 kB / 3.854 GB, free: 135.3 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.936e-05/9.821, allocations: 159.1 kB / 3.854 GB, free: 135.1 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.601e-05/9.821, allocations: 3.953 kB / 3.854 GB, free: 135.1 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.653e-05/9.821, allocations: 3.188 kB / 3.854 GB, free: 135.1 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001569/9.821, allocations: 51.97 kB / 3.854 GB, free: 135.1 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000112/9.822, allocations: 71.94 kB / 3.854 GB, free: 135.1 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.039e-05/9.822, allocations: 0 / 3.854 GB, free: 135.1 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.249e-05/9.822, allocations: 7.984 kB / 3.854 GB, free: 135 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.503e-05/9.822, allocations: 7.219 kB / 3.854 GB, free: 135 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004559/9.822, allocations: 273.2 kB / 3.854 GB, free: 134.8 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 6.666e-05/9.822, allocations: 41.69 kB / 3.854 GB, free: 134.7 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.513e-05/9.822, allocations: 8.828 kB / 3.854 GB, free: 134.7 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002058/9.822, allocations: 254.9 kB / 3.854 GB, free: 134.4 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.405e-05/9.822, allocations: 34.55 kB / 3.854 GB, free: 134.4 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=4): time 1.083e-06/9.822, allocations: 0 / 3.854 GB, free: 134.4 MB / 0.5105 GB Notification: Performance of matching and sorting (n=4): time 0.000431/9.823, allocations: 100.5 kB / 3.855 GB, free: 134.3 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.942e-05/9.823, allocations: 51.41 kB / 3.855 GB, free: 134.3 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.253e-05/9.823, allocations: 92.88 kB / 3.855 GB, free: 134.2 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 9.758e-06/9.823, allocations: 29.7 kB / 3.855 GB, free: 134.1 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 3.562e-05/9.823, allocations: 99.75 kB / 3.855 GB, free: 134 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 1.047e-05/9.823, allocations: 11.81 kB / 3.855 GB, free: 134 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.589e-06/9.823, allocations: 0 / 3.855 GB, free: 134 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 6.582e-05/9.823, allocations: 314.8 kB / 3.855 GB, free: 133.7 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.583e-05/9.823, allocations: 7.719 kB / 3.855 GB, free: 133.7 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.489e-05/9.823, allocations: 39.08 kB / 3.855 GB, free: 133.7 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002533/9.823, allocations: 66.84 kB / 3.855 GB, free: 133.6 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/9.823, allocations: 0 / 3.855 GB, free: 133.6 MB / 0.5105 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002973/9.824, allocations: 106.7 kB / 3.855 GB, free: 133.6 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.069e-05/9.824, allocations: 13.14 kB / 3.855 GB, free: 133.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.511e-06/9.824, allocations: 0 / 3.855 GB, free: 133.6 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.453e-05/9.824, allocations: 0 / 3.855 GB, free: 133.6 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.655e-05/9.824, allocations: 15.38 kB / 3.855 GB, free: 133.6 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.053e-06/9.824, allocations: 7.719 kB / 3.855 GB, free: 133.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.077e-05/9.824, allocations: 3.906 kB / 3.855 GB, free: 133.6 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.359e-05/9.824, allocations: 3.625 kB / 3.855 GB, free: 133.6 MB / 0.5105 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 7.297e-05/9.824, allocations: 121.9 kB / 3.855 GB, free: 133.4 MB / 0.5105 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.000274/9.824, allocations: 96.94 kB / 3.856 GB, free: 133.4 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.975e-05/9.824, allocations: 7.812 kB / 3.856 GB, free: 133.4 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000344/9.825, allocations: 119.4 kB / 3.856 GB, free: 133.3 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.607e-06/9.825, allocations: 0 / 3.856 GB, free: 133.3 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.452e-06/9.825, allocations: 0 / 3.856 GB, free: 133.3 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.96e-06/9.825, allocations: 0 / 3.856 GB, free: 133.3 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001213/9.825, allocations: 141.9 kB / 3.856 GB, free: 133.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/9.825, allocations: 0 / 3.856 GB, free: 133.1 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.933e-05/9.825, allocations: 3.875 kB / 3.856 GB, free: 133.1 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.005e-06/9.825, allocations: 3.984 kB / 3.856 GB, free: 133.1 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.496e-06/9.825, allocations: 7.875 kB / 3.856 GB, free: 133.1 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/9.825, allocations: 4 kB / 3.856 GB, free: 133.1 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-06/9.825, allocations: 0 / 3.856 GB, free: 133.1 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002903/9.825, allocations: 193.6 kB / 3.856 GB, free: 132.9 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 2.679e-05/9.825, allocations: 77.11 kB / 3.856 GB, free: 132.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.667e-05/9.825, allocations: 7.859 kB / 3.856 GB, free: 132.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.404e-05/9.825, allocations: 0 / 3.856 GB, free: 132.8 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.476e-05/9.825, allocations: 0 / 3.856 GB, free: 132.8 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.871e-06/9.825, allocations: 3.875 kB / 3.856 GB, free: 132.8 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 2.633e-05/9.825, allocations: 87.59 kB / 3.856 GB, free: 132.8 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.3e-07/9.825, allocations: 0 / 3.856 GB, free: 132.8 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0007774/9.826, allocations: 182.8 kB / 3.856 GB, free: 132.7 MB / 0.5105 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.001928/9.828, allocations: 1.453 MB / 3.858 GB, free: 131.6 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0001033/9.828, allocations: 23.39 kB / 3.858 GB, free: 131.6 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.075e-06/9.828, allocations: 4.188 kB / 3.858 GB, free: 131.6 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 1.384e-05/9.828, allocations: 11.66 kB / 3.858 GB, free: 131.6 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001927/9.829, allocations: 11.92 kB / 3.858 GB, free: 131.6 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004795/9.829, allocations: 165.8 kB / 3.858 GB, free: 131.5 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001945/9.829, allocations: 0.6882 MB / 3.859 GB, free: 130.8 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 7.418e-05/9.829, allocations: 19.69 kB / 3.859 GB, free: 130.7 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.446e-05/9.829, allocations: 11.03 kB / 3.859 GB, free: 130.7 MB / 0.5105 GB Notification: Performance of SimCode: time 2.6e-07/9.829, allocations: 0 / 3.859 GB, free: 130.7 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03026/9.86, allocations: 7.707 MB / 3.866 GB, free: 125 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001554/9.86, allocations: 160.6 kB / 3.866 GB, free: 124.8 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.905/11.76, allocations: 0 / 3.866 GB, free: 124.8 MB / 0.5105 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