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.002438/0.002438, allocations: 178.4 kB / 8.362 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.055/2.055, allocations: 205.3 MB / 214.1 MB, free: 14.09 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001131/0.001131, allocations: 87.77 kB / 262.1 MB, free: 13.86 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3/0.3, allocations: 43.5 MB / 353.6 MB, free: 2.266 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.564e-05/2.606e-05, allocations: 224 / 418.3 MB, free: 40.95 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.415/0.4151, allocations: 58.85 MB / 477.2 MB, free: 5.156 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 10.7/11.12, allocations: 3.575 GB / 4.041 GB, free: 7.02 MB / 0.4952 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002521/11.12, allocations: 70.09 kB / 4.041 GB, free: 6.984 MB / 0.4952 GB Notification: Performance of FrontEnd - DAE generated: time 0.4907/11.61, allocations: 46.63 MB / 4.087 GB, free: 168.9 MB / 0.4952 GB Notification: Performance of FrontEnd: time 1.573e-06/11.61, allocations: 0 / 4.087 GB, free: 168.9 MB / 0.4952 GB Notification: Performance of Transformations before backend: time 5.481e-06/11.61, allocations: 0 / 4.087 GB, free: 168.9 MB / 0.4952 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.0008799/11.61, allocations: 484.6 kB / 4.087 GB, free: 168.5 MB / 0.4952 GB Notification: Performance of prepare preOptimizeDAE: time 4.753e-05/11.61, allocations: 7.906 kB / 4.087 GB, free: 168.5 MB / 0.4952 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.159e-05/11.61, allocations: 12.39 kB / 4.087 GB, free: 168.4 MB / 0.4952 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.064e-05/11.61, allocations: 163 kB / 4.087 GB, free: 168.2 MB / 0.4952 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.42e-05/11.61, allocations: 3.953 kB / 4.087 GB, free: 168.2 MB / 0.4952 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.558e-05/11.61, allocations: 7.781 kB / 4.087 GB, free: 168.2 MB / 0.4952 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001356/11.61, allocations: 47.33 kB / 4.087 GB, free: 168.2 MB / 0.4952 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001133/11.61, allocations: 65.11 kB / 4.087 GB, free: 168.2 MB / 0.4952 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.01e-05/11.61, allocations: 0 / 4.087 GB, free: 168.2 MB / 0.4952 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.031e-05/11.61, allocations: 0 / 4.087 GB, free: 168.2 MB / 0.4952 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.412e-05/11.61, allocations: 3.938 kB / 4.087 GB, free: 168.2 MB / 0.4952 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003723/11.61, allocations: 268.7 kB / 4.088 GB, free: 167.9 MB / 0.4952 GB Notification: Performance of preOpt comSubExp (simulation): time 7.509e-05/11.61, allocations: 37.94 kB / 4.088 GB, free: 167.9 MB / 0.4952 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.513e-05/11.61, allocations: 12.77 kB / 4.088 GB, free: 167.9 MB / 0.4952 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001363/11.61, allocations: 93.09 kB / 4.088 GB, free: 167.8 MB / 0.4952 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.138e-05/11.61, allocations: 34.5 kB / 4.088 GB, free: 167.7 MB / 0.4952 GB Notification: Performance of pre-optimization done (n=3): time 1.693e-06/11.61, allocations: 0 / 4.088 GB, free: 167.7 MB / 0.4952 GB Notification: Performance of matching and sorting (n=3): time 0.0004543/11.61, allocations: 85.12 kB / 4.088 GB, free: 167.6 MB / 0.4952 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.886e-05/11.61, allocations: 55.41 kB / 4.088 GB, free: 167.6 MB / 0.4952 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.925e-05/11.61, allocations: 92.92 kB / 4.088 GB, free: 167.5 MB / 0.4952 GB Notification: Performance of collectPreVariables (initialization): time 1.069e-05/11.61, allocations: 29.67 kB / 4.088 GB, free: 167.5 MB / 0.4952 GB Notification: Performance of collectInitialEqns (initialization): time 4.164e-05/11.61, allocations: 166.3 kB / 4.088 GB, free: 167.3 MB / 0.4952 GB Notification: Performance of collectInitialBindings (initialization): time 9.257e-06/11.61, allocations: 3.906 kB / 4.088 GB, free: 167.3 MB / 0.4952 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.418e-06/11.61, allocations: 3.969 kB / 4.088 GB, free: 167.3 MB / 0.4952 GB Notification: Performance of setup shared object (initialization): time 5.701e-05/11.61, allocations: 322.8 kB / 4.089 GB, free: 167 MB / 0.4952 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.06e-05/11.61, allocations: 3.781 kB / 4.089 GB, free: 167 MB / 0.4952 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.95e-05/11.61, allocations: 31.41 kB / 4.089 GB, free: 166.9 MB / 0.4952 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003171/11.61, allocations: 51.62 kB / 4.089 GB, free: 166.9 MB / 0.4952 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/11.61, allocations: 3.938 kB / 4.089 GB, free: 166.9 MB / 0.4952 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003948/11.61, allocations: 108.5 kB / 4.089 GB, free: 166.8 MB / 0.4952 GB Notification: Performance of prepare postOptimizeDAE: time 1.623e-05/11.61, allocations: 3.781 kB / 4.089 GB, free: 166.8 MB / 0.4952 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/11.61, allocations: 4.094 kB / 4.089 GB, free: 166.8 MB / 0.4952 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.549e-05/11.61, allocations: 3.969 kB / 4.089 GB, free: 166.8 MB / 0.4952 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.826e-05/11.61, allocations: 11.69 kB / 4.089 GB, free: 166.8 MB / 0.4952 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.164e-06/11.61, allocations: 7.953 kB / 4.089 GB, free: 166.8 MB / 0.4952 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.742e-05/11.61, allocations: 7.844 kB / 4.089 GB, free: 166.8 MB / 0.4952 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.335e-05/11.61, allocations: 3.812 kB / 4.089 GB, free: 166.8 MB / 0.4952 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.219e-05/11.61, allocations: 104.9 kB / 4.089 GB, free: 166.7 MB / 0.4952 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003668/11.61, allocations: 84.78 kB / 4.089 GB, free: 166.6 MB / 0.4952 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.629e-05/11.61, allocations: 0 / 4.089 GB, free: 166.6 MB / 0.4952 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004369/11.61, allocations: 104.9 kB / 4.089 GB, free: 166.6 MB / 0.4952 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.005e-06/11.61, allocations: 0 / 4.089 GB, free: 166.6 MB / 0.4952 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.92e-06/11.61, allocations: 0 / 4.089 GB, free: 166.6 MB / 0.4952 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-06/11.61, allocations: 3.906 kB / 4.089 GB, free: 166.6 MB / 0.4952 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001357/11.61, allocations: 146 kB / 4.089 GB, free: 166.4 MB / 0.4952 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/11.61, allocations: 0 / 4.089 GB, free: 166.4 MB / 0.4952 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.234e-05/11.61, allocations: 7.828 kB / 4.089 GB, free: 166.4 MB / 0.4952 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.216e-06/11.61, allocations: 4 kB / 4.089 GB, free: 166.4 MB / 0.4952 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.857e-06/11.61, allocations: 3.969 kB / 4.089 GB, free: 166.4 MB / 0.4952 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/11.61, allocations: 0 / 4.089 GB, free: 166.4 MB / 0.4952 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-06/11.61, allocations: 3.984 kB / 4.089 GB, free: 166.4 MB / 0.4952 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003774/11.61, allocations: 182.5 kB / 4.089 GB, free: 166.2 MB / 0.4952 GB Notification: Performance of postOpt removeConstants (simulation): time 2.587e-05/11.61, allocations: 85.05 kB / 4.09 GB, free: 166.1 MB / 0.4952 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.67e-05/11.61, allocations: 3.984 kB / 4.09 GB, free: 166.1 MB / 0.4952 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.275e-05/11.61, allocations: 0 / 4.09 GB, free: 166.1 MB / 0.4952 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.527e-05/11.61, allocations: 7.969 kB / 4.09 GB, free: 166.1 MB / 0.4952 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.064e-06/11.61, allocations: 0 / 4.09 GB, free: 166.1 MB / 0.4952 GB Notification: Performance of sorting global known variables: time 2.689e-05/11.61, allocations: 79.25 kB / 4.09 GB, free: 166 MB / 0.4952 GB Notification: Performance of sort global known variables: time 4.81e-07/11.61, allocations: 0 / 4.09 GB, free: 166 MB / 0.4952 GB Notification: Performance of remove unused functions: time 0.0007035/11.61, allocations: 124.5 kB / 4.09 GB, free: 166 MB / 0.4952 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.001805/11.62, allocations: 1.358 MB / 4.091 GB, free: 165.1 MB / 0.4952 GB Notification: Performance of simCode: created initialization part: time 0.0001043/11.62, allocations: 23.3 kB / 4.091 GB, free: 165.1 MB / 0.4952 GB Notification: Performance of simCode: created event and clocks part: time 4.158e-06/11.62, allocations: 192 / 4.091 GB, free: 165.1 MB / 0.4952 GB Notification: Performance of simCode: created simulation system equations: time 1.867e-05/11.62, allocations: 15.66 kB / 4.091 GB, free: 165 MB / 0.4952 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002331/11.62, allocations: 3.625 kB / 4.091 GB, free: 165 MB / 0.4952 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004707/11.62, allocations: 181.4 kB / 4.091 GB, free: 164.9 MB / 0.4952 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00015/11.62, allocations: 0.6804 MB / 4.092 GB, free: 164.2 MB / 0.4952 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.375e-05/11.62, allocations: 19.11 kB / 4.092 GB, free: 164.1 MB / 0.4952 GB Notification: Performance of SimCode: time 7.12e-07/11.62, allocations: 0 / 4.092 GB, free: 164.1 MB / 0.4952 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.577/14.2, allocations: 5.285 MB / 4.097 GB, free: 158.9 MB / 0.4952 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