Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Examples.FlowSystem.Simplified6.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/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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(Buildings.Fluid.Examples.FlowSystem.Simplified6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pmpNorth.m_flow|pmpSouth.m_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.Examples.FlowSystem.Simplified6") translateModel(Buildings.Fluid.Examples.FlowSystem.Simplified6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pmpNorth.m_flow|pmpSouth.m_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.Examples.FlowSystem.Simplified6") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001685/0.001685, allocations: 110.1 kB / 16.42 MB, free: 6.496 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.001838/0.001838, allocations: 188.3 kB / 17.35 MB, free: 5.762 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.308/1.308, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.136/2.136, allocations: 390.2 MB / 0.6655 GB, free: 0.6875 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001316/0.001316, allocations: 59.91 kB / 0.9517 GB, free: 7.523 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7617/0.763, allocations: 140.4 MB / 1.089 GB, free: 5.562 MB / 0.8575 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Blocks/Math.mo:543:5-544:48:writable] Warning: Parameter pmpSouth.gaiSpe.k has no value, and is fixed during initialization (fixed=true), using available start value (start=1) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Blocks/Math.mo:543:5-544:48:writable] Warning: Parameter pmpNorth.gaiSpe.k has no value, and is fixed during initialization (fixed=true), using available start value (start=1) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Blocks/Math.mo:543:5-544:48:writable] Warning: Parameter pumpHea.gaiSpe.k has no value, and is fixed during initialization (fixed=true), using available start value (start=1) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Blocks/Math.mo:543:5-544:48:writable] Warning: Parameter pumpCoo.gaiSpe.k has no value, and is fixed during initialization (fixed=true), using available start value (start=1) as default value. Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.FlowSystem.Simplified6): time 0.3296/1.093, allocations: 355.7 MB / 1.436 GB, free: 9.418 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.09509/1.188, allocations: 72.95 MB / 1.507 GB, free: 284 kB / 1.232 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01669/1.204, allocations: 425.6 kB / 1.508 GB, free: 15.86 MB / 1.248 GB Notification: Performance of NFTyping.typeComponents: time 0.01609/1.221, allocations: 4.762 MB / 1.512 GB, free: 11.07 MB / 1.248 GB Notification: Performance of NFTyping.typeBindings: time 0.03559/1.256, allocations: 11.62 MB / 1.524 GB, free: 15.42 MB / 1.264 GB Notification: Performance of NFTyping.typeClassSections: time 0.01876/1.275, allocations: 7.901 MB / 1.532 GB, free: 7.578 MB / 1.264 GB Notification: Performance of NFFlatten.flatten: time 0.03525/1.31, allocations: 29.3 MB / 1.56 GB, free: 10.19 MB / 1.295 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02017/1.33, allocations: 16.08 MB / 1.576 GB, free: 9.965 MB / 1.311 GB Notification: Performance of NFEvalConstants.evaluate: time 1.269/2.6, allocations: 12.91 MB / 1.588 GB, free: 81.23 MB / 1.311 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02069/2.621, allocations: 9.812 MB / 1.598 GB, free: 81.23 MB / 1.311 GB Notification: Performance of NFPackage.collectConstants: time 0.006332/2.627, allocations: 1.047 MB / 1.599 GB, free: 81.23 MB / 1.311 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02024/2.647, allocations: 4.306 MB / 1.603 GB, free: 81.23 MB / 1.311 GB Notification: Performance of NFScalarize.scalarize: time 0.01062/2.658, allocations: 3.623 MB / 1.607 GB, free: 81.23 MB / 1.311 GB Notification: Performance of NFVerifyModel.verify: time 0.02293/2.681, allocations: 7.429 MB / 1.614 GB, free: 79.43 MB / 1.311 GB Notification: Performance of NFConvertDAE.convert: time 0.0408/2.722, allocations: 19.47 MB / 1.633 GB, free: 77.14 MB / 1.311 GB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/2.722, allocations: 0 / 1.633 GB, free: 77.14 MB / 1.311 GB Notification: Performance of FrontEnd: time 1.412e-06/2.722, allocations: 0.8125 kB / 1.633 GB, free: 77.14 MB / 1.311 GB Notification: Performance of Transformations before backend: time 0.0007794/2.723, allocations: 3.781 kB / 1.633 GB, free: 77.14 MB / 1.311 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1521 * Number of variables: 1521 Notification: Performance of Generate backend data structure: time 0.05207/2.775, allocations: 15.71 MB / 1.648 GB, free: 70.77 MB / 1.311 GB Notification: Performance of prepare preOptimizeDAE: time 5.124e-05/2.775, allocations: 11.12 kB / 1.648 GB, free: 70.77 MB / 1.311 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01376/2.789, allocations: 2.474 MB / 1.651 GB, free: 69.98 MB / 1.311 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03019/2.819, allocations: 12.01 MB / 1.663 GB, free: 67.72 MB / 1.311 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000635/2.819, allocations: 0.5109 MB / 1.663 GB, free: 67.71 MB / 1.311 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003037/2.822, allocations: 0.6811 MB / 1.664 GB, free: 67.71 MB / 1.311 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02024/2.843, allocations: 9.068 MB / 1.673 GB, free: 66.58 MB / 1.311 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001268/2.843, allocations: 16.47 kB / 1.673 GB, free: 66.58 MB / 1.311 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008904/2.844, allocations: 250 kB / 1.673 GB, free: 66.58 MB / 1.311 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001192/2.844, allocations: 156.7 kB / 1.673 GB, free: 66.58 MB / 1.311 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01809/2.862, allocations: 7.515 MB / 1.68 GB, free: 66.5 MB / 1.311 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.07339/2.935, allocations: 49.64 MB / 1.729 GB, free: 39.67 MB / 1.311 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01015/2.946, allocations: 5.538 MB / 1.734 GB, free: 39.54 MB / 1.311 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006562/2.952, allocations: 3.99 MB / 1.738 GB, free: 39.47 MB / 1.311 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.02866/2.981, allocations: 13.27 MB / 1.751 GB, free: 33.92 MB / 1.311 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005729/2.987, allocations: 3.746 MB / 1.755 GB, free: 32.86 MB / 1.311 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.006691/2.993, allocations: 1.082 MB / 1.756 GB, free: 32.46 MB / 1.311 GB Notification: Performance of pre-optimization done (n=316): time 1.258e-05/2.993, allocations: 0 / 1.756 GB, free: 32.46 MB / 1.311 GB Notification: Performance of matching and sorting (n=502): time 0.1767/3.17, allocations: 54.87 MB / 1.809 GB, free: 11.59 MB / 1.326 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.141e-05/3.17, allocations: 106 kB / 1.809 GB, free: 11.48 MB / 1.326 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02373/3.194, allocations: 12.87 MB / 1.822 GB, free: 2.051 MB / 1.326 GB Notification: Performance of collectPreVariables (initialization): time 0.001942/3.196, allocations: 163.3 kB / 1.822 GB, free: 1.98 MB / 1.326 GB Notification: Performance of collectInitialEqns (initialization): time 0.006697/3.203, allocations: 6.155 MB / 1.828 GB, free: 15.23 MB / 1.342 GB Notification: Performance of collectInitialBindings (initialization): time 0.00262/3.205, allocations: 1.686 MB / 1.83 GB, free: 13.56 MB / 1.342 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003832/3.209, allocations: 1.753 MB / 1.832 GB, free: 11.8 MB / 1.342 GB Notification: Performance of setup shared object (initialization): time 9.364e-05/3.209, allocations: 301.1 kB / 1.832 GB, free: 11.51 MB / 1.342 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01332/3.223, allocations: 5.964 MB / 1.838 GB, free: 5.539 MB / 1.342 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0166/3.239, allocations: 8.533 MB / 1.846 GB, free: 11.94 MB / 1.358 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02962/3.269, allocations: 13.81 MB / 1.86 GB, free: 13.47 MB / 1.373 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.766e-05/3.269, allocations: 16 kB / 1.86 GB, free: 13.45 MB / 1.373 GB Notification: Performance of matching and sorting (n=950) (initialization): time 0.04882/3.318, allocations: 19.12 MB / 1.878 GB, free: 10.71 MB / 1.389 GB Notification: Performance of prepare postOptimizeDAE: time 9.13e-05/3.318, allocations: 62.31 kB / 1.878 GB, free: 10.65 MB / 1.389 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.628e-05/3.318, allocations: 63.94 kB / 1.878 GB, free: 10.59 MB / 1.389 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01709/3.335, allocations: 4.859 MB / 1.883 GB, free: 5.746 MB / 1.389 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01184/3.347, allocations: 2.049 MB / 1.885 GB, free: 3.789 MB / 1.389 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01814/3.365, allocations: 14.43 MB / 1.899 GB, free: 4.977 MB / 1.404 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01356/3.379, allocations: 0.8535 MB / 1.9 GB, free: 4.125 MB / 1.404 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002066/3.381, allocations: 495.7 kB / 1.9 GB, free: 3.641 MB / 1.404 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.01893/3.4, allocations: 8.204 MB / 1.908 GB, free: 11.43 MB / 1.42 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01519/3.415, allocations: 8.079 MB / 1.916 GB, free: 2.281 MB / 1.42 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.02748/3.442, allocations: 12.92 MB / 1.929 GB, free: 4.699 MB / 1.436 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.006e-05/3.443, allocations: 20 kB / 1.929 GB, free: 4.68 MB / 1.436 GB Notification: Performance of matching and sorting (n=950) (initialization_lambda0): time 0.04651/3.489, allocations: 17.69 MB / 1.946 GB, free: 3.348 MB / 1.451 GB Notification: Performance of prepare postOptimizeDAE: time 8.037e-05/3.489, allocations: 53.92 kB / 1.946 GB, free: 3.289 MB / 1.451 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.602e-05/3.489, allocations: 64 kB / 1.946 GB, free: 3.227 MB / 1.451 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01433/3.504, allocations: 4.545 MB / 1.951 GB, free: 14.69 MB / 1.467 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01098/3.515, allocations: 2.029 MB / 1.953 GB, free: 12.75 MB / 1.467 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02667/3.541, allocations: 19.13 MB / 1.971 GB, free: 9.164 MB / 1.483 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01371/3.555, allocations: 0.872 MB / 1.972 GB, free: 8.289 MB / 1.483 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002306/3.557, allocations: 475 kB / 1.973 GB, free: 7.828 MB / 1.483 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 273 * 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 (739): * Single equations (assignments): 724 * Array equations: 4 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 6 * Torn equation systems: 4 * 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): 6 systems {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): 2 systems {(1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(5,80), (5,80)} Notification: Performance of prepare postOptimizeDAE: time 0.003412/3.561, allocations: 0.6184 MB / 1.973 GB, free: 7.297 MB / 1.483 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003979/3.565, allocations: 1.199 MB / 1.975 GB, free: 6.082 MB / 1.483 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04076/3.606, allocations: 15.25 MB / 1.989 GB, free: 6.867 MB / 1.498 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.03207/3.638, allocations: 12.34 MB / 2.002 GB, free: 10.53 MB / 1.514 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.538e-05/3.638, allocations: 3.938 kB / 2.002 GB, free: 10.52 MB / 1.514 GB Notification: Performance of postOpt removeConstants (simulation): time 0.009875/3.648, allocations: 2.156 MB / 2.004 GB, free: 8.332 MB / 1.514 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005778/3.654, allocations: 100 kB / 2.004 GB, free: 8.234 MB / 1.514 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01153/3.665, allocations: 0.6905 MB / 2.004 GB, free: 7.543 MB / 1.514 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001765/3.667, allocations: 0.5625 MB / 2.005 GB, free: 6.977 MB / 1.514 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.04001/3.707, allocations: 13.37 MB / 2.018 GB, free: 9.656 MB / 1.529 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.04435/3.751, allocations: 17.19 MB / 2.035 GB, free: 8.328 MB / 1.545 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.01149/3.763, allocations: 4.98 MB / 2.04 GB, free: 3.32 MB / 1.545 GB Notification: Performance of sorting global known variables: time 0.01905/3.782, allocations: 8.736 MB / 2.048 GB, free: 10.64 MB / 1.561 GB Notification: Performance of Backend: time 1.483e-06/3.782, allocations: 0 / 2.048 GB, free: 10.64 MB / 1.561 GB Notification: Performance of simCode: created initialization part: time 0.06002/3.842, allocations: 18.46 MB / 2.066 GB, free: 8.617 MB / 1.576 GB Notification: Performance of SimCode: time 0.06433/3.906, allocations: 28.28 MB / 2.094 GB, free: 12.41 MB / 1.608 GB Notification: Performance of Templates: time 0.9346/4.841, allocations: 300.5 MB / 2.387 GB, free: 0.6071 GB / 1.67 GB make -j1 -f Buildings_9_Buildings.Fluid.Examples.FlowSystem.Simplified6.makefile (rm -f Buildings_9_Buildings.Fluid.Examples.FlowSystem.Simplified6.pipe ; mkfifo Buildings_9_Buildings.Fluid.Examples.FlowSystem.Simplified6.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Examples.FlowSystem.Simplified6.pipe >> ../files/Buildings_9_Buildings.Fluid.Examples.FlowSystem.Simplified6.sim & ./Buildings_9_Buildings.Fluid.Examples.FlowSystem.Simplified6 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Examples.FlowSystem.Simplified6.pipe 2>&1)