Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.Examples.Performance.Example3.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.Example3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.Examples.Performance.Example3") translateModel(Buildings.Fluid.Examples.Performance.Example3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.Examples.Performance.Example3") [/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.3757/0.3796, allocations: 80.82 MB / 0.5904 GB, free: 22.39 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example3): time 0.02829/0.4079, allocations: 32.54 MB / 0.6222 GB, free: 6.176 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.01713/0.4251, allocations: 12.63 MB / 0.6345 GB, free: 9.508 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001646/0.4268, allocations: 51.69 kB / 0.6346 GB, free: 9.457 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002075/0.4289, allocations: 0.738 MB / 0.6353 GB, free: 8.715 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003648/0.4326, allocations: 1.508 MB / 0.6368 GB, free: 7.199 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0036/0.4362, allocations: 1.665 MB / 0.6384 GB, free: 5.547 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.005473/0.4417, allocations: 5.113 MB / 0.6434 GB, free: 428 kB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002989/0.4447, allocations: 2.14 MB / 0.6455 GB, free: 14.25 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004072/0.4488, allocations: 1.974 MB / 0.6474 GB, free: 12.27 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002535/0.4513, allocations: 1.412 MB / 0.6488 GB, free: 10.86 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007772/0.4521, allocations: 168 kB / 0.6489 GB, free: 10.69 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003631/0.4558, allocations: 1.361 MB / 0.6503 GB, free: 9.328 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001029/0.4568, allocations: 0.4983 MB / 0.6508 GB, free: 8.828 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002468/0.4593, allocations: 1.077 MB / 0.6518 GB, free: 7.746 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006105/0.4654, allocations: 3.28 MB / 0.655 GB, free: 4.457 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.4654, allocations: 0 / 0.655 GB, free: 4.457 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.4654, allocations: 0 / 0.655 GB, free: 4.457 MB / 494.1 MB Notification: Performance of Transformations before backend: time 0.0001051/0.4655, allocations: 0 / 0.655 GB, free: 4.457 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 242 * Number of variables: 242 Notification: Performance of Generate backend data structure: time 0.006757/0.4723, allocations: 2.569 MB / 0.6575 GB, free: 1.812 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.307e-05/0.4723, allocations: 12.03 kB / 0.6575 GB, free: 1.801 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001757/0.4741, allocations: 310.2 kB / 0.6578 GB, free: 1.496 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004665/0.4788, allocations: 1.683 MB / 0.6595 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001432/0.4789, allocations: 90 kB / 0.6596 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004142/0.4794, allocations: 115.9 kB / 0.6597 GB, free: 15.56 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004175/0.4836, allocations: 1.51 MB / 0.6612 GB, free: 13.96 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.538e-05/0.4836, allocations: 3.938 kB / 0.6612 GB, free: 13.96 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001444/0.4838, allocations: 51.98 kB / 0.6612 GB, free: 13.91 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.672e-05/0.4838, allocations: 24 kB / 0.6612 GB, free: 13.89 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003445/0.4873, allocations: 1.174 MB / 0.6624 GB, free: 12.71 MB / 0.4981 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.009381/0.4967, allocations: 6.893 MB / 0.6691 GB, free: 5.379 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002467/0.4991, allocations: 0.7421 MB / 0.6698 GB, free: 4.629 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007054/0.4999, allocations: 362.8 kB / 0.6702 GB, free: 4.273 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00269/0.5026, allocations: 1.562 MB / 0.6717 GB, free: 2.609 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002073/0.5047, allocations: 0.5688 MB / 0.6723 GB, free: 2.02 MB / 0.4981 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005979/0.5053, allocations: 99.23 kB / 0.6724 GB, free: 1.922 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=46): time 3.006e-06/0.5053, allocations: 0 / 0.6724 GB, free: 1.922 MB / 0.4981 GB Notification: Performance of matching and sorting (n=51): time 0.01491/0.5202, allocations: 3.593 MB / 0.6759 GB, free: 14.23 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001187/0.5204, allocations: 137 kB / 0.676 GB, free: 14.06 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002677/0.523, allocations: 1.82 MB / 0.6778 GB, free: 12.2 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0001331/0.5232, allocations: 45.7 kB / 0.6778 GB, free: 12.15 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007472/0.5239, allocations: 0.8897 MB / 0.6787 GB, free: 11.25 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001638/0.5241, allocations: 177.5 kB / 0.6788 GB, free: 11.07 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003828/0.5245, allocations: 254.4 kB / 0.6791 GB, free: 10.82 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001159/0.5246, allocations: 345.9 kB / 0.6794 GB, free: 10.48 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009848/0.5256, allocations: 440.5 kB / 0.6798 GB, free: 10.04 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001469/0.5271, allocations: 1.01 MB / 0.6808 GB, free: 8.797 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002139/0.5292, allocations: 1.159 MB / 0.682 GB, free: 7.496 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.001e-06/0.5293, allocations: 4 kB / 0.682 GB, free: 7.492 MB / 0.5137 GB Notification: Performance of matching and sorting (n=113) (initialization): time 0.005405/0.5347, allocations: 1.752 MB / 0.6837 GB, free: 5.707 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 9.2e-05/0.5348, allocations: 83.38 kB / 0.6838 GB, free: 5.613 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.648e-05/0.5348, allocations: 15.94 kB / 0.6838 GB, free: 5.598 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009179/0.5357, allocations: 300.7 kB / 0.6841 GB, free: 5.305 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006933/0.5364, allocations: 171.7 kB / 0.6842 GB, free: 5.137 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008539/0.545, allocations: 3.898 MB / 0.688 GB, free: 1.105 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001524/0.5465, allocations: 95.89 kB / 0.6881 GB, free: 1.012 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001168/0.5467, allocations: 63.97 kB / 0.6882 GB, free: 0.9492 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001269/0.5479, allocations: 0.7867 MB / 0.6889 GB, free: 164 kB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001166/0.5491, allocations: 0.9246 MB / 0.6899 GB, free: 15 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0014/0.5505, allocations: 1.027 MB / 0.6909 GB, free: 13.84 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.739e-06/0.5505, allocations: 7.984 kB / 0.6909 GB, free: 13.83 MB / 0.5294 GB Notification: Performance of matching and sorting (n=113) (initialization_lambda0): time 0.002428/0.553, allocations: 1.485 MB / 0.6923 GB, free: 12.3 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 6.8e-05/0.5531, allocations: 83.38 kB / 0.6924 GB, free: 12.21 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.887e-06/0.5531, allocations: 8 kB / 0.6924 GB, free: 12.2 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002335/0.5533, allocations: 124.4 kB / 0.6925 GB, free: 12.08 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005797/0.5539, allocations: 167.7 kB / 0.6927 GB, free: 11.92 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002414/0.5563, allocations: 2.314 MB / 0.6949 GB, free: 9.457 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001653/0.558, allocations: 104.5 kB / 0.695 GB, free: 9.355 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001073/0.5581, allocations: 51.98 kB / 0.6951 GB, free: 9.305 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 8 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1,nRes.y,from_dp.y,mergeDp.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (86): * Single equations (assignments): 83 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,12)} Notification: Performance of prepare postOptimizeDAE: time 0.0004402/0.5586, allocations: 259.8 kB / 0.6953 GB, free: 9.047 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002416/0.5588, allocations: 173.8 kB / 0.6955 GB, free: 8.875 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003991/0.5628, allocations: 1.307 MB / 0.6968 GB, free: 7.559 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.605e-05/0.5628, allocations: 12 kB / 0.6968 GB, free: 7.547 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.275e-06/0.5628, allocations: 0 / 0.6968 GB, free: 7.547 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003323/0.5662, allocations: 1.231 MB / 0.698 GB, free: 6.246 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005582/0.5718, allocations: 2.545 MB / 0.7005 GB, free: 3.621 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.142e-06/0.5718, allocations: 0 / 0.7005 GB, free: 3.621 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004905/0.5723, allocations: 103.9 kB / 0.7006 GB, free: 3.52 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008058/0.5731, allocations: 280.6 kB / 0.7008 GB, free: 3.242 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.679e-05/0.5732, allocations: 15.98 kB / 0.7009 GB, free: 3.227 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007647/0.5808, allocations: 3.671 MB / 0.7044 GB, free: 15.41 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.406e-06/0.5808, allocations: 4.031 kB / 0.7044 GB, free: 15.41 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004576/0.5854, allocations: 1.747 MB / 0.7062 GB, free: 13.64 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005135/0.5859, allocations: 310.8 kB / 0.7064 GB, free: 13.31 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001959/0.5861, allocations: 12 kB / 0.7065 GB, free: 13.3 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007722/0.5869, allocations: 43.95 kB / 0.7065 GB, free: 13.26 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001618/0.5871, allocations: 64.47 kB / 0.7066 GB, free: 13.19 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.232e-05/0.5872, allocations: 27.97 kB / 0.7066 GB, free: 13.16 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.001694/0.5889, allocations: 1.259 MB / 0.7078 GB, free: 11.88 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.6e-07/0.5889, allocations: 0 / 0.7078 GB, free: 11.88 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.002519/0.5914, allocations: 0.8242 MB / 0.7086 GB, free: 11.06 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (pump.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 (53): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,12)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001031/0.5924, allocations: 441.8 kB / 0.709 GB, free: 10.64 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.004722/0.5972, allocations: 2.664 MB / 0.7116 GB, free: 7.902 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/0.5972, allocations: 0 / 0.7116 GB, free: 7.902 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001363/0.5986, allocations: 0.5922 MB / 0.7122 GB, free: 7.301 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003299/0.6019, allocations: 0.8374 MB / 0.713 GB, free: 6.496 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005/0.6069, allocations: 3.104 MB / 0.7161 GB, free: 3.355 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001225/0.6081, allocations: 1.529 MB / 0.7176 GB, free: 1.789 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.001649/0.6098, allocations: 429.2 kB / 0.718 GB, free: 1.367 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002686/0.6101, allocations: 131.4 kB / 0.7181 GB, free: 1.238 MB / 0.545 GB Notification: Performance of SimCode: time 1.282e-06/0.6101, allocations: 0 / 0.7181 GB, free: 1.238 MB / 0.545 GB Notification: Performance of Templates: time 0.3296/0.9397, allocations: 42.54 MB / 0.7596 GB, free: 147.8 MB / 0.5762 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.Examples.Performance.Example3.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.Examples.Performance.Example3.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.Examples.Performance.Example3.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.Examples.Performance.Example3.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.Examples.Performance.Example3.sim & ./Buildings_3.0.0_Buildings.Fluid.Examples.Performance.Example3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.Examples.Performance.Example3.pipe 2>&1)