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.005542/0.005542, allocations: 102.8 kB / 15.73 MB, free: 5.992 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.001271/0.001271, allocations: 193.2 kB / 16.67 MB, free: 5.914 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.31/1.31, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002123/0.002123, allocations: 285.9 kB / 290.8 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.023/1.023, allocations: 169.3 MB / 0.4983 GB, free: 4.434 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001645/0.001645, allocations: 96.08 kB / 0.6815 GB, free: 6.941 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4654/0.4671, allocations: 86.97 MB / 0.7664 GB, free: 3.945 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.AirProperties): time 0.1504/0.6175, allocations: 149.1 MB / 0.912 GB, free: 14.25 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.003544/0.621, allocations: 3.613 MB / 0.9156 GB, free: 10.62 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.713e-05/0.6212, allocations: 4 kB / 0.9156 GB, free: 10.62 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.0003032/0.6215, allocations: 63.64 kB / 0.9156 GB, free: 10.56 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.0002549/0.6217, allocations: 131.2 kB / 0.9157 GB, free: 10.43 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.002143/0.6239, allocations: 1.017 MB / 0.9167 GB, free: 9.414 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.0004149/0.6243, allocations: 323.7 kB / 0.917 GB, free: 9.098 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 4.763e-05/0.6244, allocations: 9.562 kB / 0.9171 GB, free: 9.086 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003489/0.6247, allocations: 202.8 kB / 0.9172 GB, free: 8.891 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001695/0.6249, allocations: 127.5 kB / 0.9174 GB, free: 8.766 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 3.022e-05/0.6249, allocations: 8 kB / 0.9174 GB, free: 8.758 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001959/0.6269, allocations: 1.216 MB / 0.9186 GB, free: 7.539 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0001104/0.627, allocations: 71.78 kB / 0.9186 GB, free: 7.469 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0001277/0.6272, allocations: 111.5 kB / 0.9187 GB, free: 7.359 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.001116/0.6283, allocations: 0.6416 MB / 0.9194 GB, free: 6.719 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.6283, allocations: 3.938 kB / 0.9194 GB, free: 6.715 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.633e-06/0.6283, allocations: 0 / 0.9194 GB, free: 6.715 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 7.464e-06/0.6283, allocations: 0 / 0.9194 GB, free: 6.715 MB / 0.6856 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.001224/0.6295, allocations: 0.5811 MB / 0.9199 GB, free: 6.086 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.419e-05/0.6296, allocations: 12.03 kB / 0.9199 GB, free: 6.074 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001168/0.6308, allocations: 132.6 kB / 0.9201 GB, free: 5.945 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002673/0.6311, allocations: 224 kB / 0.9203 GB, free: 5.688 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.831e-05/0.6311, allocations: 20.31 kB / 0.9203 GB, free: 5.668 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.658e-05/0.6311, allocations: 23.98 kB / 0.9203 GB, free: 5.645 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005479/0.6317, allocations: 334.2 kB / 0.9207 GB, free: 5.301 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.568e-06/0.6317, allocations: 0 / 0.9207 GB, free: 5.301 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.182e-05/0.6317, allocations: 12 kB / 0.9207 GB, free: 5.289 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.12e-05/0.6318, allocations: 19.98 kB / 0.9207 GB, free: 5.27 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004923/0.6323, allocations: 328.1 kB / 0.921 GB, free: 4.949 MB / 0.6856 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.001504/0.6338, allocations: 1.101 MB / 0.9221 GB, free: 3.758 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004762/0.6343, allocations: 198.4 kB / 0.9223 GB, free: 3.555 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001333/0.6344, allocations: 84.75 kB / 0.9223 GB, free: 3.469 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005631/0.635, allocations: 457.4 kB / 0.9228 GB, free: 2.93 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.902e-05/0.635, allocations: 38.56 kB / 0.9228 GB, free: 2.883 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=21): time 1.703e-06/0.635, allocations: 0 / 0.9228 GB, free: 2.883 MB / 0.6856 GB Notification: Performance of matching and sorting (n=21): time 0.0006596/0.6357, allocations: 263.2 kB / 0.9231 GB, free: 2.621 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.91e-05/0.6357, allocations: 55.41 kB / 0.9231 GB, free: 2.555 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00021/0.636, allocations: 207 kB / 0.9233 GB, free: 2.336 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 2.969e-05/0.636, allocations: 25.7 kB / 0.9233 GB, free: 2.305 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001559/0.6362, allocations: 144 kB / 0.9235 GB, free: 2.16 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 5.642e-05/0.6362, allocations: 74.84 kB / 0.9235 GB, free: 2.086 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.912e-05/0.6363, allocations: 49.7 kB / 0.9236 GB, free: 2.031 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001083/0.6364, allocations: 326.8 kB / 0.9239 GB, free: 1.703 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001218/0.6366, allocations: 80.16 kB / 0.924 GB, free: 1.625 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002064/0.6368, allocations: 157.3 kB / 0.9241 GB, free: 1.434 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003034/0.6371, allocations: 253 kB / 0.9244 GB, free: 1.148 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.6371, allocations: 0 / 0.9244 GB, free: 1.148 MB / 0.6856 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004904/0.6376, allocations: 285.3 kB / 0.9246 GB, free: 0.8633 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.768e-05/0.6376, allocations: 11.98 kB / 0.9247 GB, free: 0.8516 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.111e-06/0.6376, allocations: 0 / 0.9247 GB, free: 0.8516 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.998e-05/0.6377, allocations: 11.94 kB / 0.9247 GB, free: 0.8398 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002577/0.6379, allocations: 55.92 kB / 0.9247 GB, free: 0.7852 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.125e-05/0.6379, allocations: 11.92 kB / 0.9247 GB, free: 0.7734 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001965/0.6381, allocations: 31.59 kB / 0.9248 GB, free: 0.7422 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.041e-05/0.6382, allocations: 12 kB / 0.9248 GB, free: 0.7305 MB / 0.6856 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.0001237/0.6383, allocations: 141.8 kB / 0.9249 GB, free: 0.582 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001202/0.6384, allocations: 23.8 kB / 0.9249 GB, free: 0.5586 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004559/0.6389, allocations: 267.4 kB / 0.9252 GB, free: 296 kB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.576e-06/0.6389, allocations: 7.938 kB / 0.9252 GB, free: 288 kB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.6389, allocations: 0 / 0.9252 GB, free: 288 kB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.099e-06/0.6389, allocations: 3.984 kB / 0.9252 GB, free: 284 kB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007597/0.6397, allocations: 0.5845 MB / 0.9258 GB, free: 15.63 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.859e-06/0.6397, allocations: 8.062 kB / 0.9258 GB, free: 15.62 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001775/0.6399, allocations: 31.92 kB / 0.9258 GB, free: 15.59 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.26e-06/0.6399, allocations: 4 kB / 0.9258 GB, free: 15.59 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.755e-05/0.6399, allocations: 4 kB / 0.9258 GB, free: 15.59 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.316e-06/0.6399, allocations: 4 kB / 0.9258 GB, free: 15.58 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.756e-06/0.6399, allocations: 4 kB / 0.9258 GB, free: 15.58 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005046/0.6405, allocations: 356.5 kB / 0.9262 GB, free: 15.21 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001043/0.6406, allocations: 120.7 kB / 0.9263 GB, free: 15.07 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.553e-05/0.6406, allocations: 3.984 kB / 0.9263 GB, free: 15.07 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002342/0.6409, allocations: 15 kB / 0.9263 GB, free: 15.06 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.866e-05/0.6409, allocations: 7.984 kB / 0.9263 GB, free: 15.05 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.808e-05/0.6409, allocations: 19.98 kB / 0.9263 GB, free: 15.03 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.0001123/0.6411, allocations: 152.3 kB / 0.9265 GB, free: 14.88 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.61e-07/0.6411, allocations: 4 kB / 0.9265 GB, free: 14.88 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.0004889/0.6416, allocations: 115.9 kB / 0.9266 GB, free: 14.77 MB / 0.7012 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.0003971/0.642, allocations: 222.9 kB / 0.9268 GB, free: 14.54 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.0003467/0.6423, allocations: 199.6 kB / 0.927 GB, free: 14.34 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 4.027e-06/0.6423, allocations: 4 kB / 0.927 GB, free: 14.34 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.0001346/0.6425, allocations: 107.8 kB / 0.9271 GB, free: 14.23 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006117/0.6431, allocations: 96.66 kB / 0.9272 GB, free: 14.14 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007371/0.6438, allocations: 461.5 kB / 0.9276 GB, free: 13.66 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002893/0.6441, allocations: 0.7406 MB / 0.9283 GB, free: 12.89 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.0002173/0.6444, allocations: 58.25 kB / 0.9284 GB, free: 12.84 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.858e-05/0.6444, allocations: 23.44 kB / 0.9284 GB, free: 12.81 MB / 0.7012 GB Notification: Performance of SimCode: time 2.4e-07/0.6445, allocations: 0 / 0.9284 GB, free: 12.81 MB / 0.7012 GB Notification: Performance of Templates: time 0.009304/0.6538, allocations: 5.529 MB / 0.9338 GB, free: 7.355 MB / 0.7012 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)