Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.DryAir2,fileNamePrefix="Modelica_4_0_0_Modelica_Media_Examples_ReferenceAir_DryAir2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.DryAir2,fileNamePrefix="Modelica_4_0_0_Modelica_Media_Examples_ReferenceAir_DryAir2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001485/0.001485, allocations: 177 kB / 8.349 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.529/1.529, allocations: 221.5 MB / 230.3 MB, free: 7.574 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001013/0.001013, allocations: 90.17 kB / 281.2 MB, free: 5.34 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.82e-05/2.849e-05, allocations: 7.984 kB / 337.1 MB, free: 9.949 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1194/0.1194, allocations: 50.41 MB / 387.5 MB, free: 7.5 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.703/1.823, allocations: 0.536 GB / 0.9144 GB, free: 126.1 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002336/1.823, allocations: 80.86 kB / 0.9145 GB, free: 126.1 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5794/2.402, allocations: 146.7 MB / 1.058 GB, free: 93.14 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.984e-06/2.402, allocations: 0 / 1.058 GB, free: 93.14 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.248e-05/2.402, allocations: 9.734 kB / 1.058 GB, free: 93.14 MB / 442.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.001384/2.404, allocations: 0.668 MB / 1.058 GB, free: 92.78 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.237e-05/2.404, allocations: 10.48 kB / 1.058 GB, free: 92.78 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006231/2.405, allocations: 71.97 kB / 1.058 GB, free: 92.76 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005076/2.405, allocations: 338.5 kB / 1.059 GB, free: 92.55 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.752e-05/2.405, allocations: 15.09 kB / 1.059 GB, free: 92.55 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.923e-05/2.405, allocations: 22.86 kB / 1.059 GB, free: 92.55 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005285/2.406, allocations: 258 kB / 1.059 GB, free: 92.54 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006588/2.406, allocations: 397.3 kB / 1.059 GB, free: 92.4 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.245e-05/2.406, allocations: 4.25 kB / 1.059 GB, free: 92.4 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.296e-05/2.406, allocations: 11.3 kB / 1.059 GB, free: 92.4 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.592e-05/2.406, allocations: 9.906 kB / 1.059 GB, free: 92.4 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01228/2.419, allocations: 6.259 MB / 1.066 GB, free: 88.65 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005543/2.419, allocations: 267.2 kB / 1.066 GB, free: 88.62 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002295/2.42, allocations: 128.6 kB / 1.066 GB, free: 88.62 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00869/2.428, allocations: 3.492 MB / 1.069 GB, free: 87.11 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.773e-05/2.428, allocations: 36.75 kB / 1.069 GB, free: 87.07 MB / 442.7 MB Notification: Performance of pre-optimization done (n=35): time 3.276e-06/2.428, allocations: 0 / 1.069 GB, free: 87.07 MB / 442.7 MB Notification: Performance of matching and sorting (n=45): time 0.006631/2.435, allocations: 1.606 MB / 1.071 GB, free: 86.7 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.384e-05/2.435, allocations: 62.5 kB / 1.071 GB, free: 86.64 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003357/2.435, allocations: 229.4 kB / 1.071 GB, free: 86.54 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 3.583e-05/2.436, allocations: 26.83 kB / 1.071 GB, free: 86.5 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001864/2.436, allocations: 226.8 kB / 1.071 GB, free: 86.36 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001216/2.436, allocations: 157.5 kB / 1.072 GB, free: 86.25 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.825e-05/2.436, allocations: 0 / 1.072 GB, free: 86.25 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001166/2.436, allocations: 343.7 kB / 1.072 GB, free: 85.94 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002386/2.436, allocations: 141.9 kB / 1.072 GB, free: 85.94 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003596/2.437, allocations: 251.4 kB / 1.072 GB, free: 85.81 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00143/2.438, allocations: 324.3 kB / 1.073 GB, free: 85.81 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.499e-06/2.438, allocations: 5.094 kB / 1.073 GB, free: 85.81 MB / 442.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.002124/2.44, allocations: 0.6677 MB / 1.073 GB, free: 85.73 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.373e-05/2.44, allocations: 9.5 kB / 1.073 GB, free: 85.73 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.314e-05/2.44, allocations: 4.031 kB / 1.073 GB, free: 85.73 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004043/2.441, allocations: 110.1 kB / 1.073 GB, free: 85.7 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004461/2.441, allocations: 111 kB / 1.074 GB, free: 85.7 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00243/2.444, allocations: 2.523 MB / 1.076 GB, free: 83.47 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004439/2.444, allocations: 29.56 kB / 1.076 GB, free: 83.46 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.519e-05/2.444, allocations: 20.41 kB / 1.076 GB, free: 83.46 MB / 442.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 () * 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.0001527/2.444, allocations: 109.9 kB / 1.076 GB, free: 83.36 MB / 442.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001883/2.446, allocations: 0.5533 MB / 1.077 GB, free: 83.27 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.914e-05/2.446, allocations: 34.75 kB / 1.077 GB, free: 83.25 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001955/2.448, allocations: 0.8041 MB / 1.078 GB, free: 83.15 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.013e-05/2.448, allocations: 9.547 kB / 1.078 GB, free: 83.15 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.407e-06/2.448, allocations: 1.125 kB / 1.078 GB, free: 83.15 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001638/2.45, allocations: 0.9261 MB / 1.078 GB, free: 82.76 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002991/2.453, allocations: 1.374 MB / 1.08 GB, free: 82.43 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.107e-05/2.453, allocations: 3.656 kB / 1.08 GB, free: 82.43 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003743/2.453, allocations: 79.89 kB / 1.08 GB, free: 82.43 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005853/2.454, allocations: 181 kB / 1.08 GB, free: 82.4 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.568e-05/2.454, allocations: 9.281 kB / 1.08 GB, free: 82.4 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001369/2.455, allocations: 1.353 MB / 1.081 GB, free: 81.36 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.442e-06/2.455, allocations: 4.984 kB / 1.081 GB, free: 81.35 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002278/2.458, allocations: 1.165 MB / 1.082 GB, free: 81.14 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002005/2.458, allocations: 123 kB / 1.083 GB, free: 81.02 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.77e-05/2.458, allocations: 11.95 kB / 1.083 GB, free: 81.02 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003361/2.458, allocations: 17.28 kB / 1.083 GB, free: 81.01 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.488e-05/2.458, allocations: 30.78 kB / 1.083 GB, free: 81.01 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.747e-05/2.458, allocations: 21.91 kB / 1.083 GB, free: 81.01 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0001996/2.459, allocations: 177.2 kB / 1.083 GB, free: 80.93 MB / 442.7 MB Notification: Performance of sort global known variables: time 2e-07/2.459, allocations: 4 kB / 1.083 GB, free: 80.93 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001416/2.46, allocations: 226.7 kB / 1.083 GB, free: 80.9 MB / 442.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 () * 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 {2 1,2 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.003375/2.463, allocations: 2.133 MB / 1.085 GB, free: 80.03 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001111/2.465, allocations: 0.6487 MB / 1.086 GB, free: 79.91 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.027e-06/2.465, allocations: 0 / 1.086 GB, free: 79.91 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005683/2.465, allocations: 392 kB / 1.086 GB, free: 79.9 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001062/2.466, allocations: 179.2 kB / 1.086 GB, free: 79.89 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001928/2.468, allocations: 1.076 MB / 1.087 GB, free: 79.46 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002844/2.468, allocations: 0.8461 MB / 1.088 GB, free: 78.75 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0002939/2.469, allocations: 64.39 kB / 1.088 GB, free: 78.75 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001856/2.469, allocations: 160.4 kB / 1.088 GB, free: 78.74 MB / 442.7 MB Notification: Performance of SimCode: time 2.61e-07/2.469, allocations: 4 kB / 1.088 GB, free: 78.74 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04123/2.51, allocations: 15.01 MB / 1.103 GB, free: 78.01 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003074/2.511, allocations: 136.5 kB / 1.103 GB, free: 77.82 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.881/5.391, allocations: 0 / 1.103 GB, free: 77.82 MB / 442.7 MB (rm -f Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir2_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Media_Examples_ReferenceAir_DryAir2_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Media_Examples_ReferenceAir_DryAir2.fmu > Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir2_res.mat does not exist to compare? outputFormat=mat