Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.MoistAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestOnly.MoistAir,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Media_TestOnly_MoistAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.MoistAir,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Media_TestOnly_MoistAir",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002419/0.002418, allocations: 186.9 kB / 16.41 MB, free: 5.727 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.156/2.156, allocations: 205.4 MB / 222.5 MB, free: 9.137 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001273/0.001272, allocations: 95.55 kB / 270.9 MB, free: 8.395 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.5462/0.5462, allocations: 43.54 MB / 362.7 MB, free: 51.94 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005134/0.0005137, allocations: 16 kB / 431.5 MB, free: 5.859 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1418/0.1424, allocations: 58.84 MB / 490.3 MB, free: 10.93 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 11.2/11.34, allocations: 3.576 GB / 4.055 GB, free: 11.98 MB / 0.4949 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000328/11.34, allocations: 79.39 kB / 4.055 GB, free: 11.94 MB / 0.4949 GB Notification: Performance of FrontEnd - DAE generated: time 0.5247/11.86, allocations: 47.44 MB / 4.101 GB, free: 146.4 MB / 0.4949 GB Notification: Performance of FrontEnd: time 1.733e-06/11.86, allocations: 7.938 kB / 4.101 GB, free: 146.4 MB / 0.4949 GB Notification: Performance of Transformations before backend: time 6.382e-06/11.86, allocations: 3 kB / 4.101 GB, free: 146.4 MB / 0.4949 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.001073/11.86, allocations: 487.4 kB / 4.101 GB, free: 145.9 MB / 0.4949 GB Notification: Performance of prepare preOptimizeDAE: time 4.788e-05/11.87, allocations: 9.375 kB / 4.102 GB, free: 145.9 MB / 0.4949 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.277e-05/11.87, allocations: 37.27 kB / 4.102 GB, free: 145.9 MB / 0.4949 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.526e-05/11.87, allocations: 3.938 kB / 4.102 GB, free: 145.9 MB / 0.4949 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.824e-05/11.87, allocations: 170.3 kB / 4.102 GB, free: 145.7 MB / 0.4949 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.48e-05/11.87, allocations: 8 kB / 4.102 GB, free: 145.7 MB / 0.4949 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.287e-05/11.87, allocations: 3.125 kB / 4.102 GB, free: 145.7 MB / 0.4949 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001695/11.87, allocations: 70.7 kB / 4.102 GB, free: 145.6 MB / 0.4949 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.087e-05/11.87, allocations: 0 / 4.102 GB, free: 145.6 MB / 0.4949 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.113e-05/11.87, allocations: 4 kB / 4.102 GB, free: 145.6 MB / 0.4949 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.579e-05/11.87, allocations: 3.062 kB / 4.102 GB, free: 145.6 MB / 0.4949 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001087/11.87, allocations: 51.38 kB / 4.102 GB, free: 145.6 MB / 0.4949 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004169/11.87, allocations: 300.1 kB / 4.102 GB, free: 145.3 MB / 0.4949 GB Notification: Performance of preOpt comSubExp (simulation): time 8.913e-05/11.87, allocations: 35.86 kB / 4.102 GB, free: 145.3 MB / 0.4949 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001357/11.87, allocations: 98.55 kB / 4.102 GB, free: 145.2 MB / 0.4949 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.022e-05/11.87, allocations: 30.56 kB / 4.102 GB, free: 145.1 MB / 0.4949 GB Notification: Performance of pre-optimization done (n=3): time 1.774e-06/11.87, allocations: 0 / 4.102 GB, free: 145.1 MB / 0.4949 GB Notification: Performance of matching and sorting (n=3): time 0.0001914/11.87, allocations: 50.38 kB / 4.102 GB, free: 145.1 MB / 0.4949 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.661e-05/11.87, allocations: 51.41 kB / 4.102 GB, free: 145 MB / 0.4949 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.075e-05/11.87, allocations: 107.2 kB / 4.102 GB, free: 144.9 MB / 0.4949 GB Notification: Performance of collectPreVariables (initialization): time 1.111e-05/11.87, allocations: 25.7 kB / 4.103 GB, free: 144.9 MB / 0.4949 GB Notification: Performance of collectInitialEqns (initialization): time 4.487e-05/11.87, allocations: 161.5 kB / 4.103 GB, free: 144.8 MB / 0.4949 GB Notification: Performance of collectInitialBindings (initialization): time 1.366e-05/11.87, allocations: 15.78 kB / 4.103 GB, free: 144.7 MB / 0.4949 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.98e-06/11.87, allocations: 0 / 4.103 GB, free: 144.7 MB / 0.4949 GB Notification: Performance of setup shared object (initialization): time 6.131e-05/11.87, allocations: 318.1 kB / 4.103 GB, free: 144.4 MB / 0.4949 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.458e-05/11.87, allocations: 3.156 kB / 4.103 GB, free: 144.4 MB / 0.4949 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.375e-05/11.87, allocations: 37.38 kB / 4.103 GB, free: 144.4 MB / 0.4949 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.858e-05/11.87, allocations: 14.41 kB / 4.103 GB, free: 144.4 MB / 0.4949 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/11.87, allocations: 0 / 4.103 GB, free: 144.4 MB / 0.4949 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001306/11.87, allocations: 66.23 kB / 4.103 GB, free: 144.3 MB / 0.4949 GB Notification: Performance of prepare postOptimizeDAE: time 1.659e-05/11.87, allocations: 6.188 kB / 4.103 GB, free: 144.3 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/11.87, allocations: 3 kB / 4.103 GB, free: 144.3 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.612e-05/11.87, allocations: 3.141 kB / 4.103 GB, free: 144.3 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.707e-05/11.87, allocations: 17.14 kB / 4.103 GB, free: 144.3 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.704e-06/11.87, allocations: 7.062 kB / 4.103 GB, free: 144.3 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.007e-05/11.87, allocations: 3.906 kB / 4.103 GB, free: 144.3 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.587e-05/11.87, allocations: 6.875 kB / 4.103 GB, free: 144.3 MB / 0.4949 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 6 * 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 6.89e-05/11.87, allocations: 120.8 kB / 4.103 GB, free: 144.2 MB / 0.4949 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.01e-05/11.87, allocations: 3.453 kB / 4.103 GB, free: 144.2 MB / 0.4949 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001752/11.87, allocations: 68.22 kB / 4.103 GB, free: 144.1 MB / 0.4949 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.517e-06/11.87, allocations: 3.031 kB / 4.103 GB, free: 144.1 MB / 0.4949 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/11.87, allocations: 3.953 kB / 4.103 GB, free: 144.1 MB / 0.4949 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.447e-06/11.87, allocations: 0 / 4.103 GB, free: 144.1 MB / 0.4949 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001602/11.87, allocations: 154.5 kB / 4.103 GB, free: 143.9 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/11.87, allocations: 3.219 kB / 4.103 GB, free: 143.9 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.257e-05/11.87, allocations: 6.594 kB / 4.103 GB, free: 143.9 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.086e-06/11.87, allocations: 0 / 4.103 GB, free: 143.9 MB / 0.4949 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.774e-06/11.87, allocations: 0 / 4.103 GB, free: 143.9 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.923e-06/11.87, allocations: 3.281 kB / 4.103 GB, free: 143.9 MB / 0.4949 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/11.87, allocations: 4 kB / 4.103 GB, free: 143.9 MB / 0.4949 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001154/11.87, allocations: 150.8 kB / 4.104 GB, free: 143.8 MB / 0.4949 GB Notification: Performance of postOpt removeConstants (simulation): time 2.843e-05/11.87, allocations: 81.05 kB / 4.104 GB, free: 143.7 MB / 0.4949 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.635e-05/11.87, allocations: 0 / 4.104 GB, free: 143.7 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.828e-05/11.87, allocations: 128 / 4.104 GB, free: 143.7 MB / 0.4949 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.548e-05/11.87, allocations: 3.188 kB / 4.104 GB, free: 143.7 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.327e-06/11.87, allocations: 4 kB / 4.104 GB, free: 143.7 MB / 0.4949 GB Notification: Performance of sorting global known variables: time 3.018e-05/11.87, allocations: 85.34 kB / 4.104 GB, free: 143.6 MB / 0.4949 GB Notification: Performance of sort global known variables: time 3.9e-07/11.87, allocations: 4 kB / 4.104 GB, free: 143.6 MB / 0.4949 GB Notification: Performance of remove unused functions: time 0.0008397/11.87, allocations: 137.5 kB / 4.104 GB, free: 143.6 MB / 0.4949 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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.001705/11.87, allocations: 1.216 MB / 4.105 GB, free: 142.8 MB / 0.4949 GB Notification: Performance of simCode: created initialization part: time 0.0001519/11.87, allocations: 33.09 kB / 4.105 GB, free: 142.7 MB / 0.4949 GB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/11.87, allocations: 0 / 4.105 GB, free: 142.7 MB / 0.4949 GB Notification: Performance of simCode: created simulation system equations: time 2.216e-05/11.87, allocations: 6.406 kB / 4.105 GB, free: 142.7 MB / 0.4949 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002393/11.87, allocations: 11.19 kB / 4.105 GB, free: 142.7 MB / 0.4949 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008093/11.87, allocations: 273.9 kB / 4.105 GB, free: 142.5 MB / 0.4949 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001543/11.87, allocations: 0.6866 MB / 4.106 GB, free: 141.8 MB / 0.4949 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.408e-05/11.87, allocations: 18.64 kB / 4.106 GB, free: 141.8 MB / 0.4949 GB Notification: Performance of SimCode: time 9.32e-07/11.87, allocations: 0 / 4.106 GB, free: 141.8 MB / 0.4949 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.602/14.47, allocations: 5.322 MB / 4.111 GB, free: 141.1 MB / 0.4949 GB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.MoistAir.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.MoistAir.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.MoistAir.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.MoistAir.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.MoistAir_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Media_TestOnly_MoistAir_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Media_TestOnly_MoistAir.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.MoistAir.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.MoistAir_res.mat does not exist to compare? outputFormat=mat