Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.Simplified6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pmpNorth.m_flow|pmpSouth.m_flow",fileNamePrefix="Buildings_latest_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_latest_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.001254/0.001255, allocations: 113.6 kB / 16.42 MB, free: 6.461 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.001184/0.001184, allocations: 190.6 kB / 17.35 MB, free: 5.715 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.293/1.293, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.456/2.456, allocations: 461.9 MB / 0.7355 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001218/0.001218, allocations: 67.89 kB / 1.055 GB, free: 7.508 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.786/0.7872, allocations: 157.4 MB / 1.209 GB, free: 13.55 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.FlowSystem.Simplified6): time 0.2976/1.085, allocations: 357.9 MB / 1.558 GB, free: 6.484 MB / 1.279 GB Notification: Performance of NFInst.instExpressions: time 0.7575/1.842, allocations: 75.85 MB / 1.632 GB, free: 61.06 MB / 1.279 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01442/1.857, allocations: 431.7 kB / 1.633 GB, free: 61.06 MB / 1.279 GB Notification: Performance of NFTyping.typeComponents: time 0.01415/1.871, allocations: 5.766 MB / 1.638 GB, free: 60.95 MB / 1.279 GB Notification: Performance of NFTyping.typeBindings: time 0.02951/1.901, allocations: 11.66 MB / 1.65 GB, free: 60.46 MB / 1.279 GB Notification: Performance of NFTyping.typeClassSections: time 0.0195/1.92, allocations: 8.303 MB / 1.658 GB, free: 60.22 MB / 1.279 GB Notification: Performance of NFFlatten.flatten: time 0.07407/1.994, allocations: 65.9 MB / 1.722 GB, free: 36.67 MB / 1.279 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01929/2.013, allocations: 16.31 MB / 1.738 GB, free: 20.84 MB / 1.279 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02556/2.039, allocations: 13.21 MB / 1.751 GB, free: 8.355 MB / 1.279 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02103/2.06, allocations: 10.36 MB / 1.761 GB, free: 14.75 MB / 1.295 GB Notification: Performance of NFPackage.collectConstants: time 0.00551/2.066, allocations: 1.145 MB / 1.762 GB, free: 13.61 MB / 1.295 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01684/2.082, allocations: 4.65 MB / 1.767 GB, free: 9.16 MB / 1.295 GB Notification: Performance of NFScalarize.scalarize: time 0.00701/2.09, allocations: 4.342 MB / 1.771 GB, free: 4.902 MB / 1.295 GB Notification: Performance of NFVerifyModel.verify: time 0.0176/2.107, allocations: 8.31 MB / 1.779 GB, free: 12.65 MB / 1.311 GB Notification: Performance of NFConvertDAE.convert: time 0.03436/2.141, allocations: 21.77 MB / 1.8 GB, free: 7.594 MB / 1.326 GB Notification: Performance of FrontEnd - DAE generated: time 6.021e-06/2.142, allocations: 0 / 1.8 GB, free: 7.594 MB / 1.326 GB Notification: Performance of FrontEnd: time 1.994e-06/2.142, allocations: 0 / 1.8 GB, free: 7.594 MB / 1.326 GB Notification: Performance of Transformations before backend: time 0.0007026/2.142, allocations: 0 / 1.8 GB, free: 7.594 MB / 1.326 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.04207/2.184, allocations: 17.52 MB / 1.817 GB, free: 6.055 MB / 1.342 GB Notification: Performance of prepare preOptimizeDAE: time 4.384e-05/2.184, allocations: 12.03 kB / 1.817 GB, free: 6.043 MB / 1.342 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01564/2.2, allocations: 3.091 MB / 1.82 GB, free: 2.93 MB / 1.342 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03648/2.237, allocations: 16.9 MB / 1.837 GB, free: 2.289 MB / 1.357 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006308/2.237, allocations: 0.5235 MB / 1.837 GB, free: 1.762 MB / 1.357 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002361/2.24, allocations: 0.6987 MB / 1.838 GB, free: 1.066 MB / 1.357 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01882/2.258, allocations: 9.6 MB / 1.847 GB, free: 7.07 MB / 1.373 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001042/2.259, allocations: 19.81 kB / 1.848 GB, free: 7.051 MB / 1.373 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007077/2.259, allocations: 252 kB / 1.848 GB, free: 6.805 MB / 1.373 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001256/2.259, allocations: 156 kB / 1.848 GB, free: 6.652 MB / 1.373 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01629/2.276, allocations: 7.986 MB / 1.856 GB, free: 14.66 MB / 1.389 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.07654/2.352, allocations: 51.5 MB / 1.906 GB, free: 8.387 MB / 1.436 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01227/2.365, allocations: 6.029 MB / 1.912 GB, free: 2.625 MB / 1.436 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007731/2.372, allocations: 4.205 MB / 1.916 GB, free: 14.44 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 evalFunc (simulation): time 0.03154/2.404, allocations: 14.3 MB / 1.93 GB, free: 15.99 MB / 1.467 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00794/2.412, allocations: 4.208 MB / 1.934 GB, free: 11.75 MB / 1.467 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.007086/2.419, allocations: 1.135 MB / 1.935 GB, free: 10.64 MB / 1.467 GB Notification: Performance of pre-optimization done (n=332): time 1.624e-05/2.419, allocations: 4 kB / 1.935 GB, free: 10.63 MB / 1.467 GB Notification: Performance of matching and sorting (n=518): time 0.19/2.609, allocations: 56.17 MB / 1.99 GB, free: 1.477 MB / 1.514 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.786e-05/2.609, allocations: 111.5 kB / 1.99 GB, free: 1.352 MB / 1.514 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02661/2.636, allocations: 15.74 MB / 2.005 GB, free: 1.695 MB / 1.529 GB Notification: Performance of collectPreVariables (initialization): time 0.001568/2.637, allocations: 171.5 kB / 2.006 GB, free: 1.523 MB / 1.529 GB Notification: Performance of collectInitialEqns (initialization): time 0.007128/2.644, allocations: 6.689 MB / 2.012 GB, free: 10.86 MB / 1.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.002384/2.647, allocations: 1.773 MB / 2.014 GB, free: 9.105 MB / 1.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004873/2.652, allocations: 2.2 MB / 2.016 GB, free: 6.891 MB / 1.545 GB Notification: Performance of setup shared object (initialization): time 0.000102/2.652, allocations: 313 kB / 2.016 GB, free: 6.582 MB / 1.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01409/2.666, allocations: 7.258 MB / 2.023 GB, free: 15.31 MB / 1.561 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01623/2.682, allocations: 10.09 MB / 2.033 GB, free: 4.09 MB / 1.561 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03098/2.713, allocations: 16.21 MB / 2.049 GB, free: 3.016 MB / 1.576 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.844e-05/2.713, allocations: 20 kB / 2.049 GB, free: 2.996 MB / 1.576 GB Notification: Performance of matching and sorting (n=1222) (initialization): time 0.05404/2.767, allocations: 22.19 MB / 2.071 GB, free: 12.73 MB / 1.607 GB Notification: Performance of prepare postOptimizeDAE: time 9.747e-05/2.767, allocations: 61.69 kB / 2.071 GB, free: 12.66 MB / 1.607 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.885e-05/2.768, allocations: 56 kB / 2.071 GB, free: 12.61 MB / 1.607 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01763/2.785, allocations: 4.988 MB / 2.076 GB, free: 7.633 MB / 1.607 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01257/2.798, allocations: 2.301 MB / 2.078 GB, free: 5.328 MB / 1.607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01771/2.816, allocations: 14.82 MB / 2.093 GB, free: 6.074 MB / 1.623 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01378/2.829, allocations: 0.9572 MB / 2.093 GB, free: 5.117 MB / 1.623 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001987/2.831, allocations: 0.5146 MB / 2.094 GB, free: 4.605 MB / 1.623 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.02013/2.851, allocations: 9.885 MB / 2.104 GB, free: 10.7 MB / 1.639 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01618/2.868, allocations: 9.572 MB / 2.113 GB, free: 16 MB / 1.654 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0282/2.896, allocations: 15.18 MB / 2.128 GB, free: 15.93 MB / 1.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.349e-05/2.896, allocations: 19.94 kB / 2.128 GB, free: 15.91 MB / 1.67 GB Notification: Performance of matching and sorting (n=1222) (initialization_lambda0): time 0.0471/2.943, allocations: 20.63 MB / 2.148 GB, free: 11.18 MB / 1.686 GB Notification: Performance of prepare postOptimizeDAE: time 7.509e-05/2.943, allocations: 57.7 kB / 2.148 GB, free: 11.12 MB / 1.686 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.255e-05/2.943, allocations: 63.92 kB / 2.148 GB, free: 11.06 MB / 1.686 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01377/2.957, allocations: 4.637 MB / 2.153 GB, free: 6.434 MB / 1.686 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0112/2.968, allocations: 2.274 MB / 2.155 GB, free: 4.156 MB / 1.686 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02586/2.994, allocations: 19.18 MB / 2.174 GB, free: 460 kB / 1.701 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01366/3.008, allocations: 0.9895 MB / 2.175 GB, free: 15.46 MB / 1.717 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001888/3.01, allocations: 0.4952 MB / 2.175 GB, free: 14.97 MB / 1.717 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.002875/3.013, allocations: 0.6531 MB / 2.176 GB, free: 14.31 MB / 1.717 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004013/3.017, allocations: 1.35 MB / 2.177 GB, free: 12.94 MB / 1.717 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.6218/3.639, allocations: 15.82 MB / 2.192 GB, free: 0.723 GB / 1.717 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0312/3.67, allocations: 12.77 MB / 2.205 GB, free: 0.7205 GB / 1.717 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-05/3.67, allocations: 0 / 2.205 GB, free: 0.7205 GB / 1.717 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006178/3.676, allocations: 2.437 MB / 2.207 GB, free: 0.7199 GB / 1.717 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003009/3.679, allocations: 103.7 kB / 2.207 GB, free: 0.7198 GB / 1.717 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009031/3.688, allocations: 0.7605 MB / 2.208 GB, free: 0.7197 GB / 1.717 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001166/3.689, allocations: 0.5817 MB / 2.209 GB, free: 0.7197 GB / 1.717 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.03178/3.721, allocations: 13.9 MB / 2.222 GB, free: 0.7161 GB / 1.717 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.03465/3.756, allocations: 18.06 MB / 2.24 GB, free: 0.711 GB / 1.717 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.009245/3.765, allocations: 5.201 MB / 2.245 GB, free: 0.7094 GB / 1.717 GB Notification: Performance of sorting global known variables: time 0.0146/3.78, allocations: 10.73 MB / 2.255 GB, free: 0.704 GB / 1.717 GB Notification: Performance of Backend: time 6.71e-07/3.78, allocations: 0 / 2.255 GB, free: 0.704 GB / 1.717 GB Notification: Performance of simCode: created initialization part: time 0.04628/3.826, allocations: 21.61 MB / 2.277 GB, free: 0.6835 GB / 1.717 GB Notification: Performance of SimCode: time 0.04903/3.875, allocations: 31.65 MB / 2.307 GB, free: 0.6533 GB / 1.717 GB Notification: Performance of Templates: time 0.4007/4.276, allocations: 345.2 MB / 2.645 GB, free: 326.4 MB / 1.717 GB make -j1 -f Buildings_latest_Buildings.Fluid.Examples.FlowSystem.Simplified6.makefile (rm -f Buildings_latest_Buildings.Fluid.Examples.FlowSystem.Simplified6.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Examples.FlowSystem.Simplified6.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Examples.FlowSystem.Simplified6.pipe >> ../files/Buildings_latest_Buildings.Fluid.Examples.FlowSystem.Simplified6.sim & ./Buildings_latest_Buildings.Fluid.Examples.FlowSystem.Simplified6 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Examples.FlowSystem.Simplified6.pipe 2>&1)