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.002367/0.002372, allocations: 181.1 kB / 13.66 MB, free: 1.664 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.091/2.091, allocations: 205.2 MB / 219.4 MB, free: 14.29 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.00109/0.00109, allocations: 86.69 kB / 267.5 MB, free: 14.11 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2838/0.2838, allocations: 43.49 MB / 359.1 MB, free: 12.24 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.664e-05/3.676e-05, allocations: 8 kB / 425.4 MB, free: 23.28 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1198/0.1199, allocations: 58.85 MB / 484.2 MB, free: 12.38 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 11.39/11.51, allocations: 3.576 GB / 4.049 GB, free: 32.57 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003036/11.51, allocations: 75.12 kB / 4.049 GB, free: 32.54 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.5186/12.03, allocations: 47.33 MB / 4.095 GB, free: 156.2 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.733e-06/12.03, allocations: 0 / 4.095 GB, free: 156.2 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 6.863e-06/12.03, allocations: 0.875 kB / 4.095 GB, free: 156.2 MB / 0.4948 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.001196/12.03, allocations: 483 kB / 4.095 GB, free: 155.8 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.075e-05/12.03, allocations: 12.56 kB / 4.095 GB, free: 155.8 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.109e-05/12.03, allocations: 39.52 kB / 4.095 GB, free: 155.7 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.283e-05/12.03, allocations: 6.656 kB / 4.095 GB, free: 155.7 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.158e-05/12.03, allocations: 164.7 kB / 4.096 GB, free: 155.5 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.422e-05/12.03, allocations: 4.875 kB / 4.096 GB, free: 155.5 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.428e-05/12.03, allocations: 3.031 kB / 4.096 GB, free: 155.5 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001803/12.03, allocations: 73.7 kB / 4.096 GB, free: 155.5 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.032e-05/12.03, allocations: 0 / 4.096 GB, free: 155.5 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.134e-05/12.03, allocations: 6.422 kB / 4.096 GB, free: 155.5 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.628e-05/12.03, allocations: 4.031 kB / 4.096 GB, free: 155.5 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001509/12.03, allocations: 54.11 kB / 4.096 GB, free: 155.5 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004398/12.03, allocations: 299.2 kB / 4.096 GB, free: 155.2 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 9.423e-05/12.03, allocations: 33.72 kB / 4.096 GB, free: 155.2 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.271e-05/12.03, allocations: 11.11 kB / 4.096 GB, free: 155.2 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001385/12.03, allocations: 91.52 kB / 4.096 GB, free: 155.1 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.018e-05/12.04, allocations: 32.59 kB / 4.096 GB, free: 155.1 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=3): time 1.833e-06/12.04, allocations: 1.156 kB / 4.096 GB, free: 155.1 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3): time 0.0001708/12.04, allocations: 46.67 kB / 4.096 GB, free: 155 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.872e-05/12.04, allocations: 57.44 kB / 4.096 GB, free: 155 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.684e-05/12.04, allocations: 92.75 kB / 4.096 GB, free: 154.9 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.168e-05/12.04, allocations: 30.67 kB / 4.096 GB, free: 154.8 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 4.584e-05/12.04, allocations: 167.1 kB / 4.097 GB, free: 154.7 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.187e-05/12.04, allocations: 6.531 kB / 4.097 GB, free: 154.7 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.4e-06/12.04, allocations: 3.312 kB / 4.097 GB, free: 154.7 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 5.692e-05/12.04, allocations: 318.3 kB / 4.097 GB, free: 154.4 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.794e-05/12.04, allocations: 5.156 kB / 4.097 GB, free: 154.4 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.463e-05/12.04, allocations: 29.16 kB / 4.097 GB, free: 154.3 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.184e-05/12.04, allocations: 18.98 kB / 4.097 GB, free: 154.3 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.925e-06/12.04, allocations: 0 / 4.097 GB, free: 154.3 MB / 0.4948 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001406/12.04, allocations: 69.38 kB / 4.097 GB, free: 154.3 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.824e-05/12.04, allocations: 8.844 kB / 4.097 GB, free: 154.3 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/12.04, allocations: 1.062 kB / 4.097 GB, free: 154.3 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.525e-05/12.04, allocations: 1.094 kB / 4.097 GB, free: 154.3 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.634e-05/12.04, allocations: 12.67 kB / 4.097 GB, free: 154.3 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.107e-06/12.04, allocations: 5.312 kB / 4.097 GB, free: 154.3 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.285e-05/12.04, allocations: 11.17 kB / 4.097 GB, free: 154.3 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.587e-05/12.04, allocations: 3.438 kB / 4.097 GB, free: 154.3 MB / 0.4948 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 (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 5.322e-05/12.04, allocations: 103.3 kB / 4.097 GB, free: 154.2 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.078e-05/12.04, allocations: 8.984 kB / 4.097 GB, free: 154.2 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000185/12.04, allocations: 60.95 kB / 4.097 GB, free: 154.1 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.048e-06/12.04, allocations: 0 / 4.097 GB, free: 154.1 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/12.04, allocations: 3.531 kB / 4.097 GB, free: 154.1 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.538e-06/12.04, allocations: 3.469 kB / 4.097 GB, free: 154.1 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001578/12.04, allocations: 162.6 kB / 4.097 GB, free: 154 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-06/12.04, allocations: 1.062 kB / 4.097 GB, free: 154 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.707e-05/12.04, allocations: 7.312 kB / 4.097 GB, free: 154 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.168e-06/12.04, allocations: 3.953 kB / 4.097 GB, free: 153.9 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.097e-06/12.04, allocations: 3.344 kB / 4.097 GB, free: 153.9 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.386e-06/12.04, allocations: 4.641 kB / 4.097 GB, free: 153.9 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.364e-06/12.04, allocations: 3.188 kB / 4.097 GB, free: 153.9 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001137/12.04, allocations: 141.8 kB / 4.097 GB, free: 153.8 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 2.969e-05/12.04, allocations: 87.88 kB / 4.098 GB, free: 153.7 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.881e-05/12.04, allocations: 6.891 kB / 4.098 GB, free: 153.7 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.644e-05/12.04, allocations: 0 / 4.098 GB, free: 153.7 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.775e-05/12.04, allocations: 6.125 kB / 4.098 GB, free: 153.7 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.365e-06/12.04, allocations: 5.094 kB / 4.098 GB, free: 153.7 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 3.178e-05/12.04, allocations: 81.75 kB / 4.098 GB, free: 153.6 MB / 0.4948 GB Notification: Performance of sort global known variables: time 4.41e-07/12.04, allocations: 1.438 kB / 4.098 GB, free: 153.6 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0008831/12.04, allocations: 128.9 kB / 4.098 GB, free: 153.6 MB / 0.4948 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 (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.001657/12.04, allocations: 1.223 MB / 4.099 GB, free: 152.9 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001343/12.04, allocations: 26.69 kB / 4.099 GB, free: 152.9 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/12.04, allocations: 0 / 4.099 GB, free: 152.9 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 2.787e-05/12.04, allocations: 15.73 kB / 4.099 GB, free: 152.9 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002357/12.04, allocations: 5.391 kB / 4.099 GB, free: 152.9 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005755/12.04, allocations: 179.6 kB / 4.099 GB, free: 152.7 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001514/12.04, allocations: 0.6831 MB / 4.1 GB, free: 152 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.012e-05/12.04, allocations: 19.27 kB / 4.1 GB, free: 152 MB / 0.4948 GB Notification: Performance of SimCode: time 7.52e-07/12.04, allocations: 4.062 kB / 4.1 GB, free: 152 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.75/14.79, allocations: 5.303 MB / 4.105 GB, free: 151.4 MB / 0.4948 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