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.001568/0.001573, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.00175/0.00175, allocations: 193 kB / 16.26 MB, free: 6.621 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.452/1.452, allocations: 222.9 MB / 239.9 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002629/0.002629, allocations: 290.9 kB / 290.4 MB, free: 2.129 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.072/1.072, allocations: 178.6 MB / 0.507 GB, free: 4.746 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003514/0.003514, allocations: 101.3 kB / 0.6059 GB, free: 25.15 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1904/0.194, allocations: 89.15 MB / 0.693 GB, free: 4.723 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.AirProperties): time 0.5378/0.7319, allocations: 147 MB / 0.8365 GB, free: 14.93 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.007275/0.7392, allocations: 3.603 MB / 0.84 GB, free: 12.04 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001493/0.7394, allocations: 0 / 0.84 GB, free: 12.04 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0004862/0.7399, allocations: 65.64 kB / 0.8401 GB, free: 11.99 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0005359/0.7405, allocations: 122.6 kB / 0.8402 GB, free: 11.89 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003967/0.7444, allocations: 0.9438 MB / 0.8411 GB, free: 11.22 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0005609/0.745, allocations: 316.4 kB / 0.8414 GB, free: 11.07 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 5.935e-05/0.7451, allocations: 13.47 kB / 0.8415 GB, free: 11.06 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006026/0.7457, allocations: 190.4 kB / 0.8416 GB, free: 10.96 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003104/0.746, allocations: 151.9 kB / 0.8418 GB, free: 10.88 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 3.685e-05/0.7461, allocations: 10.56 kB / 0.8418 GB, free: 10.88 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003572/0.7497, allocations: 1.271 MB / 0.843 GB, free: 10.16 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.00015/0.7499, allocations: 71.16 kB / 0.8431 GB, free: 10.12 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001814/0.7501, allocations: 102.5 kB / 0.8432 GB, free: 10.07 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001754/0.7518, allocations: 0.7394 MB / 0.8439 GB, free: 9.641 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 8.416e-06/0.7519, allocations: 5.328 kB / 0.8439 GB, free: 9.637 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.094e-06/0.7519, allocations: 0 / 0.8439 GB, free: 9.637 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.963e-06/0.7519, allocations: 0 / 0.8439 GB, free: 9.637 MB / 0.5762 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.001651/0.7536, allocations: 0.5831 MB / 0.8445 GB, free: 9.117 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.072e-05/0.7536, allocations: 10.06 kB / 0.8445 GB, free: 9.117 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002193/0.7558, allocations: 138.7 kB / 0.8446 GB, free: 9.051 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003902/0.7562, allocations: 220.7 kB / 0.8448 GB, free: 8.816 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.802e-05/0.7563, allocations: 19.06 kB / 0.8449 GB, free: 8.805 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.35e-05/0.7563, allocations: 18.38 kB / 0.8449 GB, free: 8.797 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009047/0.7572, allocations: 338.5 kB / 0.8452 GB, free: 8.586 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.479e-05/0.7573, allocations: 4 kB / 0.8452 GB, free: 8.582 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.296e-05/0.7573, allocations: 13.66 kB / 0.8452 GB, free: 8.574 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.764e-05/0.7574, allocations: 9.594 kB / 0.8452 GB, free: 8.574 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007881/0.7582, allocations: 323.1 kB / 0.8455 GB, free: 8.43 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.002605/0.7608, allocations: 1.123 MB / 0.8466 GB, free: 7.422 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008014/0.7616, allocations: 188.3 kB / 0.8468 GB, free: 7.336 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002177/0.7619, allocations: 81.47 kB / 0.8469 GB, free: 7.297 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009552/0.7629, allocations: 460.3 kB / 0.8473 GB, free: 6.797 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.251e-05/0.7629, allocations: 43.42 kB / 0.8474 GB, free: 6.75 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=21): time 3.286e-06/0.7629, allocations: 3.938 kB / 0.8474 GB, free: 6.746 MB / 0.5762 GB Notification: Performance of matching and sorting (n=21): time 0.001138/0.7641, allocations: 258.2 kB / 0.8476 GB, free: 6.625 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.624e-05/0.7642, allocations: 53.94 kB / 0.8477 GB, free: 6.562 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003424/0.7645, allocations: 211.4 kB / 0.8479 GB, free: 6.398 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.942e-05/0.7646, allocations: 28.27 kB / 0.8479 GB, free: 6.367 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001529/0.7648, allocations: 148 kB / 0.848 GB, free: 6.227 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 9.552e-05/0.7649, allocations: 73.41 kB / 0.8481 GB, free: 6.164 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001591/0.7651, allocations: 51.98 kB / 0.8482 GB, free: 6.125 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0002275/0.7653, allocations: 332.2 kB / 0.8485 GB, free: 5.797 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002225/0.7655, allocations: 66.3 kB / 0.8485 GB, free: 5.773 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003208/0.7659, allocations: 163.3 kB / 0.8487 GB, free: 5.625 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005412/0.7664, allocations: 253.5 kB / 0.8489 GB, free: 5.438 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.928e-06/0.7665, allocations: 4 kB / 0.8489 GB, free: 5.434 MB / 0.5762 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0008493/0.7673, allocations: 279.7 kB / 0.8492 GB, free: 5.297 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.989e-05/0.7674, allocations: 5.5 kB / 0.8492 GB, free: 5.297 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.897e-06/0.7674, allocations: 2.156 kB / 0.8492 GB, free: 5.297 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.125e-05/0.7674, allocations: 6.312 kB / 0.8492 GB, free: 5.297 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000435/0.7679, allocations: 67.59 kB / 0.8493 GB, free: 5.273 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.226e-05/0.7679, allocations: 6.344 kB / 0.8493 GB, free: 5.273 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003982/0.7683, allocations: 33 kB / 0.8493 GB, free: 5.25 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.763e-05/0.7684, allocations: 11.03 kB / 0.8493 GB, free: 5.25 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.0002164/0.7686, allocations: 140.4 kB / 0.8495 GB, free: 5.113 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002357/0.7688, allocations: 25.05 kB / 0.8495 GB, free: 5.102 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008006/0.7696, allocations: 276.1 kB / 0.8498 GB, free: 4.953 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.959e-05/0.7697, allocations: 10.8 kB / 0.8498 GB, free: 4.945 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.111e-06/0.7697, allocations: 0 / 0.8498 GB, free: 4.945 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.861e-06/0.7697, allocations: 0 / 0.8498 GB, free: 4.945 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001273/0.771, allocations: 0.5854 MB / 0.8503 GB, free: 4.469 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.057e-05/0.771, allocations: 4.812 kB / 0.8503 GB, free: 4.465 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003213/0.7714, allocations: 39.62 kB / 0.8504 GB, free: 4.453 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.439e-06/0.7714, allocations: 4 kB / 0.8504 GB, free: 4.449 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.776e-05/0.7714, allocations: 6.094 kB / 0.8504 GB, free: 4.445 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.087e-06/0.7714, allocations: 2.531 kB / 0.8504 GB, free: 4.445 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.7715, allocations: 0 / 0.8504 GB, free: 4.445 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008815/0.7723, allocations: 347.9 kB / 0.8507 GB, free: 4.207 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002197/0.7726, allocations: 132.6 kB / 0.8509 GB, free: 4.078 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.994e-05/0.7727, allocations: 2.75 kB / 0.8509 GB, free: 4.078 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004309/0.7731, allocations: 15.36 kB / 0.8509 GB, free: 4.07 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.901e-05/0.7732, allocations: 8.797 kB / 0.8509 GB, free: 4.066 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.35e-05/0.7732, allocations: 18.33 kB / 0.8509 GB, free: 4.059 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002007/0.7735, allocations: 157.3 kB / 0.851 GB, free: 3.945 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.4e-07/0.7735, allocations: 0 / 0.851 GB, free: 3.945 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0008144/0.7743, allocations: 110.7 kB / 0.8512 GB, free: 3.926 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.0006946/0.775, allocations: 227.6 kB / 0.8514 GB, free: 3.77 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0006566/0.7757, allocations: 226.2 kB / 0.8516 GB, free: 3.68 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.208e-06/0.7757, allocations: 0 / 0.8516 GB, free: 3.68 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0002607/0.776, allocations: 102.2 kB / 0.8517 GB, free: 3.641 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001112/0.7771, allocations: 101.2 kB / 0.8518 GB, free: 3.59 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001273/0.7784, allocations: 0.5245 MB / 0.8523 GB, free: 3.215 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004973/0.7789, allocations: 0.7425 MB / 0.853 GB, free: 2.488 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0005296/0.7795, allocations: 55.56 kB / 0.8531 GB, free: 2.461 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001101/0.7796, allocations: 23.06 kB / 0.8531 GB, free: 2.453 MB / 0.5762 GB Notification: Performance of SimCode: time 4.11e-07/0.7796, allocations: 0 / 0.8531 GB, free: 2.453 MB / 0.5762 GB Notification: Performance of Templates: time 0.01745/0.7971, allocations: 5.48 MB / 0.8584 GB, free: 15.72 MB / 0.5919 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)