Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.Examples.Performance.Example2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo", uses=false) 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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo", uses=false) Using package Buildings with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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) Using package Modelica_StateGraph2 with version 2.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo) Running command: translateModel(Buildings.Fluid.Examples.Performance.Example2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.Examples.Performance.Example2") translateModel(Buildings.Fluid.Examples.Performance.Example2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.Examples.Performance.Example2") [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:257:38-257:110:writable] Warning: The file was not encoded in UTF-8: "

An important practical aspect of state machines is the abilit...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:761:36-761:108:writable] Warning: The file was not encoded in UTF-8: "

The Modelica_StateGraph2 library is described in detail in (O...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:1435:36-1435:108:writable] Warning: The file was not encoded in UTF-8: "

Main Authors:
SCode: time 0.3835/0.3841, allocations: 82.21 MB / 0.5935 GB, free: 21.41 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example2): time 0.01994/0.4041, allocations: 26.99 MB / 0.6198 GB, free: 10.38 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.01846/0.4227, allocations: 11.31 MB / 0.6309 GB, free: 15.05 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001635/0.4243, allocations: 35.75 kB / 0.6309 GB, free: 15.01 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001697/0.426, allocations: 469.2 kB / 0.6314 GB, free: 14.55 MB / 478.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:734:36-735:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:732:36-733:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.003371/0.4294, allocations: 1.176 MB / 0.6325 GB, free: 13.37 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003336/0.4328, allocations: 1.188 MB / 0.6337 GB, free: 12.2 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.005082/0.4379, allocations: 4.421 MB / 0.638 GB, free: 7.766 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001482/0.4394, allocations: 1.018 MB / 0.639 GB, free: 6.723 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002154/0.4415, allocations: 1.241 MB / 0.6402 GB, free: 5.477 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001389/0.4429, allocations: 1.046 MB / 0.6412 GB, free: 4.426 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001587/0.4431, allocations: 64 kB / 0.6413 GB, free: 4.363 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002194/0.4453, allocations: 0.9751 MB / 0.6422 GB, free: 3.387 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003572/0.4457, allocations: 338.6 kB / 0.6425 GB, free: 3.055 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003951/0.4461, allocations: 325 kB / 0.6429 GB, free: 2.73 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002313/0.4484, allocations: 2.046 MB / 0.6448 GB, free: 0.6797 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.4484, allocations: 0 / 0.6448 GB, free: 0.6797 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.4484, allocations: 0 / 0.6448 GB, free: 0.6797 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.635e-05/0.4484, allocations: 0 / 0.6448 GB, free: 0.6797 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 195 * Number of variables: 195 Notification: Performance of Generate backend data structure: time 0.003083/0.4515, allocations: 1.836 MB / 0.6466 GB, free: 14.78 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.044e-05/0.4516, allocations: 8.031 kB / 0.6467 GB, free: 14.77 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009905/0.4526, allocations: 265.8 kB / 0.6469 GB, free: 14.51 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002388/0.455, allocations: 1.331 MB / 0.6482 GB, free: 13.12 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.566e-05/0.4551, allocations: 66 kB / 0.6483 GB, free: 13.06 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001612/0.4552, allocations: 88 kB / 0.6484 GB, free: 12.97 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004777/0.46, allocations: 1.92 MB / 0.6502 GB, free: 10.99 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.676e-05/0.4601, allocations: 7.938 kB / 0.6502 GB, free: 10.98 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.201e-05/0.4602, allocations: 32 kB / 0.6503 GB, free: 10.95 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.023e-05/0.4602, allocations: 27.94 kB / 0.6503 GB, free: 10.92 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004579/0.4648, allocations: 1.646 MB / 0.6519 GB, free: 9.27 MB / 494.1 MB 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.00642/0.4712, allocations: 5.574 MB / 0.6573 GB, free: 3.328 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004208/0.4754, allocations: 1.475 MB / 0.6588 GB, free: 1.844 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006813/0.4761, allocations: 346.8 kB / 0.6591 GB, free: 1.504 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002282/0.4784, allocations: 1.516 MB / 0.6606 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003878/0.4823, allocations: 1.255 MB / 0.6618 GB, free: 14.61 MB / 0.4981 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005401/0.4829, allocations: 103.3 kB / 0.6619 GB, free: 14.51 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=45): time 2.384e-06/0.4829, allocations: 0 / 0.6619 GB, free: 14.51 MB / 0.4981 GB Notification: Performance of matching and sorting (n=50): time 0.02152/0.5044, allocations: 6.558 MB / 0.6683 GB, free: 7.863 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.682e-05/0.5046, allocations: 141 kB / 0.6685 GB, free: 7.695 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002064/0.5066, allocations: 1.337 MB / 0.6698 GB, free: 6.344 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0002533/0.5069, allocations: 37.7 kB / 0.6698 GB, free: 6.301 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000631/0.5075, allocations: 0.6609 MB / 0.6704 GB, free: 5.633 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002148/0.5078, allocations: 177.5 kB / 0.6706 GB, free: 5.457 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.969e-05/0.5078, allocations: 16 kB / 0.6706 GB, free: 5.441 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001679/0.508, allocations: 337.9 kB / 0.671 GB, free: 5.105 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001709/0.5097, allocations: 0.6888 MB / 0.6716 GB, free: 4.414 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001996/0.5117, allocations: 1.137 MB / 0.6727 GB, free: 3.117 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001728/0.5135, allocations: 0.8055 MB / 0.6735 GB, free: 2.297 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.153e-06/0.5135, allocations: 8 kB / 0.6735 GB, free: 2.289 MB / 0.4981 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.01245/0.5259, allocations: 3.849 MB / 0.6773 GB, free: 14.41 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003744/0.5264, allocations: 364.7 kB / 0.6776 GB, free: 13.95 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.354e-05/0.5264, allocations: 4 kB / 0.6776 GB, free: 13.95 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002419/0.5288, allocations: 0.9958 MB / 0.6786 GB, free: 12.95 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007167/0.5296, allocations: 159.7 kB / 0.6788 GB, free: 12.79 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02389/0.5535, allocations: 9.239 MB / 0.6878 GB, free: 3.438 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002233/0.5557, allocations: 291.6 kB / 0.6881 GB, free: 3.152 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001728/0.5559, allocations: 59.91 kB / 0.6881 GB, free: 3.094 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.099e-05/0.5559, allocations: 4 kB / 0.6881 GB, free: 3.09 MB / 0.5137 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002397/0.5583, allocations: 1.192 MB / 0.6893 GB, free: 1.879 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.47e-05/0.5584, allocations: 4.625 kB / 0.6893 GB, free: 1.875 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003959/0.5588, allocations: 156.7 kB / 0.6894 GB, free: 1.719 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005206/0.5593, allocations: 139.9 kB / 0.6896 GB, free: 1.582 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002677/0.562, allocations: 2.345 MB / 0.6919 GB, free: 15.09 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001691/0.5637, allocations: 143.8 kB / 0.692 GB, free: 14.95 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001347/0.5639, allocations: 43.98 kB / 0.692 GB, free: 14.91 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,nRes.y,from_dp.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (73): * Single equations (assignments): 70 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {5 7} Notification: Performance of prepare postOptimizeDAE: time 0.001166/0.565, allocations: 492.7 kB / 0.6925 GB, free: 14.41 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003754/0.5654, allocations: 134.3 kB / 0.6926 GB, free: 14.28 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009249/0.5747, allocations: 3 MB / 0.6956 GB, free: 11.27 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.245e-05/0.5747, allocations: 19.97 kB / 0.6956 GB, free: 11.25 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.528e-06/0.5747, allocations: 0 / 0.6956 GB, free: 11.25 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.008599/0.5833, allocations: 2.994 MB / 0.6985 GB, free: 8.18 MB / 0.5294 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 postOpt removeSimpleEquations (simulation): time 0.01226/0.5957, allocations: 4.308 MB / 0.7027 GB, free: 3.77 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.24e-05/0.5957, allocations: 0 / 0.7027 GB, free: 3.77 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005187/0.5962, allocations: 103.9 kB / 0.7028 GB, free: 3.668 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002345/0.5986, allocations: 0.988 MB / 0.7038 GB, free: 2.676 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.955e-05/0.5987, allocations: 23.98 kB / 0.7038 GB, free: 2.652 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02225/0.621, allocations: 8.773 MB / 0.7124 GB, free: 9.738 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.492e-06/0.6211, allocations: 3.953 kB / 0.7124 GB, free: 9.734 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01116/0.6322, allocations: 3.819 MB / 0.7161 GB, free: 5.875 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009937/0.6333, allocations: 319.2 kB / 0.7164 GB, free: 5.543 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004462/0.6337, allocations: 12 kB / 0.7164 GB, free: 5.531 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001628/0.6354, allocations: 235.6 kB / 0.7166 GB, free: 5.301 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002357/0.6356, allocations: 60.41 kB / 0.7167 GB, free: 5.242 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.439e-05/0.6357, allocations: 27.97 kB / 0.7167 GB, free: 5.215 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.001814/0.6376, allocations: 0.9209 MB / 0.7176 GB, free: 4.293 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6376, allocations: 8 kB / 0.7176 GB, free: 4.285 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.003632/0.6412, allocations: 0.7773 MB / 0.7184 GB, free: 3.508 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 1 (pump_dp.vol.dynBal.medium.T) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {5 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.001424/0.6426, allocations: 408.2 kB / 0.7188 GB, free: 3.117 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01029/0.653, allocations: 4.142 MB / 0.7228 GB, free: 14.9 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.743e-06/0.653, allocations: 4 kB / 0.7228 GB, free: 14.89 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.005682/0.6587, allocations: 1.91 MB / 0.7247 GB, free: 12.97 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003812/0.6625, allocations: 0.6325 MB / 0.7253 GB, free: 12.35 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00665/0.6692, allocations: 3.198 MB / 0.7284 GB, free: 9.109 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0014/0.6706, allocations: 1.288 MB / 0.7297 GB, free: 7.793 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001609/0.6723, allocations: 303.5 kB / 0.73 GB, free: 7.496 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003414/0.6726, allocations: 107.4 kB / 0.7301 GB, free: 7.391 MB / 0.5606 GB Notification: Performance of SimCode: time 1.363e-06/0.6726, allocations: 0 / 0.7301 GB, free: 7.391 MB / 0.5606 GB Notification: Performance of Templates: time 0.4541/1.127, allocations: 36.98 MB / 0.7662 GB, free: 143.5 MB / 0.5762 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.Examples.Performance.Example2.makefile Environment - environmentSimulation: (rm -f Buildings_3.0.0_Buildings.Fluid.Examples.Performance.Example2.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.Examples.Performance.Example2.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.Examples.Performance.Example2.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.Examples.Performance.Example2.sim & ./Buildings_3.0.0_Buildings.Fluid.Examples.Performance.Example2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.Examples.Performance.Example2.pipe 2>&1) Environment - environmentSimulation: