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.001102/0.001102, allocations: 116.1 kB / 16.42 MB, free: 6.504 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.00101/0.00101, allocations: 183.9 kB / 17.34 MB, free: 5.758 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.266/1.266, allocations: 222.9 MB / 241.1 MB, free: 15.14 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.362/2.362, allocations: 437.1 MB / 0.7112 GB, free: 4.359 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001413/0.001414, allocations: 59.91 kB / 1.019 GB, free: 9.23 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6839/0.6853, allocations: 151.6 MB / 1.167 GB, free: 3.816 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.FlowSystem.Simplified6): time 0.3199/1.005, allocations: 357.9 MB / 1.517 GB, free: 12.74 MB / 1.248 GB Notification: Performance of NFInst.instExpressions: time 0.7536/1.759, allocations: 75.84 MB / 1.591 GB, free: 61.89 MB / 1.279 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0132/1.772, allocations: 438.4 kB / 1.591 GB, free: 61.89 MB / 1.279 GB Notification: Performance of NFTyping.typeComponents: time 0.01368/1.786, allocations: 5.868 MB / 1.597 GB, free: 61.88 MB / 1.279 GB Notification: Performance of NFTyping.typeBindings: time 0.02856/1.814, allocations: 12.21 MB / 1.609 GB, free: 61.44 MB / 1.279 GB Notification: Performance of NFTyping.typeClassSections: time 0.01741/1.832, allocations: 8.318 MB / 1.617 GB, free: 61.16 MB / 1.279 GB Notification: Performance of NFFlatten.flatten: time 0.07808/1.91, allocations: 65.95 MB / 1.682 GB, free: 58.85 MB / 1.279 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01839/1.928, allocations: 16.32 MB / 1.698 GB, free: 47.55 MB / 1.279 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02535/1.954, allocations: 13.24 MB / 1.71 GB, free: 39 MB / 1.279 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01664/1.97, allocations: 10.37 MB / 1.721 GB, free: 30.95 MB / 1.279 GB Notification: Performance of NFPackage.collectConstants: time 0.004028/1.974, allocations: 1.141 MB / 1.722 GB, free: 29.81 MB / 1.279 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01384/1.988, allocations: 4.651 MB / 1.726 GB, free: 25.57 MB / 1.279 GB Notification: Performance of NFScalarize.scalarize: time 0.005913/1.994, allocations: 4.339 MB / 1.731 GB, free: 21.41 MB / 1.279 GB Notification: Performance of NFVerifyModel.verify: time 0.01469/2.009, allocations: 8.306 MB / 1.739 GB, free: 13.27 MB / 1.279 GB Notification: Performance of NFConvertDAE.convert: time 0.03076/2.04, allocations: 21.87 MB / 1.76 GB, free: 8.191 MB / 1.295 GB Notification: Performance of FrontEnd - DAE generated: time 8.937e-06/2.04, allocations: 4 kB / 1.76 GB, free: 8.188 MB / 1.295 GB Notification: Performance of FrontEnd: time 2.324e-06/2.04, allocations: 0 / 1.76 GB, free: 8.188 MB / 1.295 GB Notification: Performance of Transformations before backend: time 0.001044/2.041, allocations: 4 kB / 1.76 GB, free: 8.184 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.04441/2.085, allocations: 18.07 MB / 1.778 GB, free: 6.273 MB / 1.311 GB Notification: Performance of prepare preOptimizeDAE: time 4.349e-05/2.085, allocations: 8.922 kB / 1.778 GB, free: 6.266 MB / 1.311 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01532/2.1, allocations: 3.178 MB / 1.781 GB, free: 3.074 MB / 1.311 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03537/2.136, allocations: 17.04 MB / 1.797 GB, free: 2.336 MB / 1.326 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000642/2.137, allocations: 0.5157 MB / 1.798 GB, free: 1.816 MB / 1.326 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002676/2.139, allocations: 0.7021 MB / 1.799 GB, free: 1.117 MB / 1.326 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0224/2.162, allocations: 9.604 MB / 1.808 GB, free: 7.117 MB / 1.342 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002195/2.162, allocations: 19.81 kB / 1.808 GB, free: 7.098 MB / 1.342 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001529/2.163, allocations: 252 kB / 1.808 GB, free: 6.852 MB / 1.342 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000141/2.164, allocations: 156 kB / 1.808 GB, free: 6.699 MB / 1.342 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01866/2.182, allocations: 7.979 MB / 1.816 GB, free: 14.71 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.08304/2.265, allocations: 51.58 MB / 1.867 GB, free: 8.355 MB / 1.404 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01285/2.278, allocations: 6.026 MB / 1.872 GB, free: 2.59 MB / 1.404 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008005/2.286, allocations: 4.203 MB / 1.877 GB, free: 14.4 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.03381/2.32, allocations: 14.31 MB / 1.89 GB, free: 15.93 MB / 1.436 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007995/2.328, allocations: 4.206 MB / 1.895 GB, free: 11.69 MB / 1.436 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.007241/2.335, allocations: 1.143 MB / 1.896 GB, free: 10.57 MB / 1.436 GB Notification: Performance of pre-optimization done (n=332): time 1.591e-05/2.335, allocations: 0 / 1.896 GB, free: 10.57 MB / 1.436 GB Notification: Performance of matching and sorting (n=518): time 0.1968/2.532, allocations: 56.45 MB / 1.951 GB, free: 1.152 MB / 1.482 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.614e-05/2.532, allocations: 107.5 kB / 1.951 GB, free: 1.031 MB / 1.482 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03182/2.564, allocations: 15.75 MB / 1.966 GB, free: 1.367 MB / 1.498 GB Notification: Performance of collectPreVariables (initialization): time 0.001969/2.566, allocations: 169.7 kB / 1.966 GB, free: 1.195 MB / 1.498 GB Notification: Performance of collectInitialEqns (initialization): time 0.008388/2.575, allocations: 6.781 MB / 1.973 GB, free: 10.45 MB / 1.514 GB Notification: Performance of collectInitialBindings (initialization): time 0.002772/2.577, allocations: 1.853 MB / 1.975 GB, free: 8.617 MB / 1.514 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.006549/2.584, allocations: 2.214 MB / 1.977 GB, free: 6.391 MB / 1.514 GB Notification: Performance of setup shared object (initialization): time 8.244e-05/2.584, allocations: 301.1 kB / 1.977 GB, free: 6.094 MB / 1.514 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01513/2.599, allocations: 7.269 MB / 1.984 GB, free: 14.81 MB / 1.529 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.018/2.617, allocations: 10.09 MB / 1.994 GB, free: 3.602 MB / 1.529 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03157/2.649, allocations: 16.22 MB / 2.01 GB, free: 2.52 MB / 1.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.756e-05/2.649, allocations: 20 kB / 2.01 GB, free: 2.5 MB / 1.545 GB Notification: Performance of matching and sorting (n=1222) (initialization): time 0.05627/2.705, allocations: 22.26 MB / 2.032 GB, free: 12.17 MB / 1.576 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001119/2.705, allocations: 57.7 kB / 2.032 GB, free: 12.11 MB / 1.576 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000122/2.705, allocations: 60 kB / 2.032 GB, free: 12.05 MB / 1.576 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01718/2.723, allocations: 4.981 MB / 2.037 GB, free: 7.086 MB / 1.576 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01295/2.736, allocations: 2.305 MB / 2.039 GB, free: 4.777 MB / 1.576 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01804/2.754, allocations: 14.85 MB / 2.054 GB, free: 5.504 MB / 1.592 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01477/2.768, allocations: 0.9496 MB / 2.055 GB, free: 4.555 MB / 1.592 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002154/2.771, allocations: 0.5114 MB / 2.055 GB, free: 4.043 MB / 1.592 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.02233/2.793, allocations: 9.895 MB / 2.065 GB, free: 10.13 MB / 1.607 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01826/2.811, allocations: 9.565 MB / 2.074 GB, free: 15.44 MB / 1.623 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.03069/2.842, allocations: 15.19 MB / 2.089 GB, free: 15.37 MB / 1.639 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 0.0001172/2.842, allocations: 20 kB / 2.089 GB, free: 15.35 MB / 1.639 GB Notification: Performance of matching and sorting (n=1222) (initialization_lambda0): time 0.05291/2.895, allocations: 20.69 MB / 2.109 GB, free: 10.57 MB / 1.654 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001027/2.895, allocations: 61.64 kB / 2.109 GB, free: 10.5 MB / 1.654 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.761e-05/2.895, allocations: 60 kB / 2.109 GB, free: 10.44 MB / 1.654 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01421/2.91, allocations: 4.621 MB / 2.114 GB, free: 5.828 MB / 1.654 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01168/2.921, allocations: 2.282 MB / 2.116 GB, free: 3.543 MB / 1.654 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02713/2.948, allocations: 19.21 MB / 2.135 GB, free: 15.8 MB / 1.686 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0154/2.964, allocations: 0.9931 MB / 2.136 GB, free: 14.8 MB / 1.686 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002442/2.966, allocations: 495.7 kB / 2.136 GB, free: 14.32 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.003605/2.97, allocations: 0.6535 MB / 2.137 GB, free: 13.66 MB / 1.686 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00492/2.975, allocations: 1.428 MB / 2.138 GB, free: 12.22 MB / 1.686 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04565/3.021, allocations: 15.83 MB / 2.154 GB, free: 12.31 MB / 1.701 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.03375/3.054, allocations: 12.76 MB / 2.166 GB, free: 15.43 MB / 1.717 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.887e-05/3.054, allocations: 0 / 2.166 GB, free: 15.43 MB / 1.717 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007539/3.062, allocations: 2.509 MB / 2.169 GB, free: 12.89 MB / 1.717 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004037/3.066, allocations: 108 kB / 2.169 GB, free: 12.79 MB / 1.717 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01121/3.077, allocations: 0.7529 MB / 2.169 GB, free: 12.04 MB / 1.717 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00148/3.079, allocations: 0.5743 MB / 2.17 GB, free: 11.46 MB / 1.717 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 1.362/4.441, allocations: 13.92 MB / 2.184 GB, free: 0.7524 GB / 1.717 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.03886/4.48, allocations: 18.14 MB / 2.201 GB, free: 0.7484 GB / 1.717 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.01043/4.49, allocations: 5.207 MB / 2.206 GB, free: 0.7468 GB / 1.717 GB Notification: Performance of sorting global known variables: time 0.01566/4.506, allocations: 10.72 MB / 2.217 GB, free: 0.7434 GB / 1.717 GB Notification: Performance of Backend: time 1.422e-06/4.506, allocations: 0 / 2.217 GB, free: 0.7434 GB / 1.717 GB Notification: Performance of simCode: created initialization part: time 0.04839/4.554, allocations: 21.65 MB / 2.238 GB, free: 0.7368 GB / 1.717 GB Notification: Performance of SimCode: time 0.05446/4.609, allocations: 32.15 MB / 2.269 GB, free: 0.7085 GB / 1.717 GB Notification: Performance of Templates: time 0.3967/5.006, allocations: 337.3 MB / 2.599 GB, free: 391.6 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)