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: translateModel(Buildings.Media.Examples.AirProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Media.Examples.AirProperties") translateModel(Buildings.Media.Examples.AirProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Media.Examples.AirProperties") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.694/1.694, allocations: 251.5 MB / 267.4 MB, free: 11.02 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.0009498/0.0009498, allocations: 181.3 kB / 326.5 MB, free: 2.656 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.617/1.617, allocations: 205 MB / 0.5766 GB, free: 20.55 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.001173/0.001173, allocations: 88.66 kB / 0.6804 GB, free: 14.29 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003428/0.0003428, allocations: 8.969 kB / 0.7938 GB, free: 136.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2524/0.2528, allocations: 105.4 MB / 0.8967 GB, free: 67.7 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirProperties): time 0.164/0.4168, allocations: 146.6 MB / 1.04 GB, free: 0.5703 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.009855/0.4267, allocations: 7.205 MB / 1.047 GB, free: 9.34 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002086/0.427, allocations: 0 / 1.047 GB, free: 9.34 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0005234/0.4275, allocations: 63.7 kB / 1.047 GB, free: 9.277 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.000573/0.4281, allocations: 163.2 kB / 1.047 GB, free: 9.117 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.003203/0.4313, allocations: 0.9203 MB / 1.048 GB, free: 8.195 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0008398/0.4322, allocations: 0.55 MB / 1.049 GB, free: 7.641 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 7.336e-05/0.4323, allocations: 13.62 kB / 1.049 GB, free: 7.629 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005785/0.4328, allocations: 195.2 kB / 1.049 GB, free: 7.438 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003537/0.4332, allocations: 151.5 kB / 1.049 GB, free: 7.289 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 4.38e-05/0.4333, allocations: 8 kB / 1.049 GB, free: 7.281 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00302/0.4363, allocations: 1.512 MB / 1.05 GB, free: 5.766 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0001074/0.4364, allocations: 75.77 kB / 1.05 GB, free: 5.691 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0001366/0.4366, allocations: 107.5 kB / 1.051 GB, free: 5.586 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0006542/0.4372, allocations: 451 kB / 1.051 GB, free: 5.145 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.4372, allocations: 0 / 1.051 GB, free: 5.145 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.255e-06/0.4372, allocations: 0 / 1.051 GB, free: 5.145 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.362e-06/0.4373, allocations: 4 kB / 1.051 GB, free: 5.141 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.001088/0.4384, allocations: 0.546 MB / 1.051 GB, free: 4.547 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.611e-05/0.4384, allocations: 11.97 kB / 1.052 GB, free: 4.535 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001098/0.4395, allocations: 140.5 kB / 1.052 GB, free: 4.398 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002589/0.4398, allocations: 220.1 kB / 1.052 GB, free: 4.145 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.326e-05/0.4398, allocations: 24.36 kB / 1.052 GB, free: 4.121 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.879e-05/0.4398, allocations: 16 kB / 1.052 GB, free: 4.105 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005693/0.4404, allocations: 343.5 kB / 1.052 GB, free: 3.75 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.187e-05/0.4404, allocations: 0 / 1.052 GB, free: 3.75 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.765e-05/0.4405, allocations: 12 kB / 1.052 GB, free: 3.738 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.583e-05/0.4405, allocations: 16.31 kB / 1.052 GB, free: 3.723 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004934/0.441, allocations: 320.9 kB / 1.053 GB, free: 3.41 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001638/0.4427, allocations: 1.193 MB / 1.054 GB, free: 2.109 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000488/0.4432, allocations: 182.5 kB / 1.054 GB, free: 1.922 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000126/0.4433, allocations: 84.75 kB / 1.054 GB, free: 1.836 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000519/0.4438, allocations: 465.5 kB / 1.054 GB, free: 1.289 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.829e-05/0.4439, allocations: 34.56 kB / 1.054 GB, free: 1.246 MB / 0.698 GB Notification: Performance of pre-optimization done (n=20): time 1.402e-06/0.4439, allocations: 0 / 1.054 GB, free: 1.246 MB / 0.698 GB Notification: Performance of matching and sorting (n=20): time 0.0006108/0.4445, allocations: 243.7 kB / 1.055 GB, free: 1.004 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.344e-05/0.4446, allocations: 59.39 kB / 1.055 GB, free: 0.9336 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000214/0.4448, allocations: 222.4 kB / 1.055 GB, free: 0.707 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.89e-05/0.4448, allocations: 37.7 kB / 1.055 GB, free: 0.6641 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 9.193e-05/0.4449, allocations: 139.9 kB / 1.055 GB, free: 0.5234 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 4.91e-05/0.445, allocations: 67 kB / 1.055 GB, free: 468 kB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.316e-05/0.445, allocations: 33.7 kB / 1.055 GB, free: 428 kB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001145/0.4451, allocations: 322.8 kB / 1.056 GB, free: 96 kB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001125/0.4453, allocations: 72.33 kB / 1.056 GB, free: 24 kB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.495/0.9403, allocations: 162.6 kB / 1.056 GB, free: 160.7 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004165/0.9408, allocations: 253.4 kB / 1.056 GB, free: 160.6 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.059e-06/0.9408, allocations: 0 / 1.056 GB, free: 160.6 MB / 0.698 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.000722/0.9415, allocations: 288.9 kB / 1.056 GB, free: 160.5 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.247e-05/0.9415, allocations: 6.469 kB / 1.056 GB, free: 160.5 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.321e-05/0.9416, allocations: 3.969 kB / 1.056 GB, free: 160.5 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.469e-05/0.9416, allocations: 4.906 kB / 1.056 GB, free: 160.5 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003421/0.942, allocations: 64.5 kB / 1.056 GB, free: 160.5 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.351e-05/0.942, allocations: 5.312 kB / 1.056 GB, free: 160.5 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002627/0.9423, allocations: 35.53 kB / 1.056 GB, free: 160.5 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.154e-05/0.9423, allocations: 18 kB / 1.056 GB, free: 160.5 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001598/0.9425, allocations: 139.7 kB / 1.057 GB, free: 160.4 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001208/0.9426, allocations: 24.06 kB / 1.057 GB, free: 160.4 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004618/0.9431, allocations: 272.1 kB / 1.057 GB, free: 160.4 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.037e-06/0.9431, allocations: 2.531 kB / 1.057 GB, free: 160.4 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.61e-06/0.9431, allocations: 0 / 1.057 GB, free: 160.4 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.019e-06/0.9431, allocations: 3.188 kB / 1.057 GB, free: 160.4 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000672/0.9438, allocations: 0.5689 MB / 1.057 GB, free: 160 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.855e-06/0.9438, allocations: 3.375 kB / 1.057 GB, free: 160 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001675/0.944, allocations: 38.16 kB / 1.057 GB, free: 160 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.467e-06/0.944, allocations: 2.5 kB / 1.057 GB, free: 160 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.629e-05/0.944, allocations: 2.688 kB / 1.057 GB, free: 160 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.923e-06/0.944, allocations: 0 / 1.057 GB, free: 160 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.366e-06/0.944, allocations: 0 / 1.057 GB, free: 160 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004404/0.9445, allocations: 342.8 kB / 1.058 GB, free: 159.9 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001292/0.9446, allocations: 124.5 kB / 1.058 GB, free: 159.8 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.699e-05/0.9446, allocations: 4.219 kB / 1.058 GB, free: 159.8 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002492/0.9449, allocations: 12.56 kB / 1.058 GB, free: 159.8 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.891e-05/0.9449, allocations: 15.31 kB / 1.058 GB, free: 159.8 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.038e-05/0.945, allocations: 14.69 kB / 1.058 GB, free: 159.8 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001269/0.9451, allocations: 159.4 kB / 1.058 GB, free: 159.7 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9451, allocations: 0 / 1.058 GB, free: 159.7 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0005297/0.9457, allocations: 119.5 kB / 1.058 GB, free: 159.7 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004698/0.9461, allocations: 212 kB / 1.058 GB, free: 159.6 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.000421/0.9466, allocations: 205.3 kB / 1.059 GB, free: 159.6 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/0.9466, allocations: 1.203 kB / 1.059 GB, free: 159.6 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001382/0.9467, allocations: 99.44 kB / 1.059 GB, free: 159.6 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006416/0.9474, allocations: 95.31 kB / 1.059 GB, free: 159.6 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007934/0.9482, allocations: 0.561 MB / 1.059 GB, free: 159.3 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002136/0.9484, allocations: 0.7372 MB / 1.06 GB, free: 158.6 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.904e-05/0.9485, allocations: 24.92 kB / 1.06 GB, free: 158.6 MB / 0.698 GB Notification: Performance of SimCode: time 2.01e-07/0.9485, allocations: 2.875 kB / 1.06 GB, free: 158.6 MB / 0.698 GB Notification: Performance of Templates: time 0.009145/0.9577, allocations: 4.364 MB / 1.064 GB, free: 158.2 MB / 0.698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Media.Examples.AirProperties.makefile (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 & ./Buildings_maint.7.0.x_Buildings.Media.Examples.AirProperties -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Media.Examples.AirProperties.pipe 2>&1)