Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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_ModelicaTest_Media_TestOnly_MoistAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.MoistAir,fileNamePrefix="ModelicaTest_3_2_3_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.002501/0.002501, allocations: 183 kB / 13.19 MB, free: 2.129 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.088/2.088, allocations: 205.2 MB / 218.9 MB, free: 9.152 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.001116/0.001116, allocations: 87.8 kB / 267 MB, free: 9.277 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.4914/0.4914, allocations: 43.46 MB / 358.6 MB, free: 52.27 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.623e-05/3.632e-05, allocations: 0 / 425.4 MB, free: 8.816 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1529/0.153, allocations: 58.84 MB / 484.2 MB, free: 13.87 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 9.623/9.776, allocations: 3.576 GB / 4.049 GB, free: 105 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002191/9.776, allocations: 68.66 kB / 4.049 GB, free: 104.9 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.09991/9.876, allocations: 47.34 MB / 4.095 GB, free: 57.13 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.705e-06/9.876, allocations: 0 / 4.095 GB, free: 57.13 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 8.716e-06/9.876, allocations: 0 / 4.095 GB, free: 57.13 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.001135/9.877, allocations: 484.5 kB / 4.095 GB, free: 56.62 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.751e-05/9.877, allocations: 12.03 kB / 4.095 GB, free: 56.61 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.78e-05/9.877, allocations: 30.56 kB / 4.095 GB, free: 56.57 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.75e-05/9.877, allocations: 8 kB / 4.095 GB, free: 56.56 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.564e-05/9.878, allocations: 174.9 kB / 4.096 GB, free: 56.35 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.186e-05/9.878, allocations: 7.984 kB / 4.096 GB, free: 56.34 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.389e-05/9.878, allocations: 4 kB / 4.096 GB, free: 56.34 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000151/9.878, allocations: 65.83 kB / 4.096 GB, free: 56.27 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.738e-06/9.878, allocations: 0 / 4.096 GB, free: 56.27 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.005e-05/9.878, allocations: 4 kB / 4.096 GB, free: 56.26 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.246e-05/9.878, allocations: 7.984 kB / 4.096 GB, free: 56.25 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.242e-05/9.878, allocations: 43.98 kB / 4.096 GB, free: 56.21 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000383/9.878, allocations: 300.6 kB / 4.096 GB, free: 55.87 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 6.53e-05/9.878, allocations: 34.56 kB / 4.096 GB, free: 55.82 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.472e-05/9.878, allocations: 13.02 kB / 4.096 GB, free: 55.81 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001126/9.878, allocations: 93.12 kB / 4.096 GB, free: 55.7 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.692e-05/9.878, allocations: 34.56 kB / 4.096 GB, free: 55.66 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=3): time 1.532e-06/9.879, allocations: 3.938 kB / 4.096 GB, free: 55.65 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3): time 0.0001542/9.879, allocations: 49.64 kB / 4.096 GB, free: 55.6 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.535e-05/9.879, allocations: 51.41 kB / 4.096 GB, free: 55.54 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.201e-05/9.879, allocations: 96.98 kB / 4.096 GB, free: 55.43 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 9.778e-06/9.879, allocations: 25.7 kB / 4.096 GB, free: 55.4 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 3.456e-05/9.879, allocations: 99.83 kB / 4.096 GB, free: 55.3 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 8.105e-06/9.879, allocations: 7.891 kB / 4.096 GB, free: 55.29 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.238e-06/9.879, allocations: 8 kB / 4.096 GB, free: 55.29 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 6.876e-05/9.879, allocations: 310.8 kB / 4.097 GB, free: 54.97 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.96e-05/9.879, allocations: 11.98 kB / 4.097 GB, free: 54.96 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.306e-05/9.879, allocations: 31.38 kB / 4.097 GB, free: 54.92 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.589e-05/9.879, allocations: 15.98 kB / 4.097 GB, free: 54.9 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/9.879, allocations: 4 kB / 4.097 GB, free: 54.9 MB / 0.4948 GB Notification: Performance of matching and sorting (n=6) (initialization): time 9.59e-05/9.879, allocations: 61.62 kB / 4.097 GB, free: 54.83 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.831e-05/9.879, allocations: 4 kB / 4.097 GB, free: 54.83 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.212e-06/9.879, allocations: 4 kB / 4.097 GB, free: 54.82 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.63e-05/9.879, allocations: 3.953 kB / 4.097 GB, free: 54.82 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.521e-05/9.879, allocations: 15.92 kB / 4.097 GB, free: 54.8 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.949e-06/9.879, allocations: 4 kB / 4.097 GB, free: 54.8 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.831e-05/9.879, allocations: 7.844 kB / 4.097 GB, free: 54.79 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.502e-05/9.879, allocations: 7.984 kB / 4.097 GB, free: 54.79 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.992e-05/9.879, allocations: 109.1 kB / 4.097 GB, free: 54.67 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.01e-05/9.879, allocations: 4 kB / 4.097 GB, free: 54.67 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001651/9.88, allocations: 53.45 kB / 4.097 GB, free: 54.61 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.067e-06/9.88, allocations: 4.047 kB / 4.097 GB, free: 54.61 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.876e-06/9.88, allocations: 7.938 kB / 4.097 GB, free: 54.6 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/9.88, allocations: 7.938 kB / 4.097 GB, free: 54.59 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001402/9.88, allocations: 157.7 kB / 4.097 GB, free: 54.39 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/9.88, allocations: 0 / 4.097 GB, free: 54.39 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.894e-05/9.88, allocations: 7.984 kB / 4.097 GB, free: 54.38 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.316e-06/9.88, allocations: 0 / 4.097 GB, free: 54.38 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.087e-05/9.88, allocations: 128 / 4.097 GB, free: 54.38 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.015e-06/9.88, allocations: 4 kB / 4.097 GB, free: 54.38 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/9.88, allocations: 0 / 4.097 GB, free: 54.38 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001028/9.88, allocations: 151.4 kB / 4.097 GB, free: 54.21 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 2.821e-05/9.88, allocations: 81.11 kB / 4.098 GB, free: 54.11 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.536e-05/9.88, allocations: 3.938 kB / 4.098 GB, free: 54.11 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.817e-05/9.88, allocations: 0 / 4.098 GB, free: 54.11 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.496e-05/9.88, allocations: 7.984 kB / 4.098 GB, free: 54.1 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.711e-06/9.88, allocations: 0 / 4.098 GB, free: 54.1 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 3.099e-05/9.88, allocations: 83.23 kB / 4.098 GB, free: 54.02 MB / 0.4948 GB Notification: Performance of sort global known variables: time 7.11e-07/9.88, allocations: 0 / 4.098 GB, free: 54.02 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0006643/9.881, allocations: 143.7 kB / 4.098 GB, free: 53.88 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.001525/9.882, allocations: 1.226 MB / 4.099 GB, free: 52.64 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001002/9.883, allocations: 23.94 kB / 4.099 GB, free: 52.62 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/9.883, allocations: 0 / 4.099 GB, free: 52.62 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 1.46e-05/9.883, allocations: 15.92 kB / 4.099 GB, free: 52.6 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002152/9.883, allocations: 1.094 kB / 4.099 GB, free: 52.6 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005945/9.883, allocations: 152.8 kB / 4.099 GB, free: 52.42 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002796/9.884, allocations: 0.6889 MB / 4.1 GB, free: 51.7 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 6.779e-05/9.884, allocations: 4 kB / 4.1 GB, free: 51.7 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.781e-05/9.884, allocations: 15.42 kB / 4.1 GB, free: 51.69 MB / 0.4948 GB Notification: Performance of SimCode: time 4.91e-07/9.884, allocations: 0 / 4.1 GB, free: 51.69 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02553/9.909, allocations: 13.53 MB / 4.113 GB, free: 38.2 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001402/9.91, allocations: 137.4 kB / 4.113 GB, free: 37.98 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.092/12, allocations: 7.938 kB / 4.113 GB, free: 37.98 MB / 0.4948 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MoistAir.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MoistAir.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MoistAir.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MoistAir.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MoistAir_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Media_TestOnly_MoistAir_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Media_TestOnly_MoistAir.fmu > ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MoistAir.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MoistAir_res.mat does not exist to compare? outputFormat=mat