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.565/1.565, allocations: 251.9 MB / 266.9 MB, free: 10.98 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.00132/0.00132, allocations: 181.5 kB / 326.5 MB, free: 2.227 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.92/1.92, allocations: 205.4 MB / 0.5775 GB, free: 20.22 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.0008556/0.0008552, allocations: 94.34 kB / 0.6821 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003336/0.0003336, allocations: 5.938 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2112/0.2116, allocations: 106.3 MB / 0.9001 GB, free: 63.85 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirProperties): time 0.1338/0.3454, allocations: 125.9 MB / 1.023 GB, free: 1.582 MB / 0.6667 GB Notification: Performance of NFInst.instExpressions: time 0.005422/0.3509, allocations: 4.58 MB / 1.028 GB, free: 12.99 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.854e-05/0.351, allocations: 0 / 1.028 GB, free: 12.99 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0002918/0.3513, allocations: 51.77 kB / 1.028 GB, free: 12.94 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.0003084/0.3516, allocations: 119.7 kB / 1.028 GB, free: 12.82 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.001803/0.3534, allocations: 0.6579 MB / 1.028 GB, free: 12.16 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.0002823/0.3537, allocations: 216.6 kB / 1.029 GB, free: 11.95 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 5.796e-05/0.3538, allocations: 13.67 kB / 1.029 GB, free: 11.93 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003431/0.3541, allocations: 175.5 kB / 1.029 GB, free: 11.76 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001444/0.3543, allocations: 103.6 kB / 1.029 GB, free: 11.66 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 2.787e-05/0.3543, allocations: 12 kB / 1.029 GB, free: 11.65 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001194/0.3555, allocations: 0.6629 MB / 1.03 GB, free: 10.98 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 8.386e-05/0.3556, allocations: 71.84 kB / 1.03 GB, free: 10.91 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 5.946e-05/0.3557, allocations: 65.58 kB / 1.03 GB, free: 10.84 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.0005318/0.3562, allocations: 375.4 kB / 1.03 GB, free: 10.48 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 2.375e-06/0.3562, allocations: 0 / 1.03 GB, free: 10.48 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.743e-06/0.3562, allocations: 0 / 1.03 GB, free: 10.48 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 5.059e-06/0.3562, allocations: 0 / 1.03 GB, free: 10.48 MB / 0.6823 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.001025/0.3573, allocations: 0.5537 MB / 1.031 GB, free: 9.875 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.809e-05/0.3573, allocations: 8.031 kB / 1.031 GB, free: 9.867 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.644e-05/0.3574, allocations: 54.55 kB / 1.031 GB, free: 9.805 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001077/0.3585, allocations: 147.5 kB / 1.031 GB, free: 9.66 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002598/0.3587, allocations: 218.8 kB / 1.031 GB, free: 9.406 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.652e-05/0.3588, allocations: 12.44 kB / 1.031 GB, free: 9.395 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.99e-05/0.3588, allocations: 16 kB / 1.031 GB, free: 9.379 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005589/0.3594, allocations: 343.4 kB / 1.031 GB, free: 9.023 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.22e-05/0.3594, allocations: 8 kB / 1.031 GB, free: 9.016 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.694e-05/0.3594, allocations: 15.98 kB / 1.031 GB, free: 9 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.509e-05/0.3595, allocations: 16.31 kB / 1.031 GB, free: 8.984 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004981/0.36, allocations: 320.8 kB / 1.032 GB, free: 8.672 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001718/0.3617, allocations: 1.194 MB / 1.033 GB, free: 7.371 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004644/0.3622, allocations: 182.5 kB / 1.033 GB, free: 7.184 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006074/0.3628, allocations: 461.6 kB / 1.033 GB, free: 6.641 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.495e-05/0.3629, allocations: 42.47 kB / 1.033 GB, free: 6.59 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=20): time 1.984e-06/0.3629, allocations: 0 / 1.033 GB, free: 6.59 MB / 0.6823 GB Notification: Performance of matching and sorting (n=20): time 0.0006922/0.3636, allocations: 328.1 kB / 1.034 GB, free: 6.246 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.899e-05/0.3636, allocations: 51.41 kB / 1.034 GB, free: 6.184 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002287/0.3638, allocations: 222.4 kB / 1.034 GB, free: 5.957 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 3.099e-05/0.3639, allocations: 29.7 kB / 1.034 GB, free: 5.922 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001139/0.364, allocations: 151.9 kB / 1.034 GB, free: 5.77 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 5.306e-05/0.3641, allocations: 71.09 kB / 1.034 GB, free: 5.699 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.432e-05/0.3641, allocations: 4 kB / 1.034 GB, free: 5.695 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001318/0.3642, allocations: 330.8 kB / 1.035 GB, free: 5.363 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000125/0.3644, allocations: 68.22 kB / 1.035 GB, free: 5.297 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000184/0.3646, allocations: 168.5 kB / 1.035 GB, free: 5.09 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001512/0.3647, allocations: 95.56 kB / 1.035 GB, free: 5 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.3647, allocations: 0 / 1.035 GB, free: 5 MB / 0.6823 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004971/0.3652, allocations: 290.6 kB / 1.035 GB, free: 4.711 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.974e-05/0.3653, allocations: 4.406 kB / 1.035 GB, free: 4.707 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.163e-06/0.3653, allocations: 8 kB / 1.035 GB, free: 4.699 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.073e-05/0.3653, allocations: 8 kB / 1.035 GB, free: 4.691 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002597/0.3656, allocations: 59.91 kB / 1.035 GB, free: 4.633 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.026e-05/0.3656, allocations: 4 kB / 1.035 GB, free: 4.629 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002201/0.3658, allocations: 31.8 kB / 1.035 GB, free: 4.598 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.989e-05/0.3659, allocations: 19.92 kB / 1.035 GB, free: 4.578 MB / 0.6823 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.0001319/0.366, allocations: 137.7 kB / 1.035 GB, free: 4.434 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001294/0.3661, allocations: 35.66 kB / 1.036 GB, free: 4.398 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004644/0.3666, allocations: 259.3 kB / 1.036 GB, free: 4.145 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.868e-06/0.3666, allocations: 7.984 kB / 1.036 GB, free: 4.137 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.3666, allocations: 0 / 1.036 GB, free: 4.137 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.027e-06/0.3666, allocations: 0 / 1.036 GB, free: 4.137 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007133/0.3674, allocations: 0.5686 MB / 1.036 GB, free: 3.512 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.3674, allocations: 4.031 kB / 1.036 GB, free: 3.508 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001733/0.3675, allocations: 27.98 kB / 1.036 GB, free: 3.48 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.609e-06/0.3676, allocations: 4 kB / 1.036 GB, free: 3.477 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.763e-05/0.3676, allocations: 4 kB / 1.036 GB, free: 3.473 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.337e-06/0.3676, allocations: 4 kB / 1.036 GB, free: 3.469 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.3676, allocations: 0 / 1.036 GB, free: 3.469 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004995/0.3681, allocations: 345.6 kB / 1.037 GB, free: 3.105 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001553/0.3683, allocations: 120.7 kB / 1.037 GB, free: 2.969 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.96e-05/0.3683, allocations: 11.98 kB / 1.037 GB, free: 2.957 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002396/0.3686, allocations: 10.23 kB / 1.037 GB, free: 2.949 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.936e-05/0.3686, allocations: 15.92 kB / 1.037 GB, free: 2.934 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.87e-05/0.3686, allocations: 11.98 kB / 1.037 GB, free: 2.922 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0001464/0.3688, allocations: 159.2 kB / 1.037 GB, free: 2.766 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3688, allocations: 4 kB / 1.037 GB, free: 2.762 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0004878/0.3693, allocations: 115.9 kB / 1.037 GB, free: 2.648 MB / 0.6823 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.001005/0.3703, allocations: 1.021 MB / 1.038 GB, free: 1.59 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0003321/0.3706, allocations: 203.6 kB / 1.038 GB, free: 1.391 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.3707, allocations: 0 / 1.038 GB, free: 1.391 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001337/0.3708, allocations: 102.4 kB / 1.038 GB, free: 1.293 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005129/0.3713, allocations: 92.48 kB / 1.039 GB, free: 1.203 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002588/0.3739, allocations: 3.304 MB / 1.042 GB, free: 13.79 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003096/0.3742, allocations: 0.7445 MB / 1.042 GB, free: 13.02 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0003085/0.3746, allocations: 62.19 kB / 1.043 GB, free: 12.96 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001102/0.3747, allocations: 59.42 kB / 1.043 GB, free: 12.91 MB / 0.698 GB Notification: Performance of SimCode: time 3.91e-07/0.3747, allocations: 0 / 1.043 GB, free: 12.91 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0199/0.3946, allocations: 7.149 MB / 1.05 GB, free: 5.945 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002315/0.3949, allocations: 185.8 kB / 1.05 GB, free: 5.699 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.867/2.262, allocations: 0 / 1.05 GB, free: 5.699 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)