Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Media.Examples.AirProperties.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Media.Examples.AirProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.AirProperties") translateModel(BuildingSystems.Media.Examples.AirProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.AirProperties") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001092/0.001092, allocations: 106.8 kB / 16.37 MB, free: 6.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001134/0.001134, allocations: 193.1 kB / 17.31 MB, free: 5.824 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.252/1.252, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002004/0.002004, allocations: 283.1 kB / 291.4 MB, free: 14.48 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.894/0.894, allocations: 169.3 MB / 0.4989 GB, free: 4.441 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001713/0.001713, allocations: 95.88 kB / 0.5967 GB, free: 14.48 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1408/0.1425, allocations: 86.97 MB / 0.6816 GB, free: 7.5 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.AirProperties): time 0.3967/0.5393, allocations: 149.1 MB / 0.8272 GB, free: 9.512 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.003991/0.5433, allocations: 3.619 MB / 0.8307 GB, free: 5.895 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001172/0.5434, allocations: 4 kB / 0.8307 GB, free: 5.891 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0003077/0.5438, allocations: 63.58 kB / 0.8308 GB, free: 5.828 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.0003116/0.5441, allocations: 127.2 kB / 0.8309 GB, free: 5.703 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002268/0.5464, allocations: 1.008 MB / 0.8319 GB, free: 4.695 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0003928/0.5468, allocations: 323.7 kB / 0.8322 GB, free: 4.379 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 4.866e-05/0.5468, allocations: 17.55 kB / 0.8322 GB, free: 4.359 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003872/0.5472, allocations: 202.9 kB / 0.8324 GB, free: 4.164 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001845/0.5474, allocations: 123.6 kB / 0.8325 GB, free: 4.043 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 2.607e-05/0.5475, allocations: 11.94 kB / 0.8325 GB, free: 4.031 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001878/0.5494, allocations: 1.224 MB / 0.8337 GB, free: 2.805 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 9.04e-05/0.5495, allocations: 67.84 kB / 0.8338 GB, free: 2.738 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0001195/0.5496, allocations: 107.5 kB / 0.8339 GB, free: 2.633 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001038/0.5506, allocations: 0.6338 MB / 0.8345 GB, free: 2 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.688e-06/0.5506, allocations: 4 kB / 0.8345 GB, free: 1.996 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.082e-06/0.5507, allocations: 0 / 0.8345 GB, free: 1.996 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 6.552e-06/0.5507, allocations: 0 / 0.8345 GB, free: 1.996 MB / 0.5919 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.001083/0.5518, allocations: 0.5817 MB / 0.8351 GB, free: 1.367 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.325e-05/0.5518, allocations: 12.03 kB / 0.8351 GB, free: 1.355 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001204/0.553, allocations: 132.6 kB / 0.8352 GB, free: 1.227 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002684/0.5533, allocations: 228.1 kB / 0.8354 GB, free: 0.9648 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.581e-05/0.5533, allocations: 16.31 kB / 0.8355 GB, free: 0.9492 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.398e-05/0.5534, allocations: 23.98 kB / 0.8355 GB, free: 0.9258 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005234/0.5539, allocations: 338.3 kB / 0.8358 GB, free: 0.5781 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.288e-06/0.5539, allocations: 3.938 kB / 0.8358 GB, free: 0.5742 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.052e-05/0.5539, allocations: 12 kB / 0.8358 GB, free: 0.5625 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.19e-05/0.554, allocations: 15.98 kB / 0.8358 GB, free: 0.5469 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005167/0.5545, allocations: 316.1 kB / 0.8361 GB, free: 244 kB / 0.5919 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001603/0.5561, allocations: 1.109 MB / 0.8372 GB, free: 15.04 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004941/0.5566, allocations: 190.5 kB / 0.8374 GB, free: 14.84 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001306/0.5568, allocations: 84.8 kB / 0.8375 GB, free: 14.76 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005258/0.5573, allocations: 457.4 kB / 0.8379 GB, free: 14.22 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.344e-05/0.5573, allocations: 38.56 kB / 0.838 GB, free: 14.17 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=21): time 3.857e-06/0.5573, allocations: 3.984 kB / 0.838 GB, free: 14.17 MB / 0.6075 GB Notification: Performance of matching and sorting (n=21): time 0.0006413/0.558, allocations: 272.6 kB / 0.8382 GB, free: 13.9 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.225e-05/0.558, allocations: 55.41 kB / 0.8383 GB, free: 13.83 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001877/0.5582, allocations: 195.2 kB / 0.8385 GB, free: 13.63 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.979e-05/0.5583, allocations: 29.7 kB / 0.8385 GB, free: 13.59 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 8.644e-05/0.5584, allocations: 151.9 kB / 0.8386 GB, free: 13.44 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.92e-05/0.5584, allocations: 71.05 kB / 0.8387 GB, free: 13.37 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.478e-05/0.5585, allocations: 57.55 kB / 0.8388 GB, free: 13.31 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001133/0.5586, allocations: 326.8 kB / 0.8391 GB, free: 12.98 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001359/0.5588, allocations: 76.22 kB / 0.8391 GB, free: 12.91 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001777/0.559, allocations: 165.2 kB / 0.8393 GB, free: 12.71 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003125/0.5593, allocations: 249.4 kB / 0.8395 GB, free: 12.43 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.464e-06/0.5593, allocations: 3.938 kB / 0.8395 GB, free: 12.42 MB / 0.6075 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005014/0.5598, allocations: 282.3 kB / 0.8398 GB, free: 12.14 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.627e-05/0.5598, allocations: 8 kB / 0.8398 GB, free: 12.13 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.292e-06/0.5598, allocations: 0 / 0.8398 GB, free: 12.13 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.404e-05/0.5599, allocations: 11.98 kB / 0.8398 GB, free: 12.12 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002699/0.5601, allocations: 55.86 kB / 0.8399 GB, free: 12.07 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.797e-06/0.5602, allocations: 4 kB / 0.8399 GB, free: 12.06 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001995/0.5604, allocations: 27.69 kB / 0.8399 GB, free: 12.04 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.844e-05/0.5604, allocations: 19.98 kB / 0.8399 GB, free: 12.02 MB / 0.6075 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 () * 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.0001265/0.5605, allocations: 137.9 kB / 0.8401 GB, free: 11.87 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001283/0.5607, allocations: 23.8 kB / 0.8401 GB, free: 11.85 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004717/0.5611, allocations: 281.3 kB / 0.8404 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.786e-06/0.5612, allocations: 7.938 kB / 0.8404 GB, free: 11.56 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.5612, allocations: 0 / 0.8404 GB, free: 11.56 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/0.5612, allocations: 0 / 0.8404 GB, free: 11.56 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007331/0.5619, allocations: 0.5787 MB / 0.8409 GB, free: 10.92 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.23e-06/0.5619, allocations: 12 kB / 0.8409 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001833/0.5621, allocations: 31.92 kB / 0.841 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.923e-06/0.5621, allocations: 4 kB / 0.841 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.663e-05/0.5622, allocations: 7.938 kB / 0.841 GB, free: 10.87 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.957e-06/0.5622, allocations: 4 kB / 0.841 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.814e-06/0.5622, allocations: 1.125 kB / 0.841 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004932/0.5627, allocations: 357 kB / 0.8413 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001417/0.5628, allocations: 116.8 kB / 0.8414 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.263e-05/0.5629, allocations: 4 kB / 0.8414 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003614/0.5633, allocations: 15.98 kB / 0.8415 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.902e-05/0.5633, allocations: 11.92 kB / 0.8415 GB, free: 10.33 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.121e-05/0.5634, allocations: 19.98 kB / 0.8415 GB, free: 10.31 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0002049/0.5636, allocations: 148.3 kB / 0.8416 GB, free: 10.17 MB / 0.6075 GB Notification: Performance of sort global known variables: time 3.11e-07/0.5636, allocations: 0 / 0.8416 GB, free: 10.17 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0005421/0.5642, allocations: 127.8 kB / 0.8418 GB, free: 10.04 MB / 0.6075 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 17 * 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.0003759/0.5645, allocations: 211.1 kB / 0.842 GB, free: 9.824 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003525/0.5649, allocations: 203.7 kB / 0.8421 GB, free: 9.625 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.248e-06/0.5649, allocations: 4 kB / 0.8421 GB, free: 9.621 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001524/0.5651, allocations: 99.89 kB / 0.8422 GB, free: 9.523 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008963/0.566, allocations: 103.5 kB / 0.8423 GB, free: 9.426 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007726/0.5668, allocations: 462.8 kB / 0.8428 GB, free: 8.941 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003576/0.5671, allocations: 0.7484 MB / 0.8435 GB, free: 8.168 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.000213/0.5674, allocations: 50.27 kB / 0.8436 GB, free: 8.121 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.55e-05/0.5675, allocations: 27.42 kB / 0.8436 GB, free: 8.094 MB / 0.6075 GB Notification: Performance of SimCode: time 1.593e-06/0.5675, allocations: 3.938 kB / 0.8436 GB, free: 8.09 MB / 0.6075 GB Notification: Performance of Templates: time 0.009992/0.5775, allocations: 5.495 MB / 0.849 GB, free: 2.676 MB / 0.6075 GB make -j1 -f BuildingSystems_BuildingSystems.Media.Examples.AirProperties.makefile (rm -f BuildingSystems_BuildingSystems.Media.Examples.AirProperties.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Examples.AirProperties.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Examples.AirProperties.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Examples.AirProperties.sim & ./BuildingSystems_BuildingSystems.Media.Examples.AirProperties -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > BuildingSystems_BuildingSystems.Media.Examples.AirProperties.pipe 2>&1)