Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.00155/0.00155, allocations: 112.2 kB / 16.42 MB, free: 6.016 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.001709/0.001709, allocations: 188.9 kB / 17.35 MB, free: 5.617 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.31/1.31, allocations: 222.9 MB / 241.1 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.508/2.508, allocations: 437 MB / 0.7112 GB, free: 4.355 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001343/0.001343, allocations: 63.91 kB / 1.019 GB, free: 9.246 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.73/0.7313, allocations: 151.6 MB / 1.167 GB, free: 3.777 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.FlowSystem.Simplified6): time 0.3063/1.038, allocations: 357.9 MB / 1.517 GB, free: 12.7 MB / 1.248 GB Notification: Performance of NFInst.instExpressions: time 0.7779/1.816, allocations: 75.85 MB / 1.591 GB, free: 61.96 MB / 1.279 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01484/1.831, allocations: 436.8 kB / 1.591 GB, free: 61.96 MB / 1.279 GB Notification: Performance of NFTyping.typeComponents: time 0.01513/1.846, allocations: 5.873 MB / 1.597 GB, free: 61.95 MB / 1.279 GB Notification: Performance of NFTyping.typeBindings: time 0.03114/1.877, allocations: 12.2 MB / 1.609 GB, free: 61.5 MB / 1.279 GB Notification: Performance of NFTyping.typeClassSections: time 0.01893/1.896, allocations: 8.306 MB / 1.617 GB, free: 61.23 MB / 1.279 GB Notification: Performance of NFFlatten.flatten: time 0.08613/1.982, allocations: 65.95 MB / 1.682 GB, free: 58.91 MB / 1.279 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02303/2.005, allocations: 16.34 MB / 1.698 GB, free: 47.61 MB / 1.279 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02628/2.031, allocations: 13.22 MB / 1.71 GB, free: 39.07 MB / 1.279 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01665/2.048, allocations: 10.37 MB / 1.721 GB, free: 30.93 MB / 1.279 GB Notification: Performance of NFPackage.collectConstants: time 0.005099/2.053, allocations: 1.141 MB / 1.722 GB, free: 29.79 MB / 1.279 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01587/2.069, allocations: 4.646 MB / 1.726 GB, free: 25.55 MB / 1.279 GB Notification: Performance of NFScalarize.scalarize: time 0.006138/2.075, allocations: 4.337 MB / 1.731 GB, free: 21.39 MB / 1.279 GB Notification: Performance of NFVerifyModel.verify: time 0.01539/2.091, allocations: 8.311 MB / 1.739 GB, free: 13.24 MB / 1.279 GB Notification: Performance of NFConvertDAE.convert: time 0.03077/2.121, allocations: 21.86 MB / 1.76 GB, free: 8.168 MB / 1.295 GB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/2.121, allocations: 0 / 1.76 GB, free: 8.168 MB / 1.295 GB Notification: Performance of FrontEnd: time 1.673e-06/2.121, allocations: 4 kB / 1.76 GB, free: 8.164 MB / 1.295 GB Notification: Performance of Transformations before backend: time 0.0007722/2.122, allocations: 0 / 1.76 GB, free: 8.164 MB / 1.295 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1537 * Number of variables: 1537 Notification: Performance of Generate backend data structure: time 0.04595/2.168, allocations: 18.08 MB / 1.778 GB, free: 6.25 MB / 1.311 GB Notification: Performance of prepare preOptimizeDAE: time 4.237e-05/2.168, allocations: 8.922 kB / 1.778 GB, free: 6.242 MB / 1.311 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01553/2.184, allocations: 3.178 MB / 1.781 GB, free: 3.051 MB / 1.311 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03608/2.22, allocations: 17.03 MB / 1.797 GB, free: 2.324 MB / 1.326 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006278/2.22, allocations: 0.5157 MB / 1.798 GB, free: 1.805 MB / 1.326 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002714/2.223, allocations: 0.7015 MB / 1.799 GB, free: 1.105 MB / 1.326 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02163/2.245, allocations: 9.602 MB / 1.808 GB, free: 7.109 MB / 1.342 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001793/2.245, allocations: 19.88 kB / 1.808 GB, free: 7.09 MB / 1.342 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001265/2.246, allocations: 252 kB / 1.808 GB, free: 6.844 MB / 1.342 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001273/2.246, allocations: 156 kB / 1.808 GB, free: 6.691 MB / 1.342 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01677/2.263, allocations: 7.99 MB / 1.816 GB, free: 14.69 MB / 1.357 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.07243/2.336, allocations: 51.57 MB / 1.867 GB, free: 8.348 MB / 1.404 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01221/2.348, allocations: 6.034 MB / 1.872 GB, free: 2.574 MB / 1.404 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007535/2.355, allocations: 4.197 MB / 1.876 GB, free: 14.39 MB / 1.42 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.03054/2.386, allocations: 14.32 MB / 1.89 GB, free: 15.91 MB / 1.436 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007773/2.394, allocations: 4.206 MB / 1.895 GB, free: 11.68 MB / 1.436 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.006643/2.401, allocations: 1.141 MB / 1.896 GB, free: 10.56 MB / 1.436 GB Notification: Performance of pre-optimization done (n=332): time 1.271e-05/2.401, allocations: 0 / 1.896 GB, free: 10.56 MB / 1.436 GB Notification: Performance of matching and sorting (n=518): time 0.1976/2.598, allocations: 56.46 MB / 1.951 GB, free: 1.125 MB / 1.482 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.508e-05/2.598, allocations: 103.5 kB / 1.951 GB, free: 1.008 MB / 1.482 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02887/2.627, allocations: 15.76 MB / 1.966 GB, free: 1.336 MB / 1.498 GB Notification: Performance of collectPreVariables (initialization): time 0.001713/2.629, allocations: 165.7 kB / 1.966 GB, free: 1.168 MB / 1.498 GB Notification: Performance of collectInitialEqns (initialization): time 0.007626/2.637, allocations: 6.777 MB / 1.973 GB, free: 10.42 MB / 1.514 GB Notification: Performance of collectInitialBindings (initialization): time 0.002477/2.639, allocations: 1.857 MB / 1.975 GB, free: 8.59 MB / 1.514 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005751/2.645, allocations: 2.207 MB / 1.977 GB, free: 6.367 MB / 1.514 GB Notification: Performance of setup shared object (initialization): time 8.476e-05/2.645, allocations: 301.1 kB / 1.977 GB, free: 6.07 MB / 1.514 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01462/2.66, allocations: 7.27 MB / 1.984 GB, free: 14.79 MB / 1.529 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01692/2.676, allocations: 10.09 MB / 1.994 GB, free: 3.574 MB / 1.529 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03021/2.707, allocations: 16.21 MB / 2.01 GB, free: 2.5 MB / 1.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.498e-05/2.707, allocations: 16 kB / 2.01 GB, free: 2.484 MB / 1.545 GB Notification: Performance of matching and sorting (n=1222) (initialization): time 0.05128/2.758, allocations: 22.27 MB / 2.032 GB, free: 12.15 MB / 1.576 GB Notification: Performance of prepare postOptimizeDAE: time 8.85e-05/2.758, allocations: 57.7 kB / 2.032 GB, free: 12.09 MB / 1.576 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.786e-05/2.758, allocations: 60 kB / 2.032 GB, free: 12.03 MB / 1.576 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01727/2.776, allocations: 4.98 MB / 2.037 GB, free: 7.066 MB / 1.576 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01262/2.788, allocations: 2.297 MB / 2.039 GB, free: 4.766 MB / 1.576 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01842/2.807, allocations: 14.84 MB / 2.054 GB, free: 5.492 MB / 1.592 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01689/2.824, allocations: 0.9496 MB / 2.055 GB, free: 4.543 MB / 1.592 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002424/2.826, allocations: 0.5153 MB / 2.055 GB, free: 4.027 MB / 1.592 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.02042/2.846, allocations: 9.89 MB / 2.065 GB, free: 10.12 MB / 1.607 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01568/2.862, allocations: 9.567 MB / 2.074 GB, free: 15.42 MB / 1.623 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.02859/2.891, allocations: 15.2 MB / 2.089 GB, free: 15.35 MB / 1.639 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.627e-05/2.891, allocations: 20.39 kB / 2.089 GB, free: 15.33 MB / 1.639 GB Notification: Performance of matching and sorting (n=1222) (initialization_lambda0): time 0.05039/2.941, allocations: 20.69 MB / 2.109 GB, free: 10.55 MB / 1.654 GB Notification: Performance of prepare postOptimizeDAE: time 8.875e-05/2.941, allocations: 57.7 kB / 2.109 GB, free: 10.48 MB / 1.654 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.901e-05/2.941, allocations: 60 kB / 2.109 GB, free: 10.43 MB / 1.654 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01455/2.956, allocations: 4.625 MB / 2.114 GB, free: 5.809 MB / 1.654 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01194/2.968, allocations: 2.282 MB / 2.116 GB, free: 3.523 MB / 1.654 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02934/2.997, allocations: 19.21 MB / 2.135 GB, free: 15.79 MB / 1.686 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01541/3.013, allocations: 0.997 MB / 2.136 GB, free: 14.79 MB / 1.686 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00242/3.015, allocations: 491.7 kB / 2.136 GB, free: 14.3 MB / 1.686 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 269 * 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 (883): * Single equations (assignments): 864 * Array equations: 4 * Algorithm blocks: 1 * Record equations: 4 * 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 {(7,78), (7,78)} Notification: Performance of prepare postOptimizeDAE: time 0.003446/3.019, allocations: 0.6593 MB / 2.137 GB, free: 13.64 MB / 1.686 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0049/3.024, allocations: 1.428 MB / 2.138 GB, free: 12.2 MB / 1.686 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04069/3.064, allocations: 15.82 MB / 2.154 GB, free: 12.29 MB / 1.701 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.04937/3.114, allocations: 12.77 MB / 2.166 GB, free: 15.41 MB / 1.717 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.318e-05/3.114, allocations: 4 kB / 2.166 GB, free: 15.41 MB / 1.717 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01209/3.126, allocations: 2.513 MB / 2.169 GB, free: 12.86 MB / 1.717 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006037/3.132, allocations: 104 kB / 2.169 GB, free: 12.76 MB / 1.717 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01743/3.149, allocations: 0.7529 MB / 2.169 GB, free: 12.01 MB / 1.717 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001808/3.151, allocations: 0.5704 MB / 2.17 GB, free: 11.43 MB / 1.717 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 1.18/4.332, allocations: 13.92 MB / 2.184 GB, free: 0.7525 GB / 1.717 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.03762/4.369, allocations: 18.15 MB / 2.201 GB, free: 0.7485 GB / 1.717 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.009763/4.379, allocations: 5.207 MB / 2.206 GB, free: 0.7469 GB / 1.717 GB Notification: Performance of sorting global known variables: time 0.01423/4.393, allocations: 10.72 MB / 2.217 GB, free: 0.7435 GB / 1.717 GB Notification: Performance of Backend: time 8.22e-07/4.393, allocations: 0 / 2.217 GB, free: 0.7435 GB / 1.717 GB Notification: Performance of simCode: created initialization part: time 0.04311/4.436, allocations: 21.65 MB / 2.238 GB, free: 0.7369 GB / 1.717 GB Notification: Performance of SimCode: time 0.0478/4.484, allocations: 32.15 MB / 2.269 GB, free: 0.7086 GB / 1.717 GB Notification: Performance of Templates: time 0.4042/4.888, allocations: 337.3 MB / 2.599 GB, free: 391.7 MB / 1.717 GB make -j1 -f Buildings_10_Buildings.Fluid.Examples.FlowSystem.Simplified6.makefile (rm -f Buildings_10_Buildings.Fluid.Examples.FlowSystem.Simplified6.pipe ; mkfifo Buildings_10_Buildings.Fluid.Examples.FlowSystem.Simplified6.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Examples.FlowSystem.Simplified6.pipe >> ../files/Buildings_10_Buildings.Fluid.Examples.FlowSystem.Simplified6.sim & ./Buildings_10_Buildings.Fluid.Examples.FlowSystem.Simplified6 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Examples.FlowSystem.Simplified6.pipe 2>&1)