Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Media.Examples.AirProperties.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) 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) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Media.Examples.AirProperties,fileNamePrefix="Buildings_9_Buildings_Media_Examples_AirProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.AirProperties,fileNamePrefix="Buildings_9_Buildings_Media_Examples_AirProperties",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.297/2.297, allocations: 390.3 MB / 405.3 MB, free: 13.47 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001229/0.001229, allocations: 181 kB / 498.1 MB, free: 5.738 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.787/1.787, allocations: 223.1 MB / 0.7948 GB, free: 17.97 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001051/0.001051, allocations: 106.3 kB / 0.9346 GB, free: 6.227 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003789/0.000379, allocations: 6.938 kB / 1.084 GB, free: 221.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3073/0.3077, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.356/4.664, allocations: 1.921 GB / 3.144 GB, free: 67.02 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002844/4.664, allocations: 79.83 kB / 3.144 GB, free: 66.98 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 0.1023/4.766, allocations: 48.13 MB / 3.191 GB, free: 25.12 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.352e-06/4.766, allocations: 0 / 3.191 GB, free: 25.12 MB / 1.167 GB Notification: Performance of Transformations before backend: time 1.122e-05/4.766, allocations: 8 kB / 3.191 GB, free: 25.12 MB / 1.167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.001229/4.768, allocations: 0.5545 MB / 3.192 GB, free: 24.51 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.187e-05/4.768, allocations: 12.03 kB / 3.192 GB, free: 24.5 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.554e-05/4.768, allocations: 58.48 kB / 3.192 GB, free: 24.43 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001246/4.769, allocations: 139.6 kB / 3.192 GB, free: 24.3 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002832/4.769, allocations: 218.8 kB / 3.192 GB, free: 24.04 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.294e-05/4.769, allocations: 12.38 kB / 3.192 GB, free: 24.03 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.001e-05/4.769, allocations: 16 kB / 3.192 GB, free: 24.02 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005419/4.77, allocations: 342 kB / 3.193 GB, free: 23.66 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.594e-05/4.77, allocations: 3.953 kB / 3.193 GB, free: 23.66 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.504e-05/4.77, allocations: 12 kB / 3.193 GB, free: 23.64 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.807e-05/4.77, allocations: 11.98 kB / 3.193 GB, free: 23.63 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004823/4.771, allocations: 320.1 kB / 3.193 GB, free: 23.32 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001517/4.772, allocations: 1.163 MB / 3.194 GB, free: 22.05 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004784/4.773, allocations: 194.6 kB / 3.194 GB, free: 21.85 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004516/4.773, allocations: 453.5 kB / 3.195 GB, free: 21.32 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.581e-05/4.773, allocations: 34.56 kB / 3.195 GB, free: 21.27 MB / 1.167 GB Notification: Performance of pre-optimization done (n=21): time 2.625e-06/4.773, allocations: 0 / 3.195 GB, free: 21.27 MB / 1.167 GB Notification: Performance of matching and sorting (n=21): time 0.0006479/4.774, allocations: 338.8 kB / 3.195 GB, free: 20.92 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.39e-05/4.774, allocations: 59.34 kB / 3.195 GB, free: 20.85 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000158/4.774, allocations: 190.2 kB / 3.195 GB, free: 20.66 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 3.113e-05/4.774, allocations: 29.7 kB / 3.195 GB, free: 20.62 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 6.741e-05/4.774, allocations: 143.9 kB / 3.196 GB, free: 20.48 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 4.184e-05/4.774, allocations: 78.98 kB / 3.196 GB, free: 20.4 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.663e-05/4.774, allocations: 4 kB / 3.196 GB, free: 20.39 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 6.142e-05/4.774, allocations: 334.8 kB / 3.196 GB, free: 20.06 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001074/4.774, allocations: 64.23 kB / 3.196 GB, free: 20 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001628/4.775, allocations: 159.7 kB / 3.196 GB, free: 19.8 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001332/4.775, allocations: 94.7 kB / 3.196 GB, free: 19.71 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/4.775, allocations: 0 / 3.196 GB, free: 19.71 MB / 1.167 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004653/4.775, allocations: 281.1 kB / 3.197 GB, free: 19.43 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 2.147e-05/4.775, allocations: 5.156 kB / 3.197 GB, free: 19.43 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.604e-06/4.775, allocations: 8 kB / 3.197 GB, free: 19.42 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.875e-05/4.775, allocations: 7.938 kB / 3.197 GB, free: 19.41 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002604/4.776, allocations: 59.91 kB / 3.197 GB, free: 19.35 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.085e-05/4.776, allocations: 7.938 kB / 3.197 GB, free: 19.34 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002455/4.776, allocations: 35.58 kB / 3.197 GB, free: 19.31 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.55e-05/4.776, allocations: 16 kB / 3.197 GB, free: 19.29 MB / 1.167 GB 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 (31): * Single equations (assignments): 30 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001197/4.776, allocations: 133.8 kB / 3.197 GB, free: 19.15 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001231/4.776, allocations: 27.72 kB / 3.197 GB, free: 19.12 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004227/4.777, allocations: 256.2 kB / 3.197 GB, free: 18.88 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.833e-06/4.777, allocations: 0 / 3.197 GB, free: 18.88 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.482e-06/4.777, allocations: 0 / 3.197 GB, free: 18.88 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/4.777, allocations: 0 / 3.197 GB, free: 18.88 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006407/4.777, allocations: 0.5516 MB / 3.198 GB, free: 18.26 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/4.777, allocations: 3.938 kB / 3.198 GB, free: 18.26 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001831/4.777, allocations: 36.05 kB / 3.198 GB, free: 18.22 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.533e-06/4.777, allocations: 0 / 3.198 GB, free: 18.22 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.717e-05/4.777, allocations: 11.94 kB / 3.198 GB, free: 18.21 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/4.777, allocations: 0 / 3.198 GB, free: 18.21 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/4.777, allocations: 4 kB / 3.198 GB, free: 18.21 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004576/4.778, allocations: 341.3 kB / 3.198 GB, free: 17.84 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001309/4.778, allocations: 120.8 kB / 3.198 GB, free: 17.7 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.496e-05/4.778, allocations: 12 kB / 3.198 GB, free: 17.69 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002688/4.778, allocations: 11.98 kB / 3.198 GB, free: 17.68 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.498e-05/4.778, allocations: 19.94 kB / 3.198 GB, free: 17.66 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.883e-05/4.778, allocations: 8 kB / 3.198 GB, free: 17.65 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0001019/4.779, allocations: 157.5 kB / 3.198 GB, free: 17.5 MB / 1.167 GB Notification: Performance of sort global known variables: time 6.21e-07/4.779, allocations: 0 / 3.198 GB, free: 17.5 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.0006331/4.779, allocations: 155.9 kB / 3.199 GB, free: 17.35 MB / 1.167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 simulation (18): * Single equations (assignments): 17 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001522/4.781, allocations: 1.568 MB / 3.2 GB, free: 15.75 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.0003769/4.781, allocations: 193.1 kB / 3.2 GB, free: 15.56 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/4.781, allocations: 0 / 3.2 GB, free: 15.56 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0001051/4.781, allocations: 84.64 kB / 3.2 GB, free: 15.48 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005506/4.782, allocations: 92.66 kB / 3.2 GB, free: 15.39 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002165/4.784, allocations: 3.119 MB / 3.203 GB, free: 12.16 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001991/4.784, allocations: 0.7367 MB / 3.204 GB, free: 11.39 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.0003343/4.785, allocations: 58.25 kB / 3.204 GB, free: 11.33 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000113/4.785, allocations: 67.34 kB / 3.204 GB, free: 11.27 MB / 1.167 GB Notification: Performance of SimCode: time 4.91e-07/4.785, allocations: 0 / 3.204 GB, free: 11.27 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6398/5.424, allocations: 15.88 MB / 3.22 GB, free: 426 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001881/5.425, allocations: 161.4 kB / 3.22 GB, free: 425.8 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.083/7.508, allocations: 3.828 kB / 3.22 GB, free: 425.8 MB / 1.167 GB (rm -f Buildings_9_Buildings.Media.Examples.AirProperties.pipe ; mkfifo Buildings_9_Buildings.Media.Examples.AirProperties.pipe ; head -c 1048576 < Buildings_9_Buildings.Media.Examples.AirProperties.pipe >> ../files/Buildings_9_Buildings.Media.Examples.AirProperties.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Media.Examples.AirProperties_res.mat --tempDir=temp_Buildings_9_Buildings_Media_Examples_AirProperties_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Media_Examples_AirProperties.fmu > Buildings_9_Buildings.Media.Examples.AirProperties.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Media.Examples.AirProperties_res.mat does not exist to compare? outputFormat=mat