Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Examples.FlowSystem.Simplified1.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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) Running command: translateModel(Buildings.Fluid.Examples.FlowSystem.Simplified1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Examples.FlowSystem.Simplified1") translateModel(Buildings.Fluid.Examples.FlowSystem.Simplified1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Examples.FlowSystem.Simplified1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009945/0.0009946, allocations: 110.5 kB / 16.38 MB, free: 6.008 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.0009703/0.0009703, allocations: 190.8 kB / 17.31 MB, free: 5.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.279/1.279, allocations: 205.1 MB / 223.2 MB, free: 12.27 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.75/1.75, allocations: 292.3 MB / 0.5496 GB, free: 17.41 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001436/0.001436, allocations: 67.91 kB / 0.6729 GB, free: 5.859 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1975/0.199, allocations: 114.6 MB / 0.7848 GB, free: 3.188 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.FlowSystem.Simplified1): time 0.6791/0.8781, allocations: 356.6 MB / 1.133 GB, free: 5.035 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.5249/1.403, allocations: 77.32 MB / 1.208 GB, free: 54.86 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01908/1.422, allocations: 440.5 kB / 1.209 GB, free: 54.86 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.01624/1.438, allocations: 5.776 MB / 1.215 GB, free: 54.77 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.03761/1.476, allocations: 13.37 MB / 1.228 GB, free: 54.21 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0304/1.506, allocations: 13.03 MB / 1.24 GB, free: 53.12 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.04615/1.553, allocations: 38.86 MB / 1.278 GB, free: 36.05 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02443/1.577, allocations: 20.2 MB / 1.298 GB, free: 19.79 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03219/1.609, allocations: 17.1 MB / 1.315 GB, free: 3.625 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02905/1.638, allocations: 15.91 MB / 1.33 GB, free: 4.855 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.007862/1.646, allocations: 1.883 MB / 1.332 GB, free: 2.973 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0215/1.668, allocations: 5.833 MB / 1.338 GB, free: 13.4 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.009325/1.677, allocations: 5.977 MB / 1.344 GB, free: 7.648 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.01993/1.697, allocations: 10.61 MB / 1.354 GB, free: 13.22 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.03915/1.736, allocations: 29.69 MB / 1.383 GB, free: 0.6133 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.77e-06/1.736, allocations: 0 / 1.383 GB, free: 0.6133 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.433e-06/1.736, allocations: 4 kB / 1.383 GB, free: 0.6094 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 0.0007853/1.737, allocations: 0 / 1.383 GB, free: 0.6094 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2061 * Number of variables: 2061 Notification: Performance of Generate backend data structure: time 0.05515/1.792, allocations: 22.77 MB / 1.405 GB, free: 9.898 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.447e-05/1.792, allocations: 11.89 kB / 1.405 GB, free: 9.887 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009908/1.802, allocations: 2.339 MB / 1.407 GB, free: 7.523 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03041/1.833, allocations: 15.97 MB / 1.423 GB, free: 7.844 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005618/1.833, allocations: 0.6939 MB / 1.424 GB, free: 7.152 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003343/1.837, allocations: 0.996 MB / 1.425 GB, free: 6.164 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03082/1.868, allocations: 17.3 MB / 1.442 GB, free: 4.32 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002122/1.868, allocations: 11.88 kB / 1.442 GB, free: 4.309 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001927/1.87, allocations: 352 kB / 1.442 GB, free: 3.965 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001848/1.87, allocations: 219.9 kB / 1.442 GB, free: 3.75 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03525/1.905, allocations: 20.57 MB / 1.462 GB, free: 15.17 MB / 1.076 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.1254/2.031, allocations: 81.06 MB / 1.541 GB, free: 11.62 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.6533/2.684, allocations: 12.55 MB / 1.554 GB, free: 498.5 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01283/2.697, allocations: 9.496 MB / 1.563 GB, free: 497.4 MB / 1.154 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 evalFunc (simulation): time 0.07307/2.77, allocations: 34.25 MB / 1.596 GB, free: 480.8 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01601/2.786, allocations: 9.771 MB / 1.606 GB, free: 477.4 MB / 1.154 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01943/2.805, allocations: 5.842 MB / 1.612 GB, free: 476.8 MB / 1.154 GB Notification: Performance of pre-optimization done (n=572): time 3.157e-05/2.805, allocations: 3.094 kB / 1.612 GB, free: 476.8 MB / 1.154 GB Notification: Performance of matching and sorting (n=800): time 0.848/3.654, allocations: 189.7 MB / 1.797 GB, free: 314.4 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005162/3.654, allocations: 2.53 MB / 1.799 GB, free: 311.2 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02592/3.68, allocations: 15.66 MB / 1.815 GB, free: 295.8 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 0.003794/3.684, allocations: 249.5 kB / 1.815 GB, free: 295.5 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.006503/3.69, allocations: 7.639 MB / 1.822 GB, free: 288 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.004358/3.695, allocations: 2.783 MB / 1.825 GB, free: 285.2 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005402/3.7, allocations: 3.089 MB / 1.828 GB, free: 282.1 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 3.615e-05/3.7, allocations: 301.1 kB / 1.828 GB, free: 281.8 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01677/3.717, allocations: 11.92 MB / 1.84 GB, free: 269.9 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02244/3.739, allocations: 15.24 MB / 1.855 GB, free: 253.4 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.04432/3.784, allocations: 25.9 MB / 1.88 GB, free: 226.8 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.595e-05/3.784, allocations: 16 kB / 1.88 GB, free: 226.8 MB / 1.154 GB Notification: Performance of matching and sorting (n=1412) (initialization): time 0.6003/4.384, allocations: 117.5 MB / 1.995 GB, free: 109.2 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 9.117e-05/4.384, allocations: 57.64 kB / 1.995 GB, free: 109.2 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002075/4.385, allocations: 103.9 kB / 1.995 GB, free: 109.1 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.276/5.661, allocations: 119.8 MB / 2.112 GB, free: 456.6 MB / 1.155 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01492/5.676, allocations: 2.724 MB / 2.115 GB, free: 456.6 MB / 1.155 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1522/5.828, allocations: 83.96 MB / 2.197 GB, free: 430.3 MB / 1.155 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01768/5.845, allocations: 0.9614 MB / 2.198 GB, free: 429.8 MB / 1.155 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003937/5.849, allocations: 0.8647 MB / 2.198 GB, free: 429.5 MB / 1.155 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.02637/5.876, allocations: 15.19 MB / 2.213 GB, free: 421.2 MB / 1.155 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.02149/5.897, allocations: 14.76 MB / 2.228 GB, free: 409.3 MB / 1.155 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.03868/5.936, allocations: 24.98 MB / 2.252 GB, free: 383.8 MB / 1.155 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.957e-05/5.936, allocations: 17.41 kB / 2.252 GB, free: 383.8 MB / 1.155 GB Notification: Performance of matching and sorting (n=1412) (initialization_lambda0): time 0.5912/6.527, allocations: 115.9 MB / 2.365 GB, free: 269 MB / 1.155 GB Notification: Performance of prepare postOptimizeDAE: time 6.937e-05/6.527, allocations: 53.7 kB / 2.365 GB, free: 268.9 MB / 1.155 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001921/6.528, allocations: 99.92 kB / 2.365 GB, free: 268.8 MB / 1.155 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.6431/7.171, allocations: 118.8 MB / 2.481 GB, free: 150.3 MB / 1.155 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01249/7.183, allocations: 2.676 MB / 2.484 GB, free: 147.7 MB / 1.155 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1491/7.332, allocations: 88.18 MB / 2.57 GB, free: 59.39 MB / 1.155 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01748/7.35, allocations: 1.021 MB / 2.571 GB, free: 58.37 MB / 1.155 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003348/7.353, allocations: 0.8354 MB / 2.572 GB, free: 57.54 MB / 1.155 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 231 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,stepValve.count,$PRE.stepValve.count,stepValve.T_start,$PRE.stepValve.T_start,pumpHea.stage,stepPump.pulseStart,$PRE.stepPump.pulseStart,stepPump.y,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1050): * Single equations (assignments): 970 * Array equations: 36 * Algorithm blocks: 1 * Record equations: 32 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 8 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 8 systems {1, 1, 1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(28,28,89.3%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(39,65), (39,65)} Notification: Performance of prepare postOptimizeDAE: time 0.003686/7.357, allocations: 0.7964 MB / 2.573 GB, free: 56.74 MB / 1.155 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004674/7.362, allocations: 1.542 MB / 2.574 GB, free: 56.02 MB / 1.155 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.5555/7.917, allocations: 51.54 MB / 2.625 GB, free: 449.2 MB / 1.155 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.1916/8.109, allocations: 45.51 MB / 2.669 GB, free: 446 MB / 1.155 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.765e-05/8.109, allocations: 0 / 2.669 GB, free: 446 MB / 1.155 GB Notification: Performance of postOpt removeConstants (simulation): time 0.009641/8.119, allocations: 3.186 MB / 2.672 GB, free: 445.3 MB / 1.155 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005729/8.124, allocations: 275.9 kB / 2.672 GB, free: 445.1 MB / 1.155 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01393/8.138, allocations: 0.8112 MB / 2.673 GB, free: 445 MB / 1.155 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.005171/8.143, allocations: 1.052 MB / 2.674 GB, free: 444.9 MB / 1.155 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.09488/8.238, allocations: 27.23 MB / 2.701 GB, free: 437.5 MB / 1.155 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.05406/8.292, allocations: 30.78 MB / 2.731 GB, free: 427.1 MB / 1.155 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.01544/8.308, allocations: 9.645 MB / 2.74 GB, free: 422.8 MB / 1.155 GB Notification: Performance of sorting global known variables: time 0.01766/8.326, allocations: 10.66 MB / 2.751 GB, free: 414.6 MB / 1.155 GB Notification: Performance of Backend: time 1.122e-06/8.326, allocations: 3.906 kB / 2.751 GB, free: 414.6 MB / 1.155 GB Notification: Performance of simCode: created initialization part: time 0.09841/8.424, allocations: 40.81 MB / 2.791 GB, free: 374.1 MB / 1.155 GB Notification: Performance of SimCode: time 0.08115/8.505, allocations: 39.56 MB / 2.829 GB, free: 335.1 MB / 1.155 GB Notification: Performance of Templates: time 0.9568/9.462, allocations: 495.9 MB / 3.314 GB, free: 360.6 MB / 1.155 GB make -j1 -f Buildings_8_Buildings.Fluid.Examples.FlowSystem.Simplified1.makefile (rm -f Buildings_8_Buildings.Fluid.Examples.FlowSystem.Simplified1.pipe ; mkfifo Buildings_8_Buildings.Fluid.Examples.FlowSystem.Simplified1.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Examples.FlowSystem.Simplified1.pipe >> ../files/Buildings_8_Buildings.Fluid.Examples.FlowSystem.Simplified1.sim & ./Buildings_8_Buildings.Fluid.Examples.FlowSystem.Simplified1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Examples.FlowSystem.Simplified1.pipe 2>&1)