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.156/0.158, allocations: 80.83 MB / 0.6706 GB, free: 4.605 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example3): time 0.3791/0.5371, allocations: 32.54 MB / 0.7024 GB, free: 6.109 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.01801/0.5552, allocations: 12.63 MB / 0.7147 GB, free: 0.9297 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002667/0.5579, allocations: 52.41 kB / 0.7148 GB, free: 0.9102 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.00233/0.5603, allocations: 0.7353 MB / 0.7155 GB, free: 0.6211 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.005166/0.5655, allocations: 1.521 MB / 0.717 GB, free: 15.98 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.005242/0.5708, allocations: 1.665 MB / 0.7186 GB, free: 15.38 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.008928/0.5797, allocations: 5.115 MB / 0.7236 GB, free: 13.05 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003823/0.5836, allocations: 2.142 MB / 0.7257 GB, free: 12.18 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005985/0.5896, allocations: 1.977 MB / 0.7276 GB, free: 11.36 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003514/0.5931, allocations: 1.414 MB / 0.729 GB, free: 10.72 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0006714/0.5938, allocations: 165.8 kB / 0.7292 GB, free: 10.72 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004286/0.5981, allocations: 1.361 MB / 0.7305 GB, free: 10.35 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0009809/0.5991, allocations: 0.5086 MB / 0.731 GB, free: 10.07 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.002251/0.6014, allocations: 1.079 MB / 0.732 GB, free: 9.434 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.006186/0.6076, allocations: 3.328 MB / 0.7353 GB, free: 7.957 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.121e-06/0.6076, allocations: 0 / 0.7353 GB, free: 7.957 MB / 0.545 GB Notification: Performance of FrontEnd: time 3.416e-06/0.6077, allocations: 1.188 kB / 0.7353 GB, free: 7.957 MB / 0.545 GB Notification: Performance of Transformations before backend: time 8.379e-05/0.6077, allocations: 0 / 0.7353 GB, free: 7.957 MB / 0.545 GB 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.006151/0.6139, allocations: 2.648 MB / 0.7379 GB, free: 6.004 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.726e-05/0.614, allocations: 9.625 kB / 0.7379 GB, free: 6.004 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001668/0.6156, allocations: 315.8 kB / 0.7382 GB, free: 5.852 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00428/0.6199, allocations: 1.792 MB / 0.7399 GB, free: 4.594 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001021/0.6201, allocations: 81.31 kB / 0.74 GB, free: 4.562 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002504/0.6203, allocations: 118.7 kB / 0.7401 GB, free: 4.523 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004124/0.6245, allocations: 1.525 MB / 0.7416 GB, free: 3.508 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.574e-05/0.6245, allocations: 5.031 kB / 0.7416 GB, free: 3.504 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001257/0.6247, allocations: 43.59 kB / 0.7417 GB, free: 3.473 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.033e-05/0.6247, allocations: 25.41 kB / 0.7417 GB, free: 3.473 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003525/0.6282, allocations: 1.171 MB / 0.7428 GB, free: 2.879 MB / 0.545 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.01026/0.6385, allocations: 6.889 MB / 0.7496 GB, free: 12.79 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002435/0.641, allocations: 0.7352 MB / 0.7503 GB, free: 12.4 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007188/0.6417, allocations: 366.1 kB / 0.7506 GB, free: 12.22 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003246/0.645, allocations: 1.556 MB / 0.7521 GB, free: 10.9 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002056/0.647, allocations: 0.5652 MB / 0.7527 GB, free: 10.55 MB / 0.5606 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008788/0.6479, allocations: 109.8 kB / 0.7528 GB, free: 10.48 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=46): time 4.498e-06/0.648, allocations: 0 / 0.7528 GB, free: 10.48 MB / 0.5606 GB Notification: Performance of matching and sorting (n=51): time 0.0158/0.6638, allocations: 3.626 MB / 0.7563 GB, free: 8.293 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001108/0.6639, allocations: 135.9 kB / 0.7565 GB, free: 8.137 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0029/0.6668, allocations: 1.816 MB / 0.7582 GB, free: 7.152 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0003264/0.6672, allocations: 47.39 kB / 0.7583 GB, free: 7.109 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009413/0.6681, allocations: 0.8858 MB / 0.7592 GB, free: 6.336 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002645/0.6684, allocations: 188.4 kB / 0.7593 GB, free: 6.176 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004423/0.6689, allocations: 257.4 kB / 0.7596 GB, free: 6.035 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001783/0.669, allocations: 339.5 kB / 0.7599 GB, free: 5.707 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001067/0.6701, allocations: 437 kB / 0.7603 GB, free: 5.488 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001718/0.6718, allocations: 1.006 MB / 0.7613 GB, free: 4.559 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002196/0.6741, allocations: 1.169 MB / 0.7624 GB, free: 3.281 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.019e-06/0.6741, allocations: 4 kB / 0.7625 GB, free: 3.277 MB / 0.5606 GB Notification: Performance of matching and sorting (n=113) (initialization): time 0.005358/0.6794, allocations: 1.772 MB / 0.7642 GB, free: 1.48 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 9.838e-05/0.6796, allocations: 83.38 kB / 0.7643 GB, free: 1.387 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.614e-05/0.6796, allocations: 11.94 kB / 0.7643 GB, free: 1.375 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000964/0.6806, allocations: 297 kB / 0.7646 GB, free: 1.082 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006791/0.6812, allocations: 171.5 kB / 0.7647 GB, free: 0.918 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008748/0.69, allocations: 3.892 MB / 0.7685 GB, free: 12.89 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002218/0.6923, allocations: 103.7 kB / 0.7686 GB, free: 12.79 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001907/0.6925, allocations: 63.95 kB / 0.7687 GB, free: 12.73 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001519/0.694, allocations: 0.7906 MB / 0.7695 GB, free: 11.93 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001147/0.6951, allocations: 0.9207 MB / 0.7704 GB, free: 10.78 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001447/0.6966, allocations: 1.035 MB / 0.7714 GB, free: 9.602 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.454e-06/0.6966, allocations: 4 kB / 0.7714 GB, free: 9.598 MB / 0.5762 GB Notification: Performance of matching and sorting (n=113) (initialization_lambda0): time 0.002736/0.6994, allocations: 1.487 MB / 0.7728 GB, free: 8.074 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 7.631e-05/0.6995, allocations: 83.38 kB / 0.7729 GB, free: 7.98 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.478e-06/0.6995, allocations: 8 kB / 0.7729 GB, free: 7.973 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002335/0.6997, allocations: 121.2 kB / 0.773 GB, free: 7.852 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005782/0.7003, allocations: 167.7 kB / 0.7732 GB, free: 7.688 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002096/0.7024, allocations: 2.318 MB / 0.7754 GB, free: 5.23 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001783/0.7042, allocations: 116.5 kB / 0.7756 GB, free: 5.117 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001095/0.7043, allocations: 47.98 kB / 0.7756 GB, free: 5.07 MB / 0.5762 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.0004158/0.7047, allocations: 264.6 kB / 0.7759 GB, free: 4.805 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003465/0.7051, allocations: 182.8 kB / 0.776 GB, free: 4.625 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004027/0.7091, allocations: 1.299 MB / 0.7773 GB, free: 3.316 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.321e-05/0.7092, allocations: 11.98 kB / 0.7773 GB, free: 3.305 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.071e-06/0.7092, allocations: 3.938 kB / 0.7773 GB, free: 3.301 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003208/0.7124, allocations: 1.234 MB / 0.7785 GB, free: 1.996 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006112/0.7185, allocations: 2.53 MB / 0.781 GB, free: 15.39 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.408e-06/0.7185, allocations: 4 kB / 0.781 GB, free: 15.39 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004915/0.719, allocations: 103.9 kB / 0.7811 GB, free: 15.29 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007833/0.7198, allocations: 288.6 kB / 0.7814 GB, free: 15 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.652e-05/0.7199, allocations: 23.97 kB / 0.7814 GB, free: 14.98 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007698/0.7276, allocations: 3.667 MB / 0.785 GB, free: 11.18 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.7276, allocations: 0 / 0.785 GB, free: 11.18 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004879/0.7325, allocations: 1.741 MB / 0.7867 GB, free: 9.402 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001021/0.7336, allocations: 323.8 kB / 0.787 GB, free: 9.066 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000649/0.7342, allocations: 20 kB / 0.787 GB, free: 9.047 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001154/0.7354, allocations: 47.89 kB / 0.787 GB, free: 9 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001963/0.7356, allocations: 56.47 kB / 0.7871 GB, free: 8.945 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.121e-05/0.7357, allocations: 23.98 kB / 0.7871 GB, free: 8.922 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.002519/0.7382, allocations: 1.266 MB / 0.7884 GB, free: 7.633 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7382, allocations: 0 / 0.7884 GB, free: 7.633 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0041/0.7424, allocations: 0.8314 MB / 0.7892 GB, free: 6.801 MB / 0.5919 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.001711/0.7441, allocations: 441.4 kB / 0.7896 GB, free: 6.371 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.005267/0.7494, allocations: 2.591 MB / 0.7921 GB, free: 3.711 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 6.202e-06/0.7494, allocations: 0 / 0.7921 GB, free: 3.711 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001504/0.7509, allocations: 0.5994 MB / 0.7927 GB, free: 3.098 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004698/0.7556, allocations: 0.831 MB / 0.7935 GB, free: 2.273 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006481/0.7621, allocations: 3.118 MB / 0.7966 GB, free: 15.11 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001552/0.7637, allocations: 1.525 MB / 0.798 GB, free: 13.55 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.001905/0.7656, allocations: 426.4 kB / 0.7985 GB, free: 13.13 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004097/0.7661, allocations: 131.4 kB / 0.7986 GB, free: 13 MB / 0.6075 GB Notification: Performance of SimCode: time 1.383e-06/0.7661, allocations: 0 / 0.7986 GB, free: 13 MB / 0.6075 GB Notification: Performance of Templates: time 0.07442/0.8405, allocations: 42.77 MB / 0.8403 GB, free: 2.547 MB / 0.6387 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)