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.377/2.377, allocations: 387.4 MB / 394.9 MB, free: 13.37 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.001127/0.001127, allocations: 184.8 kB / 487.4 MB, free: 5.074 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.582/1.582, allocations: 221.5 MB / 0.7824 GB, free: 0.9609 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009276/0.0009276, allocations: 95.88 kB / 0.9219 GB, free: 2.199 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.617e-05/1.622e-05, allocations: 0 / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.236/0.236, allocations: 142.4 MB / 1.206 GB, free: 43.88 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.917/5.153, allocations: 1.921 GB / 3.127 GB, free: 431.6 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000212/5.154, allocations: 71.31 kB / 3.127 GB, free: 431.5 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 0.09074/5.244, allocations: 47.36 MB / 3.173 GB, free: 384.2 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.442e-06/5.244, allocations: 3.938 kB / 3.173 GB, free: 384.2 MB / 1.151 GB Notification: Performance of Transformations before backend: time 9.548e-06/5.244, allocations: 4 kB / 3.173 GB, free: 384.2 MB / 1.151 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.0008922/5.245, allocations: 0.5538 MB / 3.174 GB, free: 383.6 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 3.899e-05/5.245, allocations: 8.031 kB / 3.174 GB, free: 383.6 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001086/5.246, allocations: 139.6 kB / 3.174 GB, free: 383.5 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002016/5.247, allocations: 214.8 kB / 3.174 GB, free: 383.2 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.32e-05/5.247, allocations: 11.98 kB / 3.174 GB, free: 383.2 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.013e-05/5.247, allocations: 12 kB / 3.174 GB, free: 383.2 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004164/5.247, allocations: 312.6 kB / 3.174 GB, free: 382.9 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003246/5.247, allocations: 285.8 kB / 3.175 GB, free: 382.6 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.1e-05/5.248, allocations: 0 / 3.175 GB, free: 382.6 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.77e-05/5.248, allocations: 7.938 kB / 3.175 GB, free: 382.6 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.599e-05/5.248, allocations: 12 kB / 3.175 GB, free: 382.6 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001191/5.249, allocations: 1.097 MB / 3.176 GB, free: 381.4 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003504/5.249, allocations: 178.6 kB / 3.176 GB, free: 381.2 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.738e-05/5.249, allocations: 73.02 kB / 3.176 GB, free: 381.1 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003118/5.25, allocations: 360.3 kB / 3.176 GB, free: 380.7 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.68e-05/5.25, allocations: 38.56 kB / 3.176 GB, free: 380.6 MB / 1.151 GB Notification: Performance of pre-optimization done (n=21): time 1.433e-06/5.25, allocations: 0 / 3.176 GB, free: 380.6 MB / 1.151 GB Notification: Performance of matching and sorting (n=21): time 0.0003975/5.25, allocations: 176.7 kB / 3.176 GB, free: 380.5 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.973e-05/5.25, allocations: 55.41 kB / 3.177 GB, free: 380.4 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.843e-05/5.25, allocations: 144.7 kB / 3.177 GB, free: 380.2 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 2.154e-05/5.25, allocations: 29.7 kB / 3.177 GB, free: 380.2 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 5.267e-05/5.25, allocations: 152 kB / 3.177 GB, free: 380.1 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 3.524e-05/5.25, allocations: 74.94 kB / 3.177 GB, free: 380 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.313e-05/5.25, allocations: 0 / 3.177 GB, free: 380 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 4.864e-05/5.25, allocations: 322.8 kB / 3.177 GB, free: 379.7 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.541e-05/5.25, allocations: 64.23 kB / 3.177 GB, free: 379.6 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001088/5.251, allocations: 152.2 kB / 3.177 GB, free: 379.4 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001414/5.251, allocations: 82 kB / 3.178 GB, free: 379.3 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/5.251, allocations: 7.953 kB / 3.178 GB, free: 379.3 MB / 1.151 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0003766/5.251, allocations: 246.4 kB / 3.178 GB, free: 379.1 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.383e-05/5.251, allocations: 8.062 kB / 3.178 GB, free: 379.1 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/5.251, allocations: 4 kB / 3.178 GB, free: 379.1 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.661e-05/5.251, allocations: 4 kB / 3.178 GB, free: 379.1 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002438/5.251, allocations: 59.91 kB / 3.178 GB, free: 379 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.438e-06/5.251, allocations: 8 kB / 3.178 GB, free: 379 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001833/5.252, allocations: 15.75 kB / 3.178 GB, free: 379 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.434e-05/5.252, allocations: 15.98 kB / 3.178 GB, free: 379 MB / 1.151 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 () * 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 9.609e-05/5.252, allocations: 120.8 kB / 3.178 GB, free: 378.8 MB / 1.151 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002865/5.252, allocations: 175.8 kB / 3.178 GB, free: 378.7 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.262e-05/5.252, allocations: 19.81 kB / 3.178 GB, free: 378.6 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003825/5.253, allocations: 206.2 kB / 3.178 GB, free: 378.4 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.013e-06/5.253, allocations: 4 kB / 3.178 GB, free: 378.4 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.321e-06/5.253, allocations: 0 / 3.178 GB, free: 378.4 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.54e-06/5.253, allocations: 3.984 kB / 3.178 GB, free: 378.4 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005681/5.253, allocations: 0.4937 MB / 3.179 GB, free: 377.9 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.406e-06/5.253, allocations: 0 / 3.179 GB, free: 377.9 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001701/5.253, allocations: 31.92 kB / 3.179 GB, free: 377.9 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.278e-06/5.253, allocations: 4 kB / 3.179 GB, free: 377.8 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.486e-05/5.253, allocations: 0 / 3.179 GB, free: 377.8 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.266e-06/5.253, allocations: 4 kB / 3.179 GB, free: 377.8 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.729e-06/5.253, allocations: 4 kB / 3.179 GB, free: 377.8 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003278/5.254, allocations: 314.4 kB / 3.179 GB, free: 377.5 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 9.382e-05/5.254, allocations: 124.7 kB / 3.179 GB, free: 377.4 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.329e-05/5.254, allocations: 0 / 3.179 GB, free: 377.4 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002299/5.254, allocations: 11.98 kB / 3.179 GB, free: 377.3 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.615e-05/5.254, allocations: 19.98 kB / 3.179 GB, free: 377.3 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.746e-05/5.254, allocations: 11.95 kB / 3.179 GB, free: 377.3 MB / 1.151 GB Notification: Performance of sorting global known variables: time 5.835e-05/5.254, allocations: 115.2 kB / 3.179 GB, free: 377.2 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.2e-07/5.254, allocations: 0 / 3.179 GB, free: 377.2 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.0005919/5.255, allocations: 143.9 kB / 3.18 GB, free: 377.1 MB / 1.151 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 () * 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.001243/5.256, allocations: 1.604 MB / 3.181 GB, free: 375.4 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0002645/5.256, allocations: 173.8 kB / 3.181 GB, free: 375.3 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/5.256, allocations: 0 / 3.181 GB, free: 375.3 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 8.607e-05/5.256, allocations: 82.23 kB / 3.181 GB, free: 375.2 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003825/5.257, allocations: 49.92 kB / 3.181 GB, free: 375.1 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006624/5.258, allocations: 304.5 kB / 3.182 GB, free: 374.8 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001583/5.258, allocations: 0.7409 MB / 3.182 GB, free: 374 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.0002743/5.258, allocations: 45.83 kB / 3.183 GB, free: 374 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.122e-05/5.258, allocations: 51.42 kB / 3.183 GB, free: 373.9 MB / 1.151 GB Notification: Performance of SimCode: time 2.4e-07/5.258, allocations: 3.938 kB / 3.183 GB, free: 373.9 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02967/5.288, allocations: 9.535 MB / 3.192 GB, free: 364.4 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001503/5.288, allocations: 128.1 kB / 3.192 GB, free: 364.2 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.898/7.186, allocations: 3.938 kB / 3.192 GB, free: 364.2 MB / 1.151 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