Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Media.Examples.SteamProperties.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.SteamProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.SteamProperties") translateModel(BuildingSystems.Media.Examples.SteamProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.SteamProperties") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008438/0.0008438, allocations: 100.1 kB / 15.05 MB, free: 1.105 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.0008562/0.0008563, allocations: 177.3 kB / 15.95 MB, free: 216 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.145/1.145, allocations: 223.2 MB / 239.9 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001613/0.001612, allocations: 274.7 kB / 291.3 MB, free: 1.996 MB / 238.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:5:3-5:34:writable] Warning: Got element f_alp that was not referenced in the package.order file. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:6:3-6:35:writable] Warning: Elements in the package.mo-file need to be in the same relative order as the package.order file. Got element named f_lay but it was already added because it was not the next element in the list at that time. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:6:3-6:35:writable] Warning: Got element f_lay that was not referenced in the package.order file. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:7:3-7:37:writable] Warning: Elements in the package.mo-file need to be in the same relative order as the package.order file. Got element named f_loss but it was already added because it was not the next element in the list at that time. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:7:3-7:37:writable] Warning: Got element f_loss that was not referenced in the package.order file. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:8:3-8:33:writable] Warning: Elements in the package.mo-file need to be in the same relative order as the package.order file. Got element named f_pv but it was already added because it was not the next element in the list at that time. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:8:3-8:33:writable] Warning: Got element f_pv that was not referenced in the package.order file. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:2:1-34:14:writable] Warning: f_pv was referenced in the package.order file, but was not found in package.mo, f_pv/package.mo or f_pv.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7216/0.7216, allocations: 144.6 MB / 487 MB, free: 7.18 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003945/0.0003946, allocations: 16.34 kB / 0.5683 GB, free: 38.27 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1243/0.1247, allocations: 83.08 MB / 0.6494 GB, free: 3.637 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.SteamProperties): time 0.1099/0.2346, allocations: 114.8 MB / 0.7616 GB, free: 0.5273 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.2776/0.5122, allocations: 19.71 MB / 0.7808 GB, free: 1.582 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001349/0.5124, allocations: 0 / 0.7808 GB, free: 1.582 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0002068/0.5126, allocations: 32.39 kB / 0.7808 GB, free: 1.582 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0001791/0.5128, allocations: 88.27 kB / 0.7809 GB, free: 1.578 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0118/0.5246, allocations: 5.128 MB / 0.7859 GB, free: 1.535 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0002304/0.5248, allocations: 165.7 kB / 0.7861 GB, free: 1.535 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.639e-05/0.5249, allocations: 8.844 kB / 0.7861 GB, free: 1.531 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002421/0.5251, allocations: 127.1 kB / 0.7862 GB, free: 1.531 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001065/0.5252, allocations: 76.67 kB / 0.7863 GB, free: 1.531 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.755e-05/0.5253, allocations: 4.062 kB / 0.7863 GB, free: 1.531 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01757/0.5428, allocations: 10.69 MB / 0.7967 GB, free: 1.5 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 5.846e-05/0.5429, allocations: 36.08 kB / 0.7968 GB, free: 1.5 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001384/0.5431, allocations: 53.83 kB / 0.7968 GB, free: 17.47 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.005903/0.549, allocations: 4.083 MB / 0.8008 GB, free: 17.31 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 2.244e-06/0.549, allocations: 1.344 kB / 0.8008 GB, free: 17.31 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.262e-06/0.549, allocations: 0 / 0.8008 GB, free: 17.31 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.859e-06/0.549, allocations: 0 / 0.8008 GB, free: 17.31 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: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.003429/0.5524, allocations: 1.16 MB / 0.8019 GB, free: 16.56 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 2.969e-05/0.5525, allocations: 9.031 kB / 0.802 GB, free: 16.56 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00114/0.5536, allocations: 90.61 kB / 0.802 GB, free: 16.55 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002172/0.5538, allocations: 220.9 kB / 0.8023 GB, free: 16.35 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.005e-05/0.5539, allocations: 9.312 kB / 0.8023 GB, free: 16.35 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.267e-05/0.5539, allocations: 14.69 kB / 0.8023 GB, free: 16.35 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000903/0.5548, allocations: 455.1 kB / 0.8027 GB, free: 16.28 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.746e-06/0.5548, allocations: 0 / 0.8027 GB, free: 16.28 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.342e-05/0.5548, allocations: 6.469 kB / 0.8027 GB, free: 16.28 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.464e-06/0.5549, allocations: 6.703 kB / 0.8027 GB, free: 16.28 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009412/0.5558, allocations: 0.602 MB / 0.8033 GB, free: 16.25 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008585/0.5567, allocations: 0.9013 MB / 0.8042 GB, free: 15.49 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006807/0.5574, allocations: 244.4 kB / 0.8044 GB, free: 15.41 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07649/0.6339, allocations: 35.36 MB / 0.839 GB, free: 7.844 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.435e-05/0.6339, allocations: 40.41 kB / 0.839 GB, free: 7.805 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=25): time 1.704e-06/0.6339, allocations: 0 / 0.839 GB, free: 7.805 MB / 0.5919 GB Notification: Performance of matching and sorting (n=25): time 0.001472/0.6354, allocations: 419 kB / 0.8394 GB, free: 7.676 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.922e-05/0.6354, allocations: 56.97 kB / 0.8394 GB, free: 7.609 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001005/0.6355, allocations: 139.8 kB / 0.8396 GB, free: 7.5 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.421e-05/0.6356, allocations: 34.89 kB / 0.8396 GB, free: 7.469 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 5.147e-05/0.6356, allocations: 109.7 kB / 0.8397 GB, free: 7.371 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 6.554e-05/0.6357, allocations: 81.25 kB / 0.8398 GB, free: 7.309 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.057e-05/0.6357, allocations: 9.719 kB / 0.8398 GB, free: 7.309 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 9.011e-05/0.6358, allocations: 324 kB / 0.8401 GB, free: 6.992 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001429/0.636, allocations: 80.61 kB / 0.8402 GB, free: 6.98 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001747/0.6362, allocations: 127 kB / 0.8403 GB, free: 6.914 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001671/0.6363, allocations: 88.84 kB / 0.8404 GB, free: 6.902 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.6364, allocations: 0 / 0.8404 GB, free: 6.902 MB / 0.5919 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005674/0.6369, allocations: 300.5 kB / 0.8407 GB, free: 6.82 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.586e-05/0.6369, allocations: 11.73 kB / 0.8407 GB, free: 6.816 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.62e-06/0.637, allocations: 2.531 kB / 0.8407 GB, free: 6.816 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.145e-05/0.637, allocations: 3.281 kB / 0.8407 GB, free: 6.816 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002616/0.6372, allocations: 76.56 kB / 0.8408 GB, free: 6.801 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.247e-06/0.6373, allocations: 10.02 kB / 0.8408 GB, free: 6.797 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001412/0.6374, allocations: 18.75 kB / 0.8408 GB, free: 6.789 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.726e-05/0.6374, allocations: 26.64 kB / 0.8408 GB, free: 6.785 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (30): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.0001115/0.6376, allocations: 129.6 kB / 0.8409 GB, free: 6.668 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001511/0.6377, allocations: 23.69 kB / 0.841 GB, free: 6.656 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001786/0.6395, allocations: 2.34 MB / 0.8433 GB, free: 6.262 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.27e-05/0.6395, allocations: 12.41 kB / 0.8433 GB, free: 6.258 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.6395, allocations: 0 / 0.8433 GB, free: 6.258 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.851e-06/0.6396, allocations: 3.984 kB / 0.8433 GB, free: 6.254 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002508/0.6421, allocations: 3.429 MB / 0.8466 GB, free: 4.371 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.6421, allocations: 3.938 kB / 0.8466 GB, free: 4.367 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002361/0.6423, allocations: 60.67 kB / 0.8467 GB, free: 4.316 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.907e-06/0.6423, allocations: 3.984 kB / 0.8467 GB, free: 4.312 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.726e-05/0.6424, allocations: 6.688 kB / 0.8467 GB, free: 4.309 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-06/0.6424, allocations: 0 / 0.8467 GB, free: 4.309 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.876e-06/0.6424, allocations: 1.25 kB / 0.8467 GB, free: 4.309 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006226/0.643, allocations: 0.5442 MB / 0.8472 GB, free: 3.902 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001057/0.6431, allocations: 152.2 kB / 0.8474 GB, free: 3.746 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.054e-05/0.6432, allocations: 7.234 kB / 0.8474 GB, free: 3.742 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002154/0.6434, allocations: 19.81 kB / 0.8474 GB, free: 3.727 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.354e-05/0.6434, allocations: 23.84 kB / 0.8474 GB, free: 3.711 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.47e-05/0.6434, allocations: 15.48 kB / 0.8474 GB, free: 3.699 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 5.946e-05/0.6435, allocations: 102.3 kB / 0.8475 GB, free: 3.605 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.7e-07/0.6435, allocations: 0 / 0.8475 GB, free: 3.605 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.004403/0.6479, allocations: 1.625 MB / 0.8491 GB, free: 2.047 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse3.phase,$cse3.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.005576/0.6535, allocations: 1.901 MB / 0.851 GB, free: 340 kB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0004572/0.654, allocations: 322 kB / 0.8513 GB, free: 124 kB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.654, allocations: 4.062 kB / 0.8513 GB, free: 120 kB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0002467/0.6542, allocations: 238.3 kB / 0.8515 GB, free: 15.99 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003817/0.6546, allocations: 53.64 kB / 0.8516 GB, free: 15.95 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008728/0.6555, allocations: 0.7999 MB / 0.8523 GB, free: 15.23 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002486/0.6558, allocations: 0.7815 MB / 0.8531 GB, free: 14.42 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0004609/0.6562, allocations: 405.8 kB / 0.8535 GB, free: 14.04 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000107/0.6564, allocations: 46.66 kB / 0.8535 GB, free: 13.99 MB / 0.6075 GB Notification: Performance of SimCode: time 2.41e-07/0.6564, allocations: 0 / 0.8535 GB, free: 13.99 MB / 0.6075 GB Notification: Performance of Templates: time 0.062/0.7184, allocations: 57.88 MB / 0.9101 GB, free: 4.188 MB / 0.6544 GB make -j1 -f BuildingSystems_BuildingSystems.Media.Examples.SteamProperties.makefile Environment - environmentSimulation: (rm -f BuildingSystems_BuildingSystems.Media.Examples.SteamProperties.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Examples.SteamProperties.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Examples.SteamProperties.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Examples.SteamProperties.sim & ./BuildingSystems_BuildingSystems.Media.Examples.SteamProperties -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Media.Examples.SteamProperties.pipe 2>&1) Environment - environmentSimulation: