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.001195/0.001195, allocations: 182.7 kB / 16.39 MB, free: 5.762 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.346/1.346, allocations: 223.2 MB / 240.3 MB, free: 10.15 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009128/0.0009128, allocations: 93.45 kB / 291.5 MB, free: 10.71 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002754/0.0002755, allocations: 8 kB / 351.2 MB, free: 15.03 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2837/0.284, allocations: 50.41 MB / 401.6 MB, free: 32.55 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.253/1.537, allocations: 0.5367 GB / 0.9288 GB, free: 114.3 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002636/1.538, allocations: 83.89 kB / 0.9289 GB, free: 114.2 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5284/2.066, allocations: 148.1 MB / 1.074 GB, free: 121.9 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.164e-06/2.066, allocations: 0 / 1.074 GB, free: 121.9 MB / 458.7 MB Notification: Performance of Transformations before backend: time 2.592e-05/2.066, allocations: 14.31 kB / 1.074 GB, free: 121.9 MB / 458.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.001329/2.067, allocations: 0.6984 MB / 1.074 GB, free: 121.5 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.853e-05/2.068, allocations: 11.84 kB / 1.074 GB, free: 121.5 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.852e-05/2.068, allocations: 74.11 kB / 1.074 GB, free: 121.4 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000533/2.068, allocations: 77.92 kB / 1.074 GB, free: 121.4 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004182/2.069, allocations: 336 kB / 1.075 GB, free: 121.2 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.408e-05/2.069, allocations: 30.47 kB / 1.075 GB, free: 121.2 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.695e-05/2.069, allocations: 41.09 kB / 1.075 GB, free: 121.2 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006251/2.069, allocations: 461.9 kB / 1.075 GB, free: 121 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.025e-05/2.069, allocations: 7.359 kB / 1.075 GB, free: 121 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.352e-05/2.069, allocations: 23.45 kB / 1.075 GB, free: 121 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.062e-05/2.069, allocations: 7.594 kB / 1.075 GB, free: 121 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00042/2.07, allocations: 303.8 kB / 1.076 GB, free: 121 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01043/2.08, allocations: 6.29 MB / 1.082 GB, free: 117.2 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004521/2.081, allocations: 278.2 kB / 1.082 GB, free: 117.2 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007472/2.088, allocations: 3.451 MB / 1.085 GB, free: 115.6 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.372e-05/2.088, allocations: 37.31 kB / 1.085 GB, free: 115.6 MB / 458.7 MB Notification: Performance of pre-optimization done (n=35): time 3.787e-06/2.088, allocations: 0 / 1.085 GB, free: 115.6 MB / 458.7 MB Notification: Performance of matching and sorting (n=45): time 0.009716/2.098, allocations: 2.398 MB / 1.088 GB, free: 114.9 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.196e-05/2.098, allocations: 59.16 kB / 1.088 GB, free: 114.9 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003037/2.098, allocations: 267.5 kB / 1.088 GB, free: 114.7 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 3.232e-05/2.098, allocations: 33.2 kB / 1.088 GB, free: 114.7 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001144/2.099, allocations: 234.7 kB / 1.088 GB, free: 114.5 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001032/2.099, allocations: 162.5 kB / 1.088 GB, free: 114.4 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.015e-05/2.099, allocations: 8 kB / 1.088 GB, free: 114.4 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 9.875e-05/2.099, allocations: 349.6 kB / 1.089 GB, free: 114 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002292/2.099, allocations: 144.4 kB / 1.089 GB, free: 114 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002567/2.099, allocations: 272.4 kB / 1.089 GB, free: 113.8 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002743/2.1, allocations: 193.8 kB / 1.089 GB, free: 113.7 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/2.1, allocations: 0 / 1.089 GB, free: 113.7 MB / 458.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0009491/2.101, allocations: 0.593 MB / 1.09 GB, free: 113.4 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.451e-05/2.101, allocations: 5.062 kB / 1.09 GB, free: 113.4 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.097e-05/2.101, allocations: 4.25 kB / 1.09 GB, free: 113.4 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008167/2.109, allocations: 0.8663 MB / 1.091 GB, free: 113.3 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005185/2.109, allocations: 106.8 kB / 1.091 GB, free: 113.3 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001855/2.111, allocations: 2.469 MB / 1.093 GB, free: 110.9 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005117/2.112, allocations: 35.52 kB / 1.093 GB, free: 110.9 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.546e-05/2.112, allocations: 19.53 kB / 1.093 GB, free: 110.9 MB / 458.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.0003156/2.112, allocations: 184.8 kB / 1.094 GB, free: 110.7 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.764e-05/2.112, allocations: 45.41 kB / 1.094 GB, free: 110.7 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001114/2.113, allocations: 0.8528 MB / 1.094 GB, free: 110.3 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.317e-06/2.113, allocations: 7.531 kB / 1.094 GB, free: 110.3 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.946e-06/2.113, allocations: 3.938 kB / 1.094 GB, free: 110.3 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007797/2.114, allocations: 0.9628 MB / 1.095 GB, free: 109.6 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001687/2.116, allocations: 1.488 MB / 1.097 GB, free: 108.8 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.919e-06/2.116, allocations: 0 / 1.097 GB, free: 108.8 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002999/2.116, allocations: 81.58 kB / 1.097 GB, free: 108.8 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003004/2.119, allocations: 0.5922 MB / 1.097 GB, free: 108.7 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.834e-05/2.119, allocations: 18.55 kB / 1.097 GB, free: 108.7 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006598/2.12, allocations: 1.281 MB / 1.099 GB, free: 107.5 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/2.12, allocations: 0 / 1.099 GB, free: 107.5 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001202/2.121, allocations: 1.228 MB / 1.1 GB, free: 106.9 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001262/2.121, allocations: 127.9 kB / 1.1 GB, free: 106.8 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.016e-05/2.121, allocations: 8 kB / 1.1 GB, free: 106.7 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002757/2.122, allocations: 27.5 kB / 1.1 GB, free: 106.7 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.467e-05/2.122, allocations: 27.22 kB / 1.1 GB, free: 106.7 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.242e-05/2.122, allocations: 19.53 kB / 1.1 GB, free: 106.7 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0002026/2.122, allocations: 206.3 kB / 1.1 GB, free: 106.6 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.2e-07/2.122, allocations: 0 / 1.1 GB, free: 106.6 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.001084/2.123, allocations: 252.4 kB / 1.101 GB, free: 106.6 MB / 458.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.002443/2.126, allocations: 2.179 MB / 1.103 GB, free: 105.2 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.001124/2.127, allocations: 0.6892 MB / 1.103 GB, free: 104.9 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 3.426e-06/2.127, allocations: 0 / 1.103 GB, free: 104.9 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009432/2.128, allocations: 445.3 kB / 1.104 GB, free: 104.7 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00102/2.129, allocations: 226.5 kB / 1.104 GB, free: 104.7 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00417/2.133, allocations: 5.281 MB / 1.109 GB, free: 100.7 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002673/2.133, allocations: 0.8456 MB / 1.11 GB, free: 99.99 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0003225/2.133, allocations: 76.23 kB / 1.11 GB, free: 99.97 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001858/2.134, allocations: 158.2 kB / 1.11 GB, free: 99.86 MB / 458.7 MB Notification: Performance of SimCode: time 4.729e-06/2.134, allocations: 3.938 kB / 1.11 GB, free: 99.85 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03498/2.169, allocations: 17.37 MB / 1.127 GB, free: 93.06 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000209/2.169, allocations: 201.3 kB / 1.127 GB, free: 92.82 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.653/4.822, allocations: 3.75 kB / 1.127 GB, free: 92.82 MB / 458.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