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.0008313/0.0008313, allocations: 86.25 kB / 15.06 MB, free: 1.09 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.0009065/0.0009066, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.318/1.318, allocations: 223.3 MB / 240 MB, free: 5.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001779/0.001779, allocations: 270.5 kB / 291.4 MB, free: 1.973 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9453/0.9453, allocations: 169.5 MB / 0.5 GB, free: 14.22 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004013/0.0004014, allocations: 13.23 kB / 0.598 GB, free: 28.18 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1319/0.1323, allocations: 88.55 MB / 0.6845 GB, free: 15.48 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.AirProperties): time 0.3992/0.5316, allocations: 135.2 MB / 0.8165 GB, free: 1.258 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002903/0.5345, allocations: 3.332 MB / 0.8197 GB, free: 1 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.117e-05/0.5346, allocations: 5.406 kB / 0.8198 GB, free: 0.9961 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0002231/0.5348, allocations: 44.44 kB / 0.8198 GB, free: 0.9766 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0002707/0.5351, allocations: 121.2 kB / 0.8199 GB, free: 0.918 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001559/0.5367, allocations: 0.6451 MB / 0.8205 GB, free: 0.6641 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0003656/0.5371, allocations: 414.6 kB / 0.8209 GB, free: 0.582 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 5.326e-05/0.5371, allocations: 17.06 kB / 0.821 GB, free: 0.5742 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003215/0.5375, allocations: 174.6 kB / 0.8211 GB, free: 0.5234 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001667/0.5376, allocations: 137.9 kB / 0.8213 GB, free: 0.4922 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.386e-05/0.5377, allocations: 12.28 kB / 0.8213 GB, free: 500 kB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001305/0.539, allocations: 0.6673 MB / 0.8219 GB, free: 380 kB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 8.167e-05/0.5391, allocations: 62.61 kB / 0.822 GB, free: 372 kB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001047/0.5392, allocations: 68.23 kB / 0.822 GB, free: 16.32 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0005146/0.5397, allocations: 389.2 kB / 0.8224 GB, free: 16.25 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.5397, allocations: 1.156 kB / 0.8224 GB, free: 16.25 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.492e-06/0.5397, allocations: 0 / 0.8224 GB, free: 16.25 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.3e-06/0.5397, allocations: 0 / 0.8224 GB, free: 16.25 MB / 0.5606 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.000905/0.5406, allocations: 0.5536 MB / 0.823 GB, free: 15.79 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.078e-05/0.5407, allocations: 10.5 kB / 0.823 GB, free: 15.79 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001125/0.5418, allocations: 131.5 kB / 0.8231 GB, free: 15.78 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002271/0.542, allocations: 217.4 kB / 0.8233 GB, free: 15.57 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.498e-05/0.5421, allocations: 15.31 kB / 0.8233 GB, free: 15.57 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.977e-05/0.5421, allocations: 15.75 kB / 0.8233 GB, free: 15.57 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004817/0.5426, allocations: 340.1 kB / 0.8236 GB, free: 15.49 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.437e-06/0.5426, allocations: 1 kB / 0.8237 GB, free: 15.49 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.045e-05/0.5427, allocations: 14 kB / 0.8237 GB, free: 15.48 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.954e-05/0.5427, allocations: 17.7 kB / 0.8237 GB, free: 15.48 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004759/0.5432, allocations: 318.2 kB / 0.824 GB, free: 15.48 MB / 0.5606 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.001435/0.5446, allocations: 1.115 MB / 0.8251 GB, free: 14.61 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004542/0.5451, allocations: 185.2 kB / 0.8253 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001311/0.5452, allocations: 85.31 kB / 0.8253 GB, free: 14.53 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004972/0.5457, allocations: 459.2 kB / 0.8258 GB, free: 14.04 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.353e-05/0.5458, allocations: 39.12 kB / 0.8258 GB, free: 14 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=21): time 1.633e-06/0.5458, allocations: 0 / 0.8258 GB, free: 14 MB / 0.5606 GB Notification: Performance of matching and sorting (n=21): time 0.0006188/0.5464, allocations: 254.5 kB / 0.826 GB, free: 13.92 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.004e-05/0.5464, allocations: 54.88 kB / 0.8261 GB, free: 13.86 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001987/0.5467, allocations: 205.4 kB / 0.8263 GB, free: 13.73 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.006e-05/0.5467, allocations: 31.02 kB / 0.8263 GB, free: 13.7 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 8.813e-05/0.5468, allocations: 139.1 kB / 0.8265 GB, free: 13.58 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 5.58e-05/0.5469, allocations: 81.64 kB / 0.8265 GB, free: 13.52 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.497e-05/0.5469, allocations: 2.625 kB / 0.8265 GB, free: 13.52 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001106/0.547, allocations: 333.3 kB / 0.8269 GB, free: 13.2 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001291/0.5471, allocations: 70.03 kB / 0.8269 GB, free: 13.18 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001805/0.5473, allocations: 162.9 kB / 0.8271 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001626/0.5475, allocations: 88.59 kB / 0.8272 GB, free: 13.04 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.456e-06/0.5475, allocations: 0 / 0.8272 GB, free: 13.04 MB / 0.5606 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005175/0.548, allocations: 282.4 kB / 0.8274 GB, free: 12.95 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.823e-05/0.548, allocations: 7.438 kB / 0.8274 GB, free: 12.95 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.406e-06/0.5481, allocations: 2.875 kB / 0.8274 GB, free: 12.95 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.729e-05/0.5481, allocations: 9.156 kB / 0.8275 GB, free: 12.94 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002704/0.5484, allocations: 63.34 kB / 0.8275 GB, free: 12.93 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.194e-05/0.5484, allocations: 4.234 kB / 0.8275 GB, free: 12.93 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002107/0.5486, allocations: 33.88 kB / 0.8275 GB, free: 12.91 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.965e-05/0.5487, allocations: 22.33 kB / 0.8276 GB, free: 12.9 MB / 0.5606 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001311/0.5488, allocations: 134.1 kB / 0.8277 GB, free: 12.78 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001263/0.5489, allocations: 27.73 kB / 0.8277 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005209/0.5495, allocations: 276.5 kB / 0.828 GB, free: 12.68 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.839e-06/0.5495, allocations: 5.547 kB / 0.828 GB, free: 12.67 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.843e-06/0.5495, allocations: 5.703 kB / 0.828 GB, free: 12.67 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.5495, allocations: 0 / 0.828 GB, free: 12.67 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006894/0.5502, allocations: 0.5765 MB / 0.8286 GB, free: 12.27 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.5502, allocations: 5.344 kB / 0.8286 GB, free: 12.27 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001825/0.5504, allocations: 38.52 kB / 0.8286 GB, free: 12.26 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.627e-06/0.5504, allocations: 1.812 kB / 0.8286 GB, free: 12.26 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.928e-05/0.5504, allocations: 9.922 kB / 0.8286 GB, free: 12.25 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.755e-06/0.5504, allocations: 1.375 kB / 0.8286 GB, free: 12.25 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.486e-06/0.5504, allocations: 5.359 kB / 0.8286 GB, free: 12.25 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004807/0.5509, allocations: 351.6 kB / 0.829 GB, free: 12.05 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000114/0.5511, allocations: 116.6 kB / 0.8291 GB, free: 11.94 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.642e-05/0.5511, allocations: 5.656 kB / 0.8291 GB, free: 11.94 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002333/0.5513, allocations: 17.22 kB / 0.8291 GB, free: 11.93 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.391e-05/0.5514, allocations: 14.55 kB / 0.8291 GB, free: 11.93 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.779e-05/0.5514, allocations: 19.42 kB / 0.8291 GB, free: 11.92 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001093/0.5515, allocations: 149.1 kB / 0.8293 GB, free: 11.83 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.31e-07/0.5515, allocations: 4 kB / 0.8293 GB, free: 11.83 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.00047/0.552, allocations: 115.3 kB / 0.8294 GB, free: 11.81 MB / 0.5606 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 (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.0003328/0.5524, allocations: 194.4 kB / 0.8296 GB, free: 11.68 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.000323/0.5527, allocations: 206.9 kB / 0.8298 GB, free: 11.64 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.377e-06/0.5527, allocations: 4.25 kB / 0.8298 GB, free: 11.63 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001224/0.5528, allocations: 104 kB / 0.8299 GB, free: 11.61 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006073/0.5534, allocations: 96.64 kB / 0.83 GB, free: 11.58 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006853/0.5541, allocations: 0.5504 MB / 0.8305 GB, free: 11.21 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000261/0.5544, allocations: 0.7361 MB / 0.8312 GB, free: 10.49 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0002937/0.5547, allocations: 61.09 kB / 0.8313 GB, free: 10.46 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.85e-05/0.5548, allocations: 23.62 kB / 0.8313 GB, free: 10.45 MB / 0.5606 GB Notification: Performance of SimCode: time 2.51e-07/0.5548, allocations: 0 / 0.8313 GB, free: 10.45 MB / 0.5606 GB Notification: Performance of Templates: time 0.008679/0.5635, allocations: 5.135 MB / 0.8363 GB, free: 7.891 MB / 0.5606 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 -lv LOG_STATS > BuildingSystems_BuildingSystems.Media.Examples.AirProperties.pipe 2>&1)