Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Media.Examples.AirProperties.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Media.Examples.AirProperties,fileNamePrefix="Buildings_latest_Buildings_Media_Examples_AirProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.AirProperties,fileNamePrefix="Buildings_latest_Buildings_Media_Examples_AirProperties",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.16/2.16, allocations: 390.5 MB / 398 MB, free: 10.95 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.0009993/0.0009993, allocations: 176.8 kB / 491.2 MB, free: 1.551 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.404/1.404, allocations: 221.5 MB / 0.7868 GB, free: 13.31 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.0009371/0.0009372, allocations: 107.5 kB / 0.9269 GB, free: 13.8 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.696e-05/1.69e-05, allocations: 0 / 1.073 GB, free: 181.9 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2392/0.2393, allocations: 143 MB / 1.212 GB, free: 39.41 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.014/5.253, allocations: 1.922 GB / 3.134 GB, free: 344.4 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002137/5.253, allocations: 68.03 kB / 3.134 GB, free: 344.4 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 0.0887/5.342, allocations: 47.37 MB / 3.18 GB, free: 309.4 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.803e-06/5.342, allocations: 4 kB / 3.18 GB, free: 309.4 MB / 1.151 GB Notification: Performance of Transformations before backend: time 9.648e-06/5.342, allocations: 7.938 kB / 3.18 GB, free: 309.4 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.0008571/5.343, allocations: 0.5397 MB / 3.181 GB, free: 308.8 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 3.817e-05/5.343, allocations: 8.031 kB / 3.181 GB, free: 308.8 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001172/5.344, allocations: 141.8 kB / 3.181 GB, free: 308.7 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002093/5.344, allocations: 221.8 kB / 3.181 GB, free: 308.5 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.604e-05/5.344, allocations: 4 kB / 3.181 GB, free: 308.4 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.014e-05/5.344, allocations: 12 kB / 3.181 GB, free: 308.4 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004285/5.345, allocations: 309.3 kB / 3.181 GB, free: 308.2 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003363/5.345, allocations: 295.5 kB / 3.182 GB, free: 308 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.169e-05/5.345, allocations: 4 kB / 3.182 GB, free: 308 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.737e-05/5.345, allocations: 0 / 3.182 GB, free: 308 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.642e-05/5.345, allocations: 12 kB / 3.182 GB, free: 307.9 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001217/5.346, allocations: 1.106 MB / 3.183 GB, free: 306.8 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003519/5.347, allocations: 171.3 kB / 3.183 GB, free: 306.7 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.773e-05/5.347, allocations: 74.83 kB / 3.183 GB, free: 306.6 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003241/5.347, allocations: 364 kB / 3.183 GB, free: 306.2 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.135e-05/5.347, allocations: 42.05 kB / 3.183 GB, free: 306.1 MB / 1.151 GB Notification: Performance of pre-optimization done (n=21): time 1.363e-06/5.347, allocations: 0 / 3.183 GB, free: 306.1 MB / 1.151 GB Notification: Performance of matching and sorting (n=21): time 0.0004005/5.348, allocations: 174.6 kB / 3.184 GB, free: 306 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.754e-05/5.348, allocations: 55.41 kB / 3.184 GB, free: 305.9 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001023/5.348, allocations: 142.7 kB / 3.184 GB, free: 305.8 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 2.136e-05/5.348, allocations: 33.7 kB / 3.184 GB, free: 305.8 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 5.365e-05/5.348, allocations: 150.6 kB / 3.184 GB, free: 305.6 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 3.371e-05/5.348, allocations: 65.89 kB / 3.184 GB, free: 305.6 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.364e-05/5.348, allocations: 0 / 3.184 GB, free: 305.6 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 5.496e-05/5.348, allocations: 325.8 kB / 3.184 GB, free: 305.2 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.843e-05/5.348, allocations: 66.36 kB / 3.184 GB, free: 305.2 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001118/5.348, allocations: 146.1 kB / 3.185 GB, free: 305 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000147/5.348, allocations: 91.83 kB / 3.185 GB, free: 304.9 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/5.348, allocations: 0 / 3.185 GB, free: 304.9 MB / 1.151 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0003588/5.349, allocations: 246.3 kB / 3.185 GB, free: 304.7 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.572e-05/5.349, allocations: 12.03 kB / 3.185 GB, free: 304.7 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.614e-06/5.349, allocations: 4 kB / 3.185 GB, free: 304.7 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.587e-05/5.349, allocations: 4 kB / 3.185 GB, free: 304.7 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000248/5.349, allocations: 59.66 kB / 3.185 GB, free: 304.7 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.292e-06/5.349, allocations: 7.938 kB / 3.185 GB, free: 304.6 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001804/5.349, allocations: 19.83 kB / 3.185 GB, free: 304.6 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.045e-05/5.349, allocations: 15.94 kB / 3.185 GB, free: 304.6 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 7.385e-05/5.349, allocations: 112.8 kB / 3.185 GB, free: 304.5 MB / 1.151 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002749/5.35, allocations: 179.7 kB / 3.185 GB, free: 304.3 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.843e-05/5.35, allocations: 15.81 kB / 3.185 GB, free: 304.3 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003521/5.35, allocations: 210.5 kB / 3.186 GB, free: 304.1 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.192e-06/5.35, allocations: 3.984 kB / 3.186 GB, free: 304.1 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/5.35, allocations: 0 / 3.186 GB, free: 304.1 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.08e-06/5.35, allocations: 3.953 kB / 3.186 GB, free: 304.1 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005015/5.351, allocations: 495.2 kB / 3.186 GB, free: 303.7 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.444e-06/5.351, allocations: 0 / 3.186 GB, free: 303.7 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001764/5.351, allocations: 35.67 kB / 3.186 GB, free: 303.6 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.976e-06/5.351, allocations: 0 / 3.186 GB, free: 303.6 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.456e-05/5.351, allocations: 4 kB / 3.186 GB, free: 303.6 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/5.351, allocations: 0 / 3.186 GB, free: 303.6 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.348e-06/5.351, allocations: 3.938 kB / 3.186 GB, free: 303.6 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002961/5.351, allocations: 318 kB / 3.186 GB, free: 303.3 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001107/5.351, allocations: 112.8 kB / 3.186 GB, free: 303.2 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.2e-05/5.351, allocations: 0 / 3.186 GB, free: 303.2 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00023/5.352, allocations: 15.98 kB / 3.186 GB, free: 303.2 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.618e-05/5.352, allocations: 11.94 kB / 3.186 GB, free: 303.1 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.574e-05/5.352, allocations: 23.42 kB / 3.186 GB, free: 303.1 MB / 1.151 GB Notification: Performance of sorting global known variables: time 5.105e-05/5.352, allocations: 112 kB / 3.187 GB, free: 303 MB / 1.151 GB Notification: Performance of sort global known variables: time 6.82e-07/5.352, allocations: 0 / 3.187 GB, free: 303 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.0005452/5.352, allocations: 146 kB / 3.187 GB, free: 302.9 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.001166/5.353, allocations: 1.617 MB / 3.188 GB, free: 301.3 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0002646/5.354, allocations: 168 kB / 3.188 GB, free: 301.2 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/5.354, allocations: 0 / 3.188 GB, free: 301.2 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 8.912e-05/5.354, allocations: 74.09 kB / 3.189 GB, free: 301.1 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003852/5.354, allocations: 49.02 kB / 3.189 GB, free: 301.1 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006816/5.355, allocations: 306.7 kB / 3.189 GB, free: 300.7 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001695/5.355, allocations: 0.744 MB / 3.19 GB, free: 300 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.0002831/5.355, allocations: 53.81 kB / 3.19 GB, free: 299.9 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.479e-05/5.355, allocations: 51.61 kB / 3.19 GB, free: 299.9 MB / 1.151 GB Notification: Performance of SimCode: time 2.5e-07/5.355, allocations: 0 / 3.19 GB, free: 299.9 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02568/5.381, allocations: 9.549 MB / 3.199 GB, free: 290.4 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001351/5.381, allocations: 126.8 kB / 3.199 GB, free: 290.2 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.922/7.303, allocations: 0 / 3.199 GB, free: 290.2 MB / 1.151 GB (rm -f Buildings_latest_Buildings.Media.Examples.AirProperties.pipe ; mkfifo Buildings_latest_Buildings.Media.Examples.AirProperties.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Examples.AirProperties.pipe >> ../files/Buildings_latest_Buildings.Media.Examples.AirProperties.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Media.Examples.AirProperties_res.mat --tempDir=temp_Buildings_latest_Buildings_Media_Examples_AirProperties_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Media_Examples_AirProperties.fmu > Buildings_latest_Buildings.Media.Examples.AirProperties.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Media.Examples.AirProperties_res.mat does not exist to compare? outputFormat=mat