Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Media.Examples.SteamSaturationConsistencyCheck.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.SteamSaturationConsistencyCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.SteamSaturationConsistencyCheck") translateModel(BuildingSystems.Media.Examples.SteamSaturationConsistencyCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.SteamSaturationConsistencyCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008186/0.0008186, allocations: 99.86 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.0008236/0.0008236, 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.151/1.151, allocations: 223.2 MB / 239.9 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001643/0.001643, allocations: 254 kB / 291.2 MB, free: 2 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.7419/0.7419, allocations: 144.6 MB / 487 MB, free: 7.172 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004063/0.0004064, allocations: 12.53 kB / 0.5683 GB, free: 38.46 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1152/0.1156, allocations: 83.07 MB / 0.6494 GB, free: 3.609 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.SteamSaturationConsistencyCheck): time 0.1052/0.2208, allocations: 114.4 MB / 0.7612 GB, free: 0.9141 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.007648/0.2285, allocations: 6.911 MB / 0.7679 GB, free: 9.992 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.71e-05/0.2286, allocations: 0 / 0.7679 GB, free: 9.992 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.000137/0.2287, allocations: 27.94 kB / 0.7679 GB, free: 9.965 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 4.607e-05/0.2288, allocations: 23.89 kB / 0.768 GB, free: 9.941 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002652/0.2314, allocations: 1.109 MB / 0.769 GB, free: 8.836 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 9.34e-05/0.2315, allocations: 55.84 kB / 0.7691 GB, free: 8.781 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.305e-05/0.2316, allocations: 4 kB / 0.7691 GB, free: 8.777 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001162/0.2317, allocations: 39.91 kB / 0.7691 GB, free: 8.738 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 7.654e-05/0.2318, allocations: 39.77 kB / 0.7692 GB, free: 8.699 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.336e-05/0.2318, allocations: 4 kB / 0.7692 GB, free: 8.695 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003779/0.2356, allocations: 2.548 MB / 0.7717 GB, free: 6.145 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 2.026e-05/0.2356, allocations: 19.92 kB / 0.7717 GB, free: 6.125 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.792e-05/0.2357, allocations: 33.7 kB / 0.7717 GB, free: 6.086 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001089/0.2367, allocations: 0.9048 MB / 0.7726 GB, free: 5.18 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.2368, allocations: 0 / 0.7726 GB, free: 5.18 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.154e-06/0.2368, allocations: 3.938 kB / 0.7726 GB, free: 5.176 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.068e-06/0.2368, allocations: 7.875 kB / 0.7726 GB, free: 5.168 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0008911/0.2377, allocations: 479 kB / 0.7731 GB, free: 4.652 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.185e-05/0.2377, allocations: 12.03 kB / 0.7731 GB, free: 4.641 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003388/0.2381, allocations: 27.88 kB / 0.7731 GB, free: 4.613 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001027/0.2382, allocations: 171 kB / 0.7733 GB, free: 4.406 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.212e-05/0.2382, allocations: 33.7 kB / 0.7733 GB, free: 4.367 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.284e-05/0.2383, allocations: 4 kB / 0.7733 GB, free: 4.363 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003112/0.2386, allocations: 117.6 kB / 0.7734 GB, free: 4.242 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.777e-06/0.2386, allocations: 3.938 kB / 0.7734 GB, free: 4.238 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.527e-05/0.2386, allocations: 7.938 kB / 0.7734 GB, free: 4.23 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.978e-06/0.2386, allocations: 0 / 0.7734 GB, free: 4.23 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002573/0.2389, allocations: 115.9 kB / 0.7735 GB, free: 4.117 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.0004283/0.2393, allocations: 380.7 kB / 0.7739 GB, free: 3.684 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002247/0.2396, allocations: 126.6 kB / 0.774 GB, free: 3.551 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2596/0.4992, allocations: 4.248 MB / 0.7782 GB, free: 8.457 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.174e-05/0.4993, allocations: 32.69 kB / 0.7782 GB, free: 8.418 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=13): time 1.794e-06/0.4993, allocations: 1.188 kB / 0.7782 GB, free: 8.418 MB / 0.5606 GB Notification: Performance of matching and sorting (n=13): time 0.0004709/0.4998, allocations: 162.2 kB / 0.7784 GB, free: 8.387 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.485e-05/0.4998, allocations: 60.88 kB / 0.7784 GB, free: 8.324 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.785e-05/0.4998, allocations: 96.05 kB / 0.7785 GB, free: 8.227 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.286e-05/0.4999, allocations: 28.08 kB / 0.7785 GB, free: 8.195 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 2.727e-05/0.4999, allocations: 84.83 kB / 0.7786 GB, free: 8.113 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.061e-05/0.4999, allocations: 47.8 kB / 0.7787 GB, free: 8.094 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.53e-06/0.4999, allocations: 5.312 kB / 0.7787 GB, free: 8.094 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 4.38e-05/0.5, allocations: 316.9 kB / 0.779 GB, free: 7.781 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.765e-05/0.5, allocations: 25.22 kB / 0.779 GB, free: 7.781 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.449e-05/0.5001, allocations: 27.89 kB / 0.779 GB, free: 7.781 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.483e-05/0.5001, allocations: 27.97 kB / 0.7791 GB, free: 7.781 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.5001, allocations: 1.5 kB / 0.7791 GB, free: 7.781 MB / 0.5606 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001491/0.5003, allocations: 105.9 kB / 0.7792 GB, free: 7.75 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.449e-05/0.5003, allocations: 5.469 kB / 0.7792 GB, free: 7.75 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.5003, allocations: 0 / 0.7792 GB, free: 7.75 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.239e-05/0.5003, allocations: 1.906 kB / 0.7792 GB, free: 7.75 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001147/0.5005, allocations: 24.14 kB / 0.7792 GB, free: 7.75 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.492e-06/0.5005, allocations: 0.9375 kB / 0.7792 GB, free: 7.75 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.077e-05/0.5005, allocations: 8.953 kB / 0.7792 GB, free: 7.746 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.119e-05/0.5005, allocations: 10.41 kB / 0.7792 GB, free: 7.746 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (13): * Single equations (assignments): 13 * 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 5.69e-05/0.5006, allocations: 115.7 kB / 0.7793 GB, free: 7.629 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.839e-05/0.5006, allocations: 10 kB / 0.7793 GB, free: 7.625 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003865/0.501, allocations: 374.7 kB / 0.7797 GB, free: 7.551 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.426e-06/0.5011, allocations: 7.625 kB / 0.7797 GB, free: 7.551 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.5011, allocations: 1.062 kB / 0.7797 GB, free: 7.551 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.5011, allocations: 0 / 0.7797 GB, free: 7.551 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001988/0.5013, allocations: 286.8 kB / 0.78 GB, free: 7.348 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.5013, allocations: 0 / 0.78 GB, free: 7.348 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.733e-05/0.5014, allocations: 19.72 kB / 0.78 GB, free: 7.348 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-06/0.5014, allocations: 2.656 kB / 0.78 GB, free: 7.348 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.285e-06/0.5014, allocations: 2.438 kB / 0.78 GB, free: 7.348 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.585e-06/0.5014, allocations: 5.281 kB / 0.78 GB, free: 7.348 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.5014, allocations: 0 / 0.78 GB, free: 7.348 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002493/0.5017, allocations: 329.7 kB / 0.7803 GB, free: 7.199 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 4.498e-05/0.5017, allocations: 106.4 kB / 0.7804 GB, free: 7.094 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.527e-05/0.5017, allocations: 4.984 kB / 0.7804 GB, free: 7.094 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001296/0.5019, allocations: 13.83 kB / 0.7804 GB, free: 7.094 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.874e-05/0.5019, allocations: 9.953 kB / 0.7804 GB, free: 7.094 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.179e-05/0.5019, allocations: 4.422 kB / 0.7804 GB, free: 7.094 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 1.829e-05/0.5019, allocations: 86 kB / 0.7805 GB, free: 7.02 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.01e-07/0.5019, allocations: 1.656 kB / 0.7805 GB, free: 7.02 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0007713/0.5027, allocations: 303.7 kB / 0.7808 GB, free: 7.012 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($cse1.region3boundary,$cse2.region3boundary) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 13 * 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.000998/0.5037, allocations: 395.2 kB / 0.7812 GB, free: 6.922 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001772/0.5039, allocations: 125.5 kB / 0.7813 GB, free: 6.922 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.716e-06/0.5039, allocations: 1.594 kB / 0.7813 GB, free: 6.922 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 9.877e-05/0.504, allocations: 108.7 kB / 0.7814 GB, free: 6.922 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001955/0.5042, allocations: 19.48 kB / 0.7814 GB, free: 6.918 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003827/0.5046, allocations: 393.3 kB / 0.7818 GB, free: 6.707 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001009/0.5047, allocations: 0.7253 MB / 0.7825 GB, free: 6.004 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 9.033e-05/0.5048, allocations: 30.06 kB / 0.7825 GB, free: 6.004 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.472e-05/0.5049, allocations: 15.33 kB / 0.7826 GB, free: 5.996 MB / 0.5606 GB Notification: Performance of SimCode: time 6.01e-07/0.5049, allocations: 1.312 kB / 0.7826 GB, free: 5.996 MB / 0.5606 GB Notification: Performance of Templates: time 0.01267/0.5175, allocations: 9.989 MB / 0.7923 GB, free: 5.465 MB / 0.5606 GB make -j1 -f BuildingSystems_BuildingSystems.Media.Examples.SteamSaturationConsistencyCheck.makefile Environment - environmentSimulation: (rm -f BuildingSystems_BuildingSystems.Media.Examples.SteamSaturationConsistencyCheck.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Examples.SteamSaturationConsistencyCheck.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Examples.SteamSaturationConsistencyCheck.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Examples.SteamSaturationConsistencyCheck.sim & ./BuildingSystems_BuildingSystems.Media.Examples.SteamSaturationConsistencyCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Media.Examples.SteamSaturationConsistencyCheck.pipe 2>&1) Environment - environmentSimulation: