Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Media.Examples.ReferenceAir.DryAir2.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) 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(Modelica.Media.Examples.ReferenceAir.DryAir2,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Media_Examples_ReferenceAir_DryAir2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.DryAir2,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Media_Examples_ReferenceAir_DryAir2",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.00153/0.001535, allocations: 186.1 kB / 16.4 MB, free: 5.719 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.011/2.011, allocations: 205.4 MB / 222.5 MB, free: 9.117 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.001196/0.001196, allocations: 91.36 kB / 270.9 MB, free: 8.367 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004831/0.0004835, allocations: 8 kB / 327 MB, free: 112 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3444/0.345, allocations: 47.58 MB / 374.6 MB, free: 45.3 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.008/2.353, allocations: 0.6385 GB / 1.004 GB, free: 99.49 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000293/2.353, allocations: 76.59 kB / 1.004 GB, free: 99.49 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.77/3.123, allocations: 148.8 MB / 1.15 GB, free: 102.2 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.784e-06/3.124, allocations: 0 / 1.15 GB, free: 102.2 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.963e-05/3.124, allocations: 7.875 kB / 1.15 GB, free: 102.2 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.00167/3.125, allocations: 0.693 MB / 1.15 GB, free: 101.8 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.181e-05/3.125, allocations: 11.06 kB / 1.15 GB, free: 101.8 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001339/3.125, allocations: 74.72 kB / 1.15 GB, free: 101.8 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000799/3.126, allocations: 80.2 kB / 1.151 GB, free: 101.7 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006177/3.127, allocations: 341.7 kB / 1.151 GB, free: 101.5 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.689e-05/3.127, allocations: 29.34 kB / 1.151 GB, free: 101.5 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.716e-05/3.127, allocations: 42.67 kB / 1.151 GB, free: 101.5 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009454/3.128, allocations: 459.1 kB / 1.151 GB, free: 101.4 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.851e-05/3.128, allocations: 8.781 kB / 1.151 GB, free: 101.4 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.886e-05/3.128, allocations: 18.78 kB / 1.151 GB, free: 101.4 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.46e-05/3.128, allocations: 10.91 kB / 1.151 GB, free: 101.4 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006849/3.129, allocations: 303 kB / 1.152 GB, free: 101.4 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.018/3.147, allocations: 6.297 MB / 1.158 GB, free: 97.56 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006722/3.148, allocations: 283.3 kB / 1.158 GB, free: 97.54 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01431/3.162, allocations: 3.448 MB / 1.162 GB, free: 95.98 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.174e-05/3.162, allocations: 47.02 kB / 1.162 GB, free: 95.94 MB / 426.7 MB Notification: Performance of pre-optimization done (n=35): time 3.426e-06/3.162, allocations: 0 / 1.162 GB, free: 95.94 MB / 426.7 MB Notification: Performance of matching and sorting (n=45): time 0.01689/3.179, allocations: 2.401 MB / 1.164 GB, free: 95.43 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.399e-05/3.179, allocations: 55.34 kB / 1.164 GB, free: 95.37 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003982/3.179, allocations: 267.6 kB / 1.164 GB, free: 95.27 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 5.4e-05/3.179, allocations: 34.98 kB / 1.164 GB, free: 95.23 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001259/3.18, allocations: 278.1 kB / 1.165 GB, free: 95.02 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001304/3.18, allocations: 157.6 kB / 1.165 GB, free: 94.92 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.174e-05/3.18, allocations: 12.78 kB / 1.165 GB, free: 94.92 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.991e-05/3.18, allocations: 332.5 kB / 1.165 GB, free: 94.61 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003687/3.18, allocations: 150.5 kB / 1.165 GB, free: 94.61 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004708/3.181, allocations: 276.8 kB / 1.165 GB, free: 94.47 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004611/3.181, allocations: 194.5 kB / 1.166 GB, free: 94.46 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.391e-06/3.181, allocations: 0 / 1.166 GB, free: 94.46 MB / 426.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.00158/3.183, allocations: 0.5741 MB / 1.166 GB, free: 94.38 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.336e-05/3.183, allocations: 12.03 kB / 1.166 GB, free: 94.38 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.164e-05/3.183, allocations: 3.656 kB / 1.166 GB, free: 94.38 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01577/3.199, allocations: 0.8644 MB / 1.167 GB, free: 94.32 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000817/3.2, allocations: 102.9 kB / 1.167 GB, free: 94.32 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002268/3.202, allocations: 2.466 MB / 1.17 GB, free: 92.02 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006673/3.203, allocations: 41.83 kB / 1.17 GB, free: 92.02 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.918e-05/3.203, allocations: 21.41 kB / 1.17 GB, free: 92.02 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (61): * Single equations (assignments): 58 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {2 1,2 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0003256/3.203, allocations: 178.3 kB / 1.17 GB, free: 91.89 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001027/3.203, allocations: 39.16 kB / 1.17 GB, free: 91.88 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001717/3.205, allocations: 0.8607 MB / 1.171 GB, free: 91.77 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.687e-05/3.205, allocations: 9.938 kB / 1.171 GB, free: 91.77 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/3.205, allocations: 1.688 kB / 1.171 GB, free: 91.77 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001286/3.206, allocations: 0.9571 MB / 1.172 GB, free: 91.38 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002894/3.209, allocations: 1.491 MB / 1.173 GB, free: 91.02 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.207e-06/3.209, allocations: 0 / 1.173 GB, free: 91.02 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005835/3.21, allocations: 76.36 kB / 1.173 GB, free: 91.02 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005326/3.215, allocations: 0.5965 MB / 1.174 GB, free: 90.98 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001007/3.215, allocations: 15.14 kB / 1.174 GB, free: 90.98 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001119/3.216, allocations: 1.281 MB / 1.175 GB, free: 89.94 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.667e-06/3.216, allocations: 3.844 kB / 1.175 GB, free: 89.94 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002236/3.219, allocations: 1.229 MB / 1.176 GB, free: 89.72 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002079/3.219, allocations: 120.2 kB / 1.176 GB, free: 89.6 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.617e-05/3.219, allocations: 14.41 kB / 1.176 GB, free: 89.6 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004896/3.22, allocations: 21.89 kB / 1.176 GB, free: 89.6 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.687e-05/3.22, allocations: 30.58 kB / 1.176 GB, free: 89.59 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.998e-05/3.22, allocations: 24.36 kB / 1.176 GB, free: 89.59 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.000298/3.22, allocations: 209 kB / 1.177 GB, free: 89.51 MB / 426.7 MB Notification: Performance of sort global known variables: time 3.61e-07/3.22, allocations: 0 / 1.177 GB, free: 89.51 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001319/3.221, allocations: 250 kB / 1.177 GB, free: 89.48 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 4 (volume.medium.p,volume.medium.T,volume1.medium.p,volume1.medium.T) * 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 (43): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 2,1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.004121/3.225, allocations: 2.185 MB / 1.179 GB, free: 88.36 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001828/3.227, allocations: 0.6763 MB / 1.18 GB, free: 88.05 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.23e-06/3.227, allocations: 0 / 1.18 GB, free: 88.05 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001671/3.229, allocations: 452 kB / 1.18 GB, free: 87.89 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002213/3.231, allocations: 224.6 kB / 1.18 GB, free: 87.84 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007244/3.239, allocations: 5.306 MB / 1.185 GB, free: 83.84 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000357/3.239, allocations: 0.8466 MB / 1.186 GB, free: 83.12 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003303/3.239, allocations: 160.5 kB / 1.186 GB, free: 83.01 MB / 426.7 MB Notification: Performance of SimCode: time 9.52e-07/3.239, allocations: 3.062 kB / 1.186 GB, free: 83.01 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.024/6.263, allocations: 15.11 MB / 1.201 GB, free: 82.05 MB / 426.7 MB (rm -f Modelica_3.2.3_cpp_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Media.Examples.ReferenceAir.DryAir2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_cpp_Modelica.Media.Examples.ReferenceAir.DryAir2_res.mat --tempDir=temp_Modelica_3_2_3_cpp_Modelica_Media_Examples_ReferenceAir_DryAir2_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_cpp_Modelica_Media_Examples_ReferenceAir_DryAir2.fmu > Modelica_3.2.3_cpp_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_cpp_Modelica.Media.Examples.ReferenceAir.DryAir2_res.mat does not exist to compare? outputFormat=mat