Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Media.Examples.AirProperties.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Media.Examples.AirProperties,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Media_Examples_AirProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.AirProperties,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Media_Examples_AirProperties",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.553/1.553, allocations: 252 MB / 267 MB, free: 10.96 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001042/0.001042, allocations: 190.1 kB / 326.6 MB, free: 2.223 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.731/1.731, allocations: 205.4 MB / 0.5777 GB, free: 20.54 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007424/0.0007424, allocations: 87.97 kB / 0.6822 GB, free: 13.33 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003423/0.0003424, allocations: 8.312 kB / 0.7964 GB, free: 134.9 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1977/0.1981, allocations: 106.3 MB / 0.9003 GB, free: 64.22 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirProperties): time 0.1393/0.3374, allocations: 135.2 MB / 1.032 GB, free: 8.578 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.00736/0.3448, allocations: 6.563 MB / 1.039 GB, free: 1.996 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000132/0.345, allocations: 0 / 1.039 GB, free: 1.996 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0003227/0.3453, allocations: 47.72 kB / 1.039 GB, free: 1.949 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.000382/0.3457, allocations: 155.2 kB / 1.039 GB, free: 1.797 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.002023/0.3478, allocations: 0.6207 MB / 1.04 GB, free: 1.176 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.0004985/0.3483, allocations: 459.5 kB / 1.04 GB, free: 0.7227 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 5.593e-05/0.3483, allocations: 9.688 kB / 1.04 GB, free: 0.7148 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003878/0.3487, allocations: 195.2 kB / 1.04 GB, free: 0.5234 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000199/0.3489, allocations: 143.5 kB / 1.04 GB, free: 392 kB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 3.134e-05/0.349, allocations: 12 kB / 1.04 GB, free: 380 kB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001373/0.3504, allocations: 0.643 MB / 1.041 GB, free: 15.73 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 8.518e-05/0.3505, allocations: 71.77 kB / 1.041 GB, free: 15.66 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 7.025e-05/0.3505, allocations: 65.64 kB / 1.041 GB, free: 15.59 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0005252/0.3511, allocations: 395.3 kB / 1.041 GB, free: 15.2 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.56e-06/0.3511, allocations: 0 / 1.041 GB, free: 15.2 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.733e-06/0.3511, allocations: 0 / 1.041 GB, free: 15.2 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.668e-06/0.3511, allocations: 0 / 1.041 GB, free: 15.2 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 54 * Number of variables: 54 Notification: Performance of Generate backend data structure: time 0.001033/0.3521, allocations: 0.5536 MB / 1.042 GB, free: 14.6 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.616e-05/0.3522, allocations: 12.03 kB / 1.042 GB, free: 14.59 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.764e-05/0.3523, allocations: 58.55 kB / 1.042 GB, free: 14.52 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001151/0.3534, allocations: 143.5 kB / 1.042 GB, free: 14.38 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002395/0.3537, allocations: 214.8 kB / 1.042 GB, free: 14.13 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.021e-05/0.3537, allocations: 16.44 kB / 1.042 GB, free: 14.11 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.246e-05/0.3537, allocations: 16 kB / 1.042 GB, free: 14.1 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000551/0.3543, allocations: 351.4 kB / 1.043 GB, free: 13.73 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.498e-06/0.3543, allocations: 0 / 1.043 GB, free: 13.73 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.405e-05/0.3544, allocations: 12 kB / 1.043 GB, free: 13.72 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.147e-05/0.3544, allocations: 20.31 kB / 1.043 GB, free: 13.7 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004994/0.3549, allocations: 316.9 kB / 1.043 GB, free: 13.39 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001631/0.3566, allocations: 1.19 MB / 1.044 GB, free: 12.1 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004742/0.357, allocations: 182.5 kB / 1.044 GB, free: 11.91 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001541/0.3572, allocations: 86.09 kB / 1.045 GB, free: 11.82 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006129/0.3578, allocations: 465.5 kB / 1.045 GB, free: 11.28 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.792e-05/0.3579, allocations: 30.56 kB / 1.045 GB, free: 11.24 MB / 0.698 GB Notification: Performance of pre-optimization done (n=20): time 1.603e-06/0.3579, allocations: 0 / 1.045 GB, free: 11.24 MB / 0.698 GB Notification: Performance of matching and sorting (n=20): time 0.000624/0.3585, allocations: 247.7 kB / 1.045 GB, free: 10.99 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.096e-05/0.3586, allocations: 51.41 kB / 1.045 GB, free: 10.93 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002282/0.3588, allocations: 230.3 kB / 1.046 GB, free: 10.7 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.941e-05/0.3588, allocations: 29.7 kB / 1.046 GB, free: 10.66 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 9.6e-05/0.359, allocations: 155.9 kB / 1.046 GB, free: 10.5 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 5.773e-05/0.359, allocations: 67.02 kB / 1.046 GB, free: 10.44 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.198e-05/0.359, allocations: 0 / 1.046 GB, free: 10.44 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001274/0.3592, allocations: 330.8 kB / 1.046 GB, free: 10.11 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001189/0.3593, allocations: 64.23 kB / 1.046 GB, free: 10.04 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001862/0.3595, allocations: 164.5 kB / 1.046 GB, free: 9.84 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001655/0.3597, allocations: 99.83 kB / 1.046 GB, free: 9.746 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.31e-06/0.3597, allocations: 4.062 kB / 1.046 GB, free: 9.742 MB / 0.698 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004978/0.3602, allocations: 287 kB / 1.047 GB, free: 9.457 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.844e-05/0.3602, allocations: 8 kB / 1.047 GB, free: 9.449 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.001e-05/0.3602, allocations: 7.984 kB / 1.047 GB, free: 9.441 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.512e-05/0.3602, allocations: 4 kB / 1.047 GB, free: 9.438 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002683/0.3605, allocations: 55.92 kB / 1.047 GB, free: 9.383 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.221e-05/0.3605, allocations: 4 kB / 1.047 GB, free: 9.379 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002339/0.3608, allocations: 39.61 kB / 1.047 GB, free: 9.34 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.855e-05/0.3608, allocations: 12 kB / 1.047 GB, free: 9.328 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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.0001607/0.361, allocations: 141.8 kB / 1.047 GB, free: 9.18 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001167/0.3611, allocations: 27.67 kB / 1.047 GB, free: 9.152 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005328/0.3617, allocations: 267.3 kB / 1.047 GB, free: 8.887 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.017e-05/0.3617, allocations: 4 kB / 1.047 GB, free: 8.883 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.169e-06/0.3617, allocations: 0 / 1.047 GB, free: 8.883 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.35e-06/0.3617, allocations: 0 / 1.047 GB, free: 8.883 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007994/0.3625, allocations: 0.5725 MB / 1.048 GB, free: 8.254 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.3625, allocations: 0 / 1.048 GB, free: 8.254 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001741/0.3627, allocations: 31.98 kB / 1.048 GB, free: 8.223 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.867e-06/0.3627, allocations: 0 / 1.048 GB, free: 8.223 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.796e-05/0.3627, allocations: 4 kB / 1.048 GB, free: 8.219 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.259e-06/0.3628, allocations: 4 kB / 1.048 GB, free: 8.215 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.3628, allocations: 0 / 1.048 GB, free: 8.215 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005251/0.3633, allocations: 346.7 kB / 1.048 GB, free: 7.859 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001449/0.3634, allocations: 116.8 kB / 1.048 GB, free: 7.727 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.865e-05/0.3635, allocations: 8 kB / 1.048 GB, free: 7.719 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002721/0.3638, allocations: 7.984 kB / 1.048 GB, free: 7.711 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.162e-05/0.3638, allocations: 15.98 kB / 1.048 GB, free: 7.695 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.176e-05/0.3639, allocations: 11.98 kB / 1.048 GB, free: 7.684 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001413/0.364, allocations: 155.2 kB / 1.048 GB, free: 7.531 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.4e-07/0.364, allocations: 4 kB / 1.048 GB, free: 7.527 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0004691/0.3645, allocations: 111.9 kB / 1.049 GB, free: 7.418 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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): 16 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001018/0.3655, allocations: 0.9432 MB / 1.049 GB, free: 6.441 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0003964/0.3659, allocations: 211.5 kB / 1.05 GB, free: 6.234 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.609e-06/0.366, allocations: 0 / 1.05 GB, free: 6.234 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001435/0.3661, allocations: 99.8 kB / 1.05 GB, free: 6.137 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006995/0.3668, allocations: 100.5 kB / 1.05 GB, free: 6.039 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002238/0.3691, allocations: 1.353 MB / 1.051 GB, free: 4.598 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004195/0.3695, allocations: 0.7406 MB / 1.052 GB, free: 3.832 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0003322/0.3698, allocations: 54.25 kB / 1.052 GB, free: 3.777 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000132/0.37, allocations: 59.42 kB / 1.052 GB, free: 3.719 MB / 0.698 GB Notification: Performance of SimCode: time 5.71e-07/0.37, allocations: 0 / 1.052 GB, free: 3.719 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4173/0.7873, allocations: 7.165 MB / 1.059 GB, free: 155.4 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000219/0.7876, allocations: 186.9 kB / 1.059 GB, free: 155.1 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.028/2.816, allocations: 3.625 kB / 1.059 GB, free: 155.1 MB / 0.698 GB (rm -f Buildings_maint.7.0.x_Buildings.Media.Examples.AirProperties.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Media.Examples.AirProperties.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Media.Examples.AirProperties.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Media.Examples.AirProperties.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Media_Examples_AirProperties_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Media_Examples_AirProperties.fmu > Buildings_maint.7.0.x_Buildings.Media.Examples.AirProperties.pipe 2>&1)