Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Examples.FlowSystem.Simplified4.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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.Simplified4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pmpNorth.m_flow|pmpSouth.m_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.Examples.FlowSystem.Simplified4") translateModel(Buildings.Fluid.Examples.FlowSystem.Simplified4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pmpNorth.m_flow|pmpSouth.m_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.Examples.FlowSystem.Simplified4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001078/0.001078, allocations: 110.5 kB / 16.41 MB, free: 6.465 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.001031/0.001031, allocations: 190.7 kB / 17.35 MB, free: 5.711 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.299/1.299, allocations: 222.9 MB / 241.1 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.563/2.563, allocations: 472.7 MB / 0.746 GB, free: 496 kB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001366/0.001366, allocations: 63.89 kB / 1.07 GB, free: 9.438 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7423/0.7437, allocations: 159.9 MB / 1.226 GB, free: 13.45 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.FlowSystem.Simplified4): time 0.9917/1.735, allocations: 357.8 MB / 1.576 GB, free: 61.72 MB / 1.279 GB Notification: Performance of NFInst.instExpressions: time 0.08739/1.823, allocations: 75.87 MB / 1.65 GB, free: 60.68 MB / 1.279 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01582/1.839, allocations: 435.8 kB / 1.65 GB, free: 60.68 MB / 1.279 GB Notification: Performance of NFTyping.typeComponents: time 0.01624/1.855, allocations: 6.479 MB / 1.657 GB, free: 60.56 MB / 1.279 GB Notification: Performance of NFTyping.typeBindings: time 0.03549/1.89, allocations: 14.29 MB / 1.671 GB, free: 60 MB / 1.279 GB Notification: Performance of NFTyping.typeClassSections: time 0.02191/1.912, allocations: 9.845 MB / 1.68 GB, free: 58.59 MB / 1.279 GB Notification: Performance of NFFlatten.flatten: time 0.08345/1.996, allocations: 71.03 MB / 1.75 GB, free: 15.04 MB / 1.279 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0209/2.017, allocations: 18.64 MB / 1.768 GB, free: 12.97 MB / 1.295 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03388/2.051, allocations: 16.3 MB / 1.784 GB, free: 13.6 MB / 1.311 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02773/2.078, allocations: 15.09 MB / 1.798 GB, free: 15.62 MB / 1.326 GB Notification: Performance of NFPackage.collectConstants: time 0.007057/2.085, allocations: 1.754 MB / 1.8 GB, free: 13.86 MB / 1.326 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02228/2.108, allocations: 6.007 MB / 1.806 GB, free: 8.121 MB / 1.326 GB Notification: Performance of NFScalarize.scalarize: time 0.01023/2.118, allocations: 5.831 MB / 1.812 GB, free: 2.508 MB / 1.326 GB Notification: Performance of NFVerifyModel.verify: time 0.02239/2.14, allocations: 10.24 MB / 1.822 GB, free: 8.441 MB / 1.342 GB Notification: Performance of NFConvertDAE.convert: time 0.05275/2.193, allocations: 28.52 MB / 1.85 GB, free: 12.95 MB / 1.373 GB Notification: Performance of FrontEnd - DAE generated: time 7.113e-06/2.193, allocations: 0 / 1.85 GB, free: 12.95 MB / 1.373 GB Notification: Performance of FrontEnd: time 1.453e-06/2.193, allocations: 0 / 1.85 GB, free: 12.95 MB / 1.373 GB Notification: Performance of Transformations before backend: time 0.0009431/2.194, allocations: 3.938 kB / 1.85 GB, free: 12.94 MB / 1.373 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1791 * Number of variables: 1791 Notification: Performance of Generate backend data structure: time 0.06155/2.256, allocations: 22.24 MB / 1.871 GB, free: 6.82 MB / 1.389 GB Notification: Performance of prepare preOptimizeDAE: time 5.386e-05/2.256, allocations: 12.02 kB / 1.871 GB, free: 6.809 MB / 1.389 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01852/2.274, allocations: 3.279 MB / 1.875 GB, free: 3.516 MB / 1.389 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04263/2.317, allocations: 19.44 MB / 1.894 GB, free: 384 kB / 1.404 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007346/2.318, allocations: 0.595 MB / 1.894 GB, free: 15.78 MB / 1.42 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003883/2.322, allocations: 0.7983 MB / 1.895 GB, free: 14.99 MB / 1.42 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03792/2.36, allocations: 15.56 MB / 1.91 GB, free: 15.19 MB / 1.436 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000307/2.36, allocations: 15.81 kB / 1.91 GB, free: 15.18 MB / 1.436 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003007/2.363, allocations: 294.4 kB / 1.91 GB, free: 14.89 MB / 1.436 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001841/2.363, allocations: 188 kB / 1.911 GB, free: 14.71 MB / 1.436 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05296/2.416, allocations: 19.96 MB / 1.93 GB, free: 10.73 MB / 1.451 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.1472/2.563, allocations: 78.64 MB / 2.007 GB, free: 9.254 MB / 1.529 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02084/2.584, allocations: 11.15 MB / 2.018 GB, free: 14.33 MB / 1.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01577/2.6, allocations: 9.36 MB / 2.027 GB, free: 4.973 MB / 1.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 evalFunc (simulation): time 0.06857/2.669, allocations: 32.62 MB / 2.059 GB, free: 3.984 MB / 1.576 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01706/2.686, allocations: 9.343 MB / 2.068 GB, free: 10.61 MB / 1.592 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0202/2.706, allocations: 5.738 MB / 2.073 GB, free: 5.031 MB / 1.592 GB Notification: Performance of pre-optimization done (n=433): time 2.585e-05/2.706, allocations: 0 / 2.073 GB, free: 5.031 MB / 1.592 GB Notification: Performance of matching and sorting (n=617): time 1.412/4.118, allocations: 183.1 MB / 2.252 GB, free: 0.6867 GB / 1.717 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.812e-05/4.118, allocations: 118.9 kB / 2.252 GB, free: 0.6867 GB / 1.717 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01962/4.138, allocations: 16.31 MB / 2.268 GB, free: 0.6789 GB / 1.717 GB Notification: Performance of collectPreVariables (initialization): time 0.002671/4.141, allocations: 181.8 kB / 2.269 GB, free: 0.6787 GB / 1.717 GB Notification: Performance of collectInitialEqns (initialization): time 0.005002/4.146, allocations: 7.202 MB / 2.276 GB, free: 0.674 GB / 1.717 GB Notification: Performance of collectInitialBindings (initialization): time 0.003268/4.149, allocations: 2.21 MB / 2.278 GB, free: 0.6735 GB / 1.717 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004557/4.153, allocations: 2.936 MB / 2.281 GB, free: 0.672 GB / 1.717 GB Notification: Performance of setup shared object (initialization): time 3.981e-05/4.153, allocations: 305.1 kB / 2.281 GB, free: 0.6717 GB / 1.717 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0168/4.17, allocations: 11.45 MB / 2.292 GB, free: 0.6657 GB / 1.717 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01871/4.189, allocations: 14.09 MB / 2.306 GB, free: 0.6533 GB / 1.717 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03732/4.226, allocations: 24.76 MB / 2.33 GB, free: 0.6284 GB / 1.717 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.649e-05/4.226, allocations: 16 kB / 2.33 GB, free: 0.6284 GB / 1.717 GB Notification: Performance of matching and sorting (n=1297) (initialization): time 0.5318/4.758, allocations: 115.8 MB / 2.443 GB, free: 0.5158 GB / 1.717 GB Notification: Performance of prepare postOptimizeDAE: time 6.858e-05/4.758, allocations: 53.7 kB / 2.443 GB, free: 0.5157 GB / 1.717 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.069e-05/4.758, allocations: 52 kB / 2.443 GB, free: 0.5157 GB / 1.717 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.5494/5.308, allocations: 117.9 MB / 2.558 GB, free: 410.2 MB / 1.717 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01218/5.32, allocations: 2.322 MB / 2.561 GB, free: 407.8 MB / 1.717 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1327/5.453, allocations: 81.89 MB / 2.641 GB, free: 325.6 MB / 1.717 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01691/5.47, allocations: 0.9491 MB / 2.642 GB, free: 324.6 MB / 1.717 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002662/5.472, allocations: 0.8114 MB / 2.642 GB, free: 323.8 MB / 1.717 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.02275/5.495, allocations: 14.3 MB / 2.656 GB, free: 309.5 MB / 1.717 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01833/5.513, allocations: 13.59 MB / 2.67 GB, free: 294.9 MB / 1.717 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.03483/5.548, allocations: 23.73 MB / 2.693 GB, free: 270.4 MB / 1.717 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.122e-05/5.548, allocations: 15.83 kB / 2.693 GB, free: 270.4 MB / 1.717 GB Notification: Performance of matching and sorting (n=1297) (initialization_lambda0): time 0.5224/6.071, allocations: 114.3 MB / 2.804 GB, free: 156 MB / 1.717 GB Notification: Performance of prepare postOptimizeDAE: time 7.005e-05/6.071, allocations: 54.67 kB / 2.804 GB, free: 155.9 MB / 1.717 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.848e-05/6.071, allocations: 55.98 kB / 2.804 GB, free: 155.9 MB / 1.717 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.5394/6.61, allocations: 117.6 MB / 2.919 GB, free: 38.34 MB / 1.717 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01126/6.622, allocations: 2.301 MB / 2.922 GB, free: 36.04 MB / 1.717 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.7976/7.419, allocations: 86.11 MB / 3.006 GB, free: 0.6521 GB / 1.717 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01796/7.437, allocations: 0.9963 MB / 3.007 GB, free: 0.6519 GB / 1.717 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003182/7.441, allocations: 0.7849 MB / 3.007 GB, free: 0.6519 GB / 1.717 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 233 * 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 (909): * Single equations (assignments): 891 * Array equations: 4 * Algorithm blocks: 1 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 6 * 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): 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): 1 system {(28,28,89.3%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(5,80), (5,80)} Notification: Performance of prepare postOptimizeDAE: time 0.004973/7.446, allocations: 0.6699 MB / 3.008 GB, free: 0.6515 GB / 1.717 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00639/7.452, allocations: 1.515 MB / 3.01 GB, free: 0.6515 GB / 1.717 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1768/7.629, allocations: 49.04 MB / 3.057 GB, free: 0.6236 GB / 1.717 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.1643/7.793, allocations: 43.29 MB / 3.1 GB, free: 0.5818 GB / 1.717 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.169e-05/7.793, allocations: 2.625 kB / 3.1 GB, free: 0.5818 GB / 1.717 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008816/7.802, allocations: 3.053 MB / 3.103 GB, free: 0.5797 GB / 1.717 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004554/7.807, allocations: 128 kB / 3.103 GB, free: 0.5796 GB / 1.717 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01347/7.82, allocations: 0.7586 MB / 3.104 GB, free: 0.5788 GB / 1.717 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00507/7.825, allocations: 0.895 MB / 3.104 GB, free: 0.5779 GB / 1.717 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.06299/7.888, allocations: 23.57 MB / 3.127 GB, free: 0.5552 GB / 1.717 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.05269/7.941, allocations: 26.69 MB / 3.153 GB, free: 0.5294 GB / 1.717 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.01428/7.955, allocations: 8.245 MB / 3.162 GB, free: 0.5214 GB / 1.717 GB Notification: Performance of sorting global known variables: time 0.02061/7.976, allocations: 11.12 MB / 3.172 GB, free: 0.5106 GB / 1.717 GB Notification: Performance of Backend: time 1.643e-06/7.976, allocations: 0 / 3.172 GB, free: 0.5106 GB / 1.717 GB Notification: Performance of simCode: created initialization part: time 0.08508/8.061, allocations: 35.7 MB / 3.207 GB, free: 487.5 MB / 1.717 GB Notification: Performance of SimCode: time 0.0583/8.119, allocations: 35.73 MB / 3.242 GB, free: 452 MB / 1.717 GB Notification: Performance of Templates: time 2.104/10.22, allocations: 480.9 MB / 3.712 GB, free: 0.6584 GB / 1.717 GB make -j1 -f Buildings_latest_Buildings.Fluid.Examples.FlowSystem.Simplified4.makefile (rm -f Buildings_latest_Buildings.Fluid.Examples.FlowSystem.Simplified4.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Examples.FlowSystem.Simplified4.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Examples.FlowSystem.Simplified4.pipe >> ../files/Buildings_latest_Buildings.Fluid.Examples.FlowSystem.Simplified4.sim & ./Buildings_latest_Buildings.Fluid.Examples.FlowSystem.Simplified4 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Examples.FlowSystem.Simplified4.pipe 2>&1)