Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MoistAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestOnly.MoistAir,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestOnly_MoistAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.MoistAir,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestOnly_MoistAir",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001087/0.001087, allocations: 202.8 kB / 8.768 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.456/1.456, allocations: 225.6 MB / 234.8 MB, free: 3.219 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001027/0.001027, allocations: 99.78 kB / 286.7 MB, free: 5.348 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1978/0.1978, allocations: 45.15 MB / 383.8 MB, free: 272 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.543e-05/1.553e-05, allocations: 3.984 kB / 453.3 MB, free: 75.75 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09694/0.09697, allocations: 63.25 MB / 0.5044 GB, free: 12.57 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.287/8.384, allocations: 3.302 GB / 3.806 GB, free: 159.4 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004389/8.384, allocations: 72.7 kB / 3.806 GB, free: 159.4 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.1198/8.504, allocations: 51.17 MB / 3.856 GB, free: 133 MB / 0.5261 GB Notification: Performance of FrontEnd: time 3.347e-06/8.504, allocations: 0 / 3.856 GB, free: 133 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 7.174e-06/8.504, allocations: 4 kB / 3.856 GB, free: 133 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.001205/8.505, allocations: 0.5134 MB / 3.857 GB, free: 132.5 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.646e-05/8.505, allocations: 8.031 kB / 3.857 GB, free: 132.5 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.507e-05/8.506, allocations: 8.531 kB / 3.857 GB, free: 132.5 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.745e-05/8.506, allocations: 170.9 kB / 3.857 GB, free: 132.3 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.751e-05/8.506, allocations: 0 / 3.857 GB, free: 132.3 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.465e-05/8.506, allocations: 8 kB / 3.857 GB, free: 132.3 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000152/8.506, allocations: 54.28 kB / 3.857 GB, free: 132.2 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.942e-05/8.506, allocations: 64.69 kB / 3.857 GB, free: 132.2 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.522e-06/8.506, allocations: 0 / 3.857 GB, free: 132.2 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.174e-06/8.506, allocations: 3.984 kB / 3.857 GB, free: 132.2 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.484e-05/8.506, allocations: 8 kB / 3.857 GB, free: 132.1 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004627/8.506, allocations: 271.2 kB / 3.857 GB, free: 131.9 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 6.328e-05/8.507, allocations: 30.56 kB / 3.857 GB, free: 131.8 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.72e-05/8.507, allocations: 12.55 kB / 3.857 GB, free: 131.8 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002832/8.507, allocations: 259.2 kB / 3.858 GB, free: 131.5 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.253e-05/8.507, allocations: 38.55 kB / 3.858 GB, free: 131.5 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=4): time 1.593e-06/8.507, allocations: 0 / 3.858 GB, free: 131.5 MB / 0.5261 GB Notification: Performance of matching and sorting (n=4): time 0.0005439/8.508, allocations: 96.94 kB / 3.858 GB, free: 131.4 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.292e-05/8.508, allocations: 51.41 kB / 3.858 GB, free: 131.3 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.349e-05/8.508, allocations: 92.94 kB / 3.858 GB, free: 131.2 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.378e-05/8.508, allocations: 25.7 kB / 3.858 GB, free: 131.2 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 4.527e-05/8.508, allocations: 99.88 kB / 3.858 GB, free: 131.1 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 1.653e-05/8.508, allocations: 15.31 kB / 3.858 GB, free: 131.1 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.608e-06/8.508, allocations: 4 kB / 3.858 GB, free: 131.1 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 8.818e-05/8.508, allocations: 314.8 kB / 3.858 GB, free: 130.7 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.839e-05/8.508, allocations: 7.438 kB / 3.858 GB, free: 130.7 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.864e-05/8.508, allocations: 34.98 kB / 3.858 GB, free: 130.7 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003213/8.508, allocations: 55.86 kB / 3.858 GB, free: 130.6 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-06/8.508, allocations: 4 kB / 3.858 GB, free: 130.6 MB / 0.5261 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003629/8.509, allocations: 116.7 kB / 3.858 GB, free: 130.5 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.383e-05/8.509, allocations: 4 kB / 3.858 GB, free: 130.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.507e-05/8.509, allocations: 4.156 kB / 3.858 GB, free: 130.5 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.954e-05/8.509, allocations: 7.922 kB / 3.858 GB, free: 130.5 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.996e-05/8.509, allocations: 19.92 kB / 3.858 GB, free: 130.5 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.069e-05/8.509, allocations: 8.094 kB / 3.858 GB, free: 130.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.819e-05/8.509, allocations: 4 kB / 3.858 GB, free: 130.5 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.369e-05/8.509, allocations: 0 / 3.858 GB, free: 130.5 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 6.824e-05/8.509, allocations: 116.6 kB / 3.859 GB, free: 130.4 MB / 0.5261 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003141/8.509, allocations: 96.95 kB / 3.859 GB, free: 130.3 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.166e-05/8.509, allocations: 4 kB / 3.859 GB, free: 130.3 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003738/8.51, allocations: 112.8 kB / 3.859 GB, free: 130.1 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.248e-06/8.51, allocations: 4 kB / 3.859 GB, free: 130.1 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.541e-06/8.51, allocations: 0 / 3.859 GB, free: 130.1 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.367e-06/8.51, allocations: 0 / 3.859 GB, free: 130.1 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000122/8.51, allocations: 142 kB / 3.859 GB, free: 130 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.415e-06/8.51, allocations: 0 / 3.859 GB, free: 130 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.393e-05/8.51, allocations: 11.92 kB / 3.859 GB, free: 130 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.637e-06/8.51, allocations: 0 / 3.859 GB, free: 130 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.859e-06/8.51, allocations: 4 kB / 3.859 GB, free: 130 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.545e-06/8.51, allocations: 0 / 3.859 GB, free: 130 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.549e-06/8.51, allocations: 3.953 kB / 3.859 GB, free: 129.9 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000347/8.51, allocations: 194.1 kB / 3.859 GB, free: 129.8 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 3.557e-05/8.51, allocations: 85.09 kB / 3.859 GB, free: 129.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.561e-05/8.51, allocations: 0 / 3.859 GB, free: 129.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.569e-05/8.51, allocations: 3.938 kB / 3.859 GB, free: 129.6 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.831e-05/8.51, allocations: 4 kB / 3.859 GB, free: 129.6 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.113e-06/8.51, allocations: 7.953 kB / 3.859 GB, free: 129.6 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 3.209e-05/8.511, allocations: 79.28 kB / 3.859 GB, free: 129.6 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.3e-07/8.511, allocations: 0 / 3.859 GB, free: 129.6 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0008362/8.511, allocations: 192.6 kB / 3.859 GB, free: 129.4 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.00264/8.514, allocations: 1.455 MB / 3.861 GB, free: 128 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0001338/8.514, allocations: 23.55 kB / 3.861 GB, free: 127.9 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.078e-06/8.514, allocations: 0 / 3.861 GB, free: 127.9 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 1.598e-05/8.514, allocations: 11.94 kB / 3.861 GB, free: 127.9 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002266/8.514, allocations: 7.812 kB / 3.861 GB, free: 127.9 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006536/8.515, allocations: 201 kB / 3.861 GB, free: 127.7 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001614/8.515, allocations: 0.6807 MB / 3.862 GB, free: 127 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 7.41e-05/8.515, allocations: 19.92 kB / 3.862 GB, free: 127 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.731e-05/8.515, allocations: 15.38 kB / 3.862 GB, free: 126.9 MB / 0.5261 GB Notification: Performance of SimCode: time 3e-07/8.515, allocations: 0 / 3.862 GB, free: 126.9 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03186/8.547, allocations: 7.809 MB / 3.869 GB, free: 119.1 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001822/8.548, allocations: 162.3 kB / 3.87 GB, free: 119 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.921/10.47, allocations: 4 kB / 3.87 GB, free: 118.9 MB / 0.5261 GB (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MoistAir.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MoistAir.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MoistAir.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MoistAir.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MoistAir_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Media_TestOnly_MoistAir_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Media_TestOnly_MoistAir.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MoistAir.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MoistAir_res.mat does not exist to compare? outputFormat=mat