Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.Examples.FlowSystem.Simplified5.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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.Simplified5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pmpNorth.m_flow|pmpSouth.m_flow",fileNamePrefix="Buildings_11_Buildings.Fluid.Examples.FlowSystem.Simplified5") translateModel(Buildings.Fluid.Examples.FlowSystem.Simplified5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pmpNorth.m_flow|pmpSouth.m_flow",fileNamePrefix="Buildings_11_Buildings.Fluid.Examples.FlowSystem.Simplified5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001523/0.001523, allocations: 122.1 kB / 16.82 MB, free: 5.754 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.001513/0.001513, allocations: 196.7 kB / 17.77 MB, free: 5.125 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.395/1.395, allocations: 225.6 MB / 244.2 MB, free: 13.91 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.7/2.7, allocations: 476.7 MB / 0.7556 GB, free: 11.3 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.002789/0.002789, allocations: 68.08 kB / 1.097 GB, free: 11.65 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3221/0.3249, allocations: 168.7 MB / 1.262 GB, free: 12.75 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.FlowSystem.Simplified5): time 1.038/1.363, allocations: 360.5 MB / 1.614 GB, free: 56.36 MB / 1.264 GB Notification: Performance of NFInst.instExpressions: time 0.09229/1.455, allocations: 76.03 MB / 1.688 GB, free: 50.93 MB / 1.264 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01563/1.471, allocations: 435.1 kB / 1.689 GB, free: 50.93 MB / 1.264 GB Notification: Performance of NFTyping.typeComponents: time 0.0159/1.487, allocations: 5.917 MB / 1.695 GB, free: 49.8 MB / 1.264 GB Notification: Performance of NFTyping.typeBindings: time 0.03283/1.52, allocations: 12.21 MB / 1.707 GB, free: 44.66 MB / 1.264 GB Notification: Performance of NFTyping.typeClassSections: time 0.01919/1.539, allocations: 8.405 MB / 1.715 GB, free: 39.31 MB / 1.264 GB Notification: Performance of NFFlatten.flatten: time 0.08445/1.623, allocations: 66.69 MB / 1.78 GB, free: 2.688 MB / 1.279 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02724/1.65, allocations: 15.21 MB / 1.795 GB, free: 4.027 MB / 1.295 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03322/1.684, allocations: 14.95 MB / 1.809 GB, free: 5.91 MB / 1.311 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02818/1.712, allocations: 14.73 MB / 1.824 GB, free: 8.18 MB / 1.326 GB Notification: Performance of NFPackage.collectConstants: time 0.0073/1.719, allocations: 1.633 MB / 1.825 GB, free: 6.547 MB / 1.326 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01844/1.738, allocations: 5.204 MB / 1.83 GB, free: 1.551 MB / 1.326 GB Notification: Performance of NFScalarize.scalarize: time 0.01038/1.748, allocations: 5.607 MB / 1.836 GB, free: 12.15 MB / 1.342 GB Notification: Performance of NFVerifyModel.verify: time 0.02124/1.769, allocations: 9.475 MB / 1.845 GB, free: 2.859 MB / 1.342 GB Notification: Performance of NFConvertDAE.convert: time 0.04552/1.815, allocations: 26.19 MB / 1.871 GB, free: 9.684 MB / 1.373 GB Notification: Performance of FrontEnd - DAE generated: time 6.412e-06/1.815, allocations: 0 / 1.871 GB, free: 9.684 MB / 1.373 GB Notification: Performance of FrontEnd: time 1.522e-06/1.815, allocations: 0 / 1.871 GB, free: 9.684 MB / 1.373 GB Notification: Performance of Transformations before backend: time 0.0007697/1.815, allocations: 0 / 1.871 GB, free: 9.684 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: 1537 * Number of variables: 1537 Notification: Performance of Generate backend data structure: time 0.05655/1.872, allocations: 18.42 MB / 1.889 GB, free: 7.285 MB / 1.389 GB Notification: Performance of prepare preOptimizeDAE: time 5.059e-05/1.872, allocations: 8.031 kB / 1.889 GB, free: 7.277 MB / 1.389 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01933/1.891, allocations: 3.319 MB / 1.892 GB, free: 3.945 MB / 1.389 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04143/1.933, allocations: 18.1 MB / 1.91 GB, free: 2.125 MB / 1.404 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006745/1.934, allocations: 0.5235 MB / 1.91 GB, free: 1.598 MB / 1.404 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003868/1.937, allocations: 0.6914 MB / 1.911 GB, free: 0.9062 MB / 1.404 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03462/1.972, allocations: 14.84 MB / 1.925 GB, free: 1.863 MB / 1.42 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001957/1.972, allocations: 19.81 kB / 1.925 GB, free: 1.844 MB / 1.42 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002322/1.975, allocations: 244 kB / 1.926 GB, free: 1.605 MB / 1.42 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001516/1.975, allocations: 152 kB / 1.926 GB, free: 1.457 MB / 1.42 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0395/2.014, allocations: 19.93 MB / 1.945 GB, free: 13.52 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.1342/2.148, allocations: 72.72 MB / 2.016 GB, free: 1.57 MB / 1.514 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02192/2.17, allocations: 10.03 MB / 2.026 GB, free: 7.762 MB / 1.529 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01637/2.187, allocations: 8.24 MB / 2.034 GB, free: 15.51 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.06617/2.253, allocations: 30.46 MB / 2.064 GB, free: 0.7266 MB / 1.561 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01906/2.272, allocations: 9.495 MB / 2.073 GB, free: 7.195 MB / 1.576 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.03151/2.303, allocations: 8.357 MB / 2.081 GB, free: 15.02 MB / 1.592 GB Notification: Performance of pre-optimization done (n=399): time 2.421e-05/2.303, allocations: 0 / 2.081 GB, free: 15.02 MB / 1.592 GB Notification: Performance of matching and sorting (n=585): time 1.626/3.93, allocations: 202.2 MB / 2.279 GB, free: 0.613 GB / 1.686 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.283e-05/3.93, allocations: 118.5 kB / 2.279 GB, free: 0.6129 GB / 1.686 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02294/3.953, allocations: 15.51 MB / 2.294 GB, free: 0.5983 GB / 1.686 GB Notification: Performance of collectPreVariables (initialization): time 0.003105/3.956, allocations: 177.5 kB / 2.294 GB, free: 0.5982 GB / 1.686 GB Notification: Performance of collectInitialEqns (initialization): time 0.005808/3.962, allocations: 6.554 MB / 2.301 GB, free: 0.5929 GB / 1.686 GB Notification: Performance of collectInitialBindings (initialization): time 0.003815/3.966, allocations: 2.087 MB / 2.303 GB, free: 0.5922 GB / 1.686 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00605/3.972, allocations: 2.864 MB / 2.305 GB, free: 0.5895 GB / 1.686 GB Notification: Performance of setup shared object (initialization): time 3.695e-05/3.972, allocations: 305.1 kB / 2.306 GB, free: 0.5892 GB / 1.686 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01729/3.989, allocations: 11.44 MB / 2.317 GB, free: 0.578 GB / 1.686 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01994/4.009, allocations: 13.91 MB / 2.33 GB, free: 0.5635 GB / 1.686 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03782/4.047, allocations: 24.48 MB / 2.354 GB, free: 0.5389 GB / 1.686 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.134e-05/4.047, allocations: 12 kB / 2.354 GB, free: 0.5389 GB / 1.686 GB Notification: Performance of matching and sorting (n=1226) (initialization): time 0.6714/4.718, allocations: 128.7 MB / 2.48 GB, free: 423.6 MB / 1.686 GB Notification: Performance of prepare postOptimizeDAE: time 9.611e-05/4.718, allocations: 57.52 kB / 2.48 GB, free: 423.6 MB / 1.686 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.825e-05/4.718, allocations: 47.8 kB / 2.48 GB, free: 423.5 MB / 1.686 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.6996/5.418, allocations: 136.4 MB / 2.613 GB, free: 287.2 MB / 1.686 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01181/5.43, allocations: 2.176 MB / 2.615 GB, free: 285 MB / 1.686 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1773/5.607, allocations: 99.95 MB / 2.713 GB, free: 184.7 MB / 1.686 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01777/5.625, allocations: 0.9723 MB / 2.714 GB, free: 183.7 MB / 1.686 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003627/5.628, allocations: 0.7958 MB / 2.715 GB, free: 182.9 MB / 1.686 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.02524/5.654, allocations: 14.07 MB / 2.728 GB, free: 168.9 MB / 1.686 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01996/5.674, allocations: 13.4 MB / 2.742 GB, free: 154.5 MB / 1.686 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.03831/5.712, allocations: 23.47 MB / 2.764 GB, free: 130.4 MB / 1.686 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.365e-05/5.712, allocations: 12 kB / 2.764 GB, free: 130.4 MB / 1.686 GB Notification: Performance of matching and sorting (n=1226) (initialization_lambda0): time 1.343/7.055, allocations: 127.2 MB / 2.889 GB, free: 0.6113 GB / 1.686 GB Notification: Performance of prepare postOptimizeDAE: time 6.875e-05/7.055, allocations: 50.77 kB / 2.889 GB, free: 0.6113 GB / 1.686 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.756e-05/7.055, allocations: 46.34 kB / 2.889 GB, free: 0.6113 GB / 1.686 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.6939/7.749, allocations: 136 MB / 3.022 GB, free: 0.5419 GB / 1.686 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01039/7.76, allocations: 2.149 MB / 3.024 GB, free: 0.5399 GB / 1.686 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.181/7.941, allocations: 104.6 MB / 3.126 GB, free: 448.3 MB / 1.686 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01829/7.959, allocations: 1.022 MB / 3.127 GB, free: 447.3 MB / 1.686 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004293/7.963, allocations: 0.7668 MB / 3.128 GB, free: 446.5 MB / 1.686 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 203 * 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 (819): * Single equations (assignments): 801 * 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 {(34,41,81.4%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(5,80), (7,78)} Notification: Performance of prepare postOptimizeDAE: time 0.006065/7.969, allocations: 0.6309 MB / 3.128 GB, free: 445.9 MB / 1.686 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006501/7.976, allocations: 1.423 MB / 3.13 GB, free: 445.3 MB / 1.686 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.232/8.208, allocations: 52.63 MB / 3.181 GB, free: 393 MB / 1.686 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.2123/8.42, allocations: 46.92 MB / 3.227 GB, free: 346.2 MB / 1.686 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.623e-05/8.42, allocations: 0 / 3.227 GB, free: 346.2 MB / 1.686 GB Notification: Performance of postOpt removeConstants (simulation): time 0.009223/8.429, allocations: 2.921 MB / 3.23 GB, free: 344.1 MB / 1.686 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006161/8.436, allocations: 120 kB / 3.23 GB, free: 344 MB / 1.686 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01446/8.45, allocations: 0.7764 MB / 3.231 GB, free: 343.2 MB / 1.686 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.006154/8.456, allocations: 0.9408 MB / 3.231 GB, free: 342.3 MB / 1.686 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.06797/8.524, allocations: 24.06 MB / 3.255 GB, free: 318.5 MB / 1.686 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.05481/8.579, allocations: 26.49 MB / 3.281 GB, free: 292 MB / 1.686 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.01437/8.593, allocations: 7.583 MB / 3.288 GB, free: 284.3 MB / 1.686 GB Notification: Performance of sorting global known variables: time 0.01772/8.611, allocations: 10.58 MB / 3.299 GB, free: 273.8 MB / 1.686 GB Notification: Performance of Backend: time 7.82e-07/8.611, allocations: 4 kB / 3.299 GB, free: 273.8 MB / 1.686 GB Notification: Performance of simCode: created initialization part: time 0.09198/8.703, allocations: 33.06 MB / 3.331 GB, free: 240.9 MB / 1.686 GB Notification: Performance of SimCode: time 0.06694/8.77, allocations: 33.57 MB / 3.364 GB, free: 207.5 MB / 1.686 GB Notification: Performance of Templates: time 1.723/10.49, allocations: 478.5 MB / 3.831 GB, free: 413.9 MB / 1.686 GB make -j1 -f Buildings_11_Buildings.Fluid.Examples.FlowSystem.Simplified5.makefile (rm -f Buildings_11_Buildings.Fluid.Examples.FlowSystem.Simplified5.pipe ; mkfifo Buildings_11_Buildings.Fluid.Examples.FlowSystem.Simplified5.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Examples.FlowSystem.Simplified5.pipe >> ../files/Buildings_11_Buildings.Fluid.Examples.FlowSystem.Simplified5.sim & ./Buildings_11_Buildings.Fluid.Examples.FlowSystem.Simplified5 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Examples.FlowSystem.Simplified5.pipe 2>&1)