Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Media.Examples.ReferenceAir.DryAir1.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.DryAir1,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Media_Examples_ReferenceAir_DryAir1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.DryAir1,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Media_Examples_ReferenceAir_DryAir1",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.00169/0.001689, allocations: 186.2 kB / 16.4 MB, free: 5.746 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.318/2.318, allocations: 205.4 MB / 222.5 MB, free: 9.121 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.001147/0.001147, allocations: 106 kB / 270.9 MB, free: 8.359 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004022/0.0004022, allocations: 12 kB / 327.1 MB, free: 112 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3443/0.3447, allocations: 47.56 MB / 374.6 MB, free: 45.32 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.953/2.298, allocations: 0.6386 GB / 1.004 GB, free: 99.43 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002778/2.299, allocations: 78.86 kB / 1.004 GB, free: 99.43 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.958/4.257, allocations: 471.8 MB / 1.465 GB, free: 108.1 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.685e-06/4.257, allocations: 0.5 kB / 1.465 GB, free: 108.1 MB / 426.7 MB Notification: Performance of Transformations before backend: time 4.555e-05/4.257, allocations: 7.844 kB / 1.465 GB, free: 108.1 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: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 0.0018/4.259, allocations: 0.7463 MB / 1.466 GB, free: 107.7 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.07e-05/4.259, allocations: 8.875 kB / 1.466 GB, free: 107.7 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001007/4.259, allocations: 66.72 kB / 1.466 GB, free: 107.7 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005861/4.26, allocations: 54.31 kB / 1.466 GB, free: 107.6 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004428/4.26, allocations: 277.4 kB / 1.466 GB, free: 107.4 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.103e-05/4.26, allocations: 24.25 kB / 1.466 GB, free: 107.4 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.294e-05/4.26, allocations: 32.55 kB / 1.466 GB, free: 107.4 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006657/4.261, allocations: 332.1 kB / 1.467 GB, free: 107.3 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.464e-05/4.261, allocations: 7.688 kB / 1.467 GB, free: 107.3 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.617e-05/4.261, allocations: 12.78 kB / 1.467 GB, free: 107.3 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.095e-05/4.261, allocations: 3.938 kB / 1.467 GB, free: 107.3 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005552/4.262, allocations: 209.8 kB / 1.467 GB, free: 107.3 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01872/4.28, allocations: 5.476 MB / 1.472 GB, free: 104.1 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004632/4.281, allocations: 177.6 kB / 1.473 GB, free: 104 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01445/4.295, allocations: 3.439 MB / 1.476 GB, free: 102.4 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.871e-05/4.296, allocations: 40 kB / 1.476 GB, free: 102.4 MB / 426.7 MB Notification: Performance of pre-optimization done (n=21): time 3.396e-06/4.296, allocations: 0.5625 kB / 1.476 GB, free: 102.4 MB / 426.7 MB Notification: Performance of matching and sorting (n=26): time 0.008967/4.305, allocations: 1.374 MB / 1.477 GB, free: 102 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.607e-05/4.305, allocations: 57.31 kB / 1.477 GB, free: 101.9 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003495/4.305, allocations: 230.2 kB / 1.478 GB, free: 101.8 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.403e-05/4.305, allocations: 30.48 kB / 1.478 GB, free: 101.8 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00011/4.305, allocations: 243.8 kB / 1.478 GB, free: 101.6 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.22e-05/4.305, allocations: 94.19 kB / 1.478 GB, free: 101.5 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.613e-05/4.305, allocations: 7.906 kB / 1.478 GB, free: 101.5 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.000113/4.305, allocations: 332.6 kB / 1.478 GB, free: 101.2 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002471/4.306, allocations: 86.12 kB / 1.478 GB, free: 101.2 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003035/4.306, allocations: 189.3 kB / 1.478 GB, free: 101.1 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003204/4.306, allocations: 119.4 kB / 1.479 GB, free: 101.1 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.338e-06/4.306, allocations: 5.062 kB / 1.479 GB, free: 101.1 MB / 426.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001081/4.307, allocations: 376.2 kB / 1.479 GB, free: 101 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.311e-05/4.307, allocations: 8.625 kB / 1.479 GB, free: 101 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.203e-05/4.307, allocations: 3.688 kB / 1.479 GB, free: 101 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007927/4.315, allocations: 459 kB / 1.479 GB, free: 101 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005603/4.316, allocations: 68.55 kB / 1.479 GB, free: 101 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001825/4.318, allocations: 1.888 MB / 1.481 GB, free: 99.21 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004846/4.318, allocations: 26.73 kB / 1.481 GB, free: 99.2 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.805e-05/4.318, allocations: 11.56 kB / 1.481 GB, free: 99.2 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (39): * Single equations (assignments): 37 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002594/4.319, allocations: 162.3 kB / 1.481 GB, free: 99.08 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.254e-05/4.319, allocations: 30.16 kB / 1.482 GB, free: 99.07 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001006/4.32, allocations: 496.3 kB / 1.482 GB, free: 98.99 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.253e-05/4.32, allocations: 9.016 kB / 1.482 GB, free: 98.99 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.805e-06/4.32, allocations: 0 / 1.482 GB, free: 98.99 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007915/4.321, allocations: 0.7179 MB / 1.483 GB, free: 98.53 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001733/4.322, allocations: 0.9488 MB / 1.484 GB, free: 98.2 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.053e-06/4.322, allocations: 0.75 kB / 1.484 GB, free: 98.2 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003362/4.323, allocations: 49.25 kB / 1.484 GB, free: 98.2 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002851/4.326, allocations: 299.9 kB / 1.484 GB, free: 98.18 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.109e-05/4.326, allocations: 11.86 kB / 1.484 GB, free: 98.18 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005796/4.326, allocations: 0.638 MB / 1.485 GB, free: 97.66 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/4.326, allocations: 4.062 kB / 1.485 GB, free: 97.66 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001322/4.328, allocations: 0.7348 MB / 1.485 GB, free: 97.46 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001456/4.328, allocations: 107.2 kB / 1.485 GB, free: 97.35 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.886e-05/4.328, allocations: 10.78 kB / 1.485 GB, free: 97.35 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003343/4.328, allocations: 17.16 kB / 1.485 GB, free: 97.34 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.283e-05/4.328, allocations: 27.98 kB / 1.485 GB, free: 97.33 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.283e-05/4.328, allocations: 11.44 kB / 1.485 GB, free: 97.33 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002358/4.329, allocations: 183.1 kB / 1.486 GB, free: 97.25 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.11e-07/4.329, allocations: 0 / 1.486 GB, free: 97.25 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001245/4.33, allocations: 204.7 kB / 1.486 GB, free: 97.23 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (volume.medium.p,volume.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 (25): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.003201/4.333, allocations: 1.706 MB / 1.488 GB, free: 96.38 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001206/4.334, allocations: 443.8 kB / 1.488 GB, free: 96.26 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.29e-06/4.334, allocations: 3.219 kB / 1.488 GB, free: 96.26 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008823/4.335, allocations: 242.2 kB / 1.488 GB, free: 96.25 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001708/4.337, allocations: 160 kB / 1.488 GB, free: 96.24 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005621/4.343, allocations: 3.89 MB / 1.492 GB, free: 93.53 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000333/4.343, allocations: 0.7899 MB / 1.493 GB, free: 92.83 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002367/4.343, allocations: 101.6 kB / 1.493 GB, free: 92.82 MB / 426.7 MB Notification: Performance of SimCode: time 1.703e-06/4.343, allocations: 0 / 1.493 GB, free: 92.82 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.018/7.362, allocations: 10.6 MB / 1.503 GB, free: 92.1 MB / 426.7 MB (rm -f Modelica_3.2.3_cpp_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Media.Examples.ReferenceAir.DryAir1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_cpp_Modelica.Media.Examples.ReferenceAir.DryAir1_res.mat --tempDir=temp_Modelica_3_2_3_cpp_Modelica_Media_Examples_ReferenceAir_DryAir1_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_cpp_Modelica_Media_Examples_ReferenceAir_DryAir1.fmu > Modelica_3.2.3_cpp_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_cpp_Modelica.Media.Examples.ReferenceAir.DryAir1_res.mat does not exist to compare? outputFormat=mat