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.001075/0.001075, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001228/0.001228, allocations: 199.2 kB / 16.14 MB, free: 6.715 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.338/1.338, allocations: 222.9 MB / 239.8 MB, free: 4.637 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001988/0.001988, allocations: 274.9 kB / 290.2 MB, free: 2.246 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9448/0.9448, allocations: 169.2 MB / 0.4977 GB, free: 14.2 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001551/0.001552, allocations: 93.75 kB / 0.5945 GB, free: 28.32 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1613/0.1629, allocations: 86.99 MB / 0.6794 GB, free: 1.23 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.AirProperties): time 0.4998/0.6627, allocations: 146.8 MB / 0.8228 GB, free: 1.191 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.003614/0.6664, allocations: 3.667 MB / 0.8264 GB, free: 0.9258 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001171/0.6665, allocations: 5.062 kB / 0.8264 GB, free: 0.9219 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0003284/0.6669, allocations: 59.2 kB / 0.8265 GB, free: 0.9102 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.000305/0.6672, allocations: 126.9 kB / 0.8266 GB, free: 0.8711 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002318/0.6695, allocations: 0.9417 MB / 0.8275 GB, free: 0.6953 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0004877/0.67, allocations: 497.1 kB / 0.828 GB, free: 0.625 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 5.452e-05/0.6701, allocations: 17.55 kB / 0.828 GB, free: 0.6172 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003458/0.6705, allocations: 176.8 kB / 0.8282 GB, free: 0.5781 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001706/0.6706, allocations: 142 kB / 0.8283 GB, free: 0.5547 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.997e-05/0.6707, allocations: 8.406 kB / 0.8283 GB, free: 0.5547 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002541/0.6732, allocations: 1.529 MB / 0.8298 GB, free: 428 kB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001094/0.6734, allocations: 69.8 kB / 0.8299 GB, free: 420 kB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001304/0.6735, allocations: 108.6 kB / 0.83 GB, free: 388 kB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001337/0.6748, allocations: 0.7427 MB / 0.8307 GB, free: 292 kB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.6749, allocations: 0 / 0.8307 GB, free: 292 kB / 0.5606 GB Notification: Performance of FrontEnd: time 1.152e-06/0.6749, allocations: 1.406 kB / 0.8307 GB, free: 292 kB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.789e-06/0.6749, allocations: 0 / 0.8307 GB, free: 292 kB / 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.001046/0.6759, allocations: 0.5788 MB / 0.8313 GB, free: 15.84 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.33e-05/0.676, allocations: 8.531 kB / 0.8313 GB, free: 15.84 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001197/0.6772, allocations: 138.2 kB / 0.8314 GB, free: 15.83 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002476/0.6774, allocations: 221.1 kB / 0.8316 GB, free: 15.61 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.977e-05/0.6775, allocations: 18.72 kB / 0.8316 GB, free: 15.61 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.194e-05/0.6775, allocations: 22.12 kB / 0.8316 GB, free: 15.61 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005315/0.678, allocations: 333.9 kB / 0.832 GB, free: 15.53 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.128e-05/0.6781, allocations: 3.938 kB / 0.832 GB, free: 15.53 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.372e-05/0.6781, allocations: 10.91 kB / 0.832 GB, free: 15.53 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.428e-05/0.6781, allocations: 13.88 kB / 0.832 GB, free: 15.53 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005066/0.6787, allocations: 323.9 kB / 0.8323 GB, free: 15.52 MB / 0.5762 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.00161/0.6803, allocations: 1.11 MB / 0.8334 GB, free: 14.75 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005293/0.6808, allocations: 189.2 kB / 0.8336 GB, free: 14.72 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001469/0.681, allocations: 84.77 kB / 0.8336 GB, free: 14.71 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005786/0.6816, allocations: 464.8 kB / 0.8341 GB, free: 14.23 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.398e-05/0.6816, allocations: 37.09 kB / 0.8341 GB, free: 14.19 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=21): time 3.496e-06/0.6816, allocations: 4 kB / 0.8341 GB, free: 14.19 MB / 0.5762 GB Notification: Performance of matching and sorting (n=21): time 0.0007272/0.6824, allocations: 269.5 kB / 0.8344 GB, free: 14.14 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.394e-05/0.6824, allocations: 55.62 kB / 0.8344 GB, free: 14.07 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002196/0.6826, allocations: 201.5 kB / 0.8346 GB, free: 13.97 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.108e-05/0.6827, allocations: 30.95 kB / 0.8347 GB, free: 13.94 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 9.304e-05/0.6828, allocations: 143.5 kB / 0.8348 GB, free: 13.82 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 6.297e-05/0.6828, allocations: 72.14 kB / 0.8349 GB, free: 13.78 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.589e-05/0.6829, allocations: 60.56 kB / 0.8349 GB, free: 13.75 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001268/0.6831, allocations: 334 kB / 0.8352 GB, free: 13.44 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001318/0.6832, allocations: 67.81 kB / 0.8353 GB, free: 13.44 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001834/0.6834, allocations: 165.8 kB / 0.8355 GB, free: 13.33 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003116/0.6837, allocations: 243.6 kB / 0.8357 GB, free: 13.21 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.866e-06/0.6837, allocations: 5.031 kB / 0.8357 GB, free: 13.2 MB / 0.5762 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005062/0.6843, allocations: 287.8 kB / 0.836 GB, free: 13.12 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.942e-05/0.6843, allocations: 10.61 kB / 0.836 GB, free: 13.11 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.075e-06/0.6843, allocations: 2.656 kB / 0.836 GB, free: 13.11 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.554e-05/0.6843, allocations: 4.5 kB / 0.836 GB, free: 13.11 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002732/0.6846, allocations: 57.36 kB / 0.836 GB, free: 13.1 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.809e-06/0.6846, allocations: 5.406 kB / 0.836 GB, free: 13.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002404/0.6849, allocations: 33.23 kB / 0.8361 GB, free: 13.08 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.607e-05/0.6849, allocations: 17.72 kB / 0.8361 GB, free: 13.08 MB / 0.5762 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.0001301/0.685, allocations: 138 kB / 0.8362 GB, free: 12.96 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001265/0.6852, allocations: 24 kB / 0.8363 GB, free: 12.95 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004478/0.6856, allocations: 278 kB / 0.8365 GB, free: 12.85 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.002e-05/0.6856, allocations: 9.219 kB / 0.8365 GB, free: 12.85 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.55e-06/0.6857, allocations: 2.781 kB / 0.8365 GB, free: 12.85 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.327e-06/0.6857, allocations: 4 kB / 0.8365 GB, free: 12.84 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007631/0.6864, allocations: 0.5789 MB / 0.8371 GB, free: 12.45 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.2e-06/0.6865, allocations: 6.062 kB / 0.8371 GB, free: 12.45 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001997/0.6867, allocations: 35.2 kB / 0.8371 GB, free: 12.44 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.073e-06/0.6867, allocations: 1.844 kB / 0.8371 GB, free: 12.44 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.769e-05/0.6867, allocations: 9.281 kB / 0.8371 GB, free: 12.44 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.755e-06/0.6867, allocations: 1.25 kB / 0.8371 GB, free: 12.44 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/0.6867, allocations: 1.188 kB / 0.8371 GB, free: 12.44 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005311/0.6872, allocations: 354 kB / 0.8375 GB, free: 12.24 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001289/0.6874, allocations: 124.8 kB / 0.8376 GB, free: 12.12 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.288e-05/0.6874, allocations: 5.688 kB / 0.8376 GB, free: 12.12 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002571/0.6877, allocations: 11.44 kB / 0.8376 GB, free: 12.12 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.369e-05/0.6878, allocations: 17.84 kB / 0.8376 GB, free: 12.11 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.048e-05/0.6878, allocations: 12.69 kB / 0.8377 GB, free: 12.11 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001205/0.6879, allocations: 152.4 kB / 0.8378 GB, free: 12.01 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6879, allocations: 1.25 kB / 0.8378 GB, free: 12.01 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0005499/0.6885, allocations: 119 kB / 0.8379 GB, free: 12 MB / 0.5762 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.000434/0.6889, allocations: 220.9 kB / 0.8381 GB, free: 11.86 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0003647/0.6893, allocations: 207.2 kB / 0.8383 GB, free: 11.82 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/0.6893, allocations: 0 / 0.8383 GB, free: 11.82 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001422/0.6894, allocations: 108.1 kB / 0.8384 GB, free: 11.8 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000651/0.6901, allocations: 98.77 kB / 0.8385 GB, free: 11.76 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008267/0.6909, allocations: 0.5297 MB / 0.839 GB, free: 11.41 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002826/0.6912, allocations: 0.7301 MB / 0.8397 GB, free: 10.7 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0003168/0.6916, allocations: 53.92 kB / 0.8398 GB, free: 10.68 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.046e-05/0.6917, allocations: 34.78 kB / 0.8398 GB, free: 10.66 MB / 0.5762 GB Notification: Performance of SimCode: time 2.1e-07/0.6917, allocations: 0 / 0.8398 GB, free: 10.66 MB / 0.5762 GB Notification: Performance of Templates: time 0.009058/0.7007, allocations: 5.305 MB / 0.845 GB, free: 8.051 MB / 0.5762 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)