Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.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(BuildingSystems.Fluid.Examples.FlowSystem.Simplified6,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Examples.FlowSystem.Simplified6") translateModel(BuildingSystems.Fluid.Examples.FlowSystem.Simplified6,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.00106/0.00106, allocations: 115.1 kB / 16.42 MB, free: 6.496 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.0009979/0.0009979, allocations: 187.9 kB / 17.35 MB, free: 5.727 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.295/1.295, allocations: 222.9 MB / 241 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002135/0.002135, allocations: 286.7 kB / 291.5 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9253/0.9253, allocations: 169.2 MB / 0.499 GB, free: 4.426 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00177/0.00177, allocations: 88.28 kB / 0.6823 GB, free: 6.793 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4039/0.4057, allocations: 86.97 MB / 0.7672 GB, free: 3.875 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Examples.FlowSystem.Simplified6): time 0.6497/1.055, allocations: 357.8 MB / 1.117 GB, free: 11.96 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.1039/1.159, allocations: 75.88 MB / 1.191 GB, free: 15.92 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01387/1.173, allocations: 437.5 kB / 1.191 GB, free: 15.49 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.01539/1.189, allocations: 5.877 MB / 1.197 GB, free: 9.582 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.03039/1.219, allocations: 12.2 MB / 1.209 GB, free: 13.34 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.01885/1.238, allocations: 8.307 MB / 1.217 GB, free: 5.086 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.08432/1.322, allocations: 65.97 MB / 1.281 GB, free: 2.984 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02191/1.344, allocations: 16.31 MB / 1.297 GB, free: 2.535 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02527/1.369, allocations: 13.24 MB / 1.31 GB, free: 5.266 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.4769/1.846, allocations: 10.34 MB / 1.32 GB, free: 71.95 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.005131/1.852, allocations: 1.145 MB / 1.321 GB, free: 71.95 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01628/1.868, allocations: 4.642 MB / 1.326 GB, free: 71.95 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.007167/1.875, allocations: 4.343 MB / 1.33 GB, free: 71.95 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.01551/1.891, allocations: 8.308 MB / 1.338 GB, free: 71.03 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.02778/1.918, allocations: 21.78 MB / 1.36 GB, free: 68.26 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.069e-06/1.918, allocations: 1.75 kB / 1.36 GB, free: 68.26 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.373e-06/1.918, allocations: 3.062 kB / 1.36 GB, free: 68.26 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 0.0006564/1.919, allocations: 0 / 1.36 GB, free: 68.26 MB / 0.9356 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.04286/1.962, allocations: 17.53 MB / 1.377 GB, free: 60.89 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.103e-05/1.962, allocations: 11.73 kB / 1.377 GB, free: 60.89 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01571/1.978, allocations: 3.093 MB / 1.38 GB, free: 60.01 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03123/2.009, allocations: 16.91 MB / 1.396 GB, free: 57.47 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004361/2.009, allocations: 0.5236 MB / 1.397 GB, free: 57.45 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00199/2.011, allocations: 0.6897 MB / 1.397 GB, free: 57.45 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01617/2.028, allocations: 9.611 MB / 1.407 GB, free: 56.32 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001139/2.028, allocations: 20.34 kB / 1.407 GB, free: 56.32 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007734/2.029, allocations: 255.3 kB / 1.407 GB, free: 56.32 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.94e-05/2.029, allocations: 152.3 kB / 1.407 GB, free: 56.32 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01575/2.044, allocations: 7.98 MB / 1.415 GB, free: 56.27 MB / 0.9356 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.06669/2.111, allocations: 51.5 MB / 1.465 GB, free: 24.62 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01107/2.122, allocations: 6.036 MB / 1.471 GB, free: 23.6 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006917/2.129, allocations: 4.199 MB / 1.475 GB, free: 22.92 MB / 0.9356 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.03211/2.161, allocations: 14.3 MB / 1.489 GB, free: 12.36 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00735/2.169, allocations: 4.2 MB / 1.493 GB, free: 9.336 MB / 0.9356 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.007336/2.176, allocations: 1.128 MB / 1.495 GB, free: 8.375 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=332): time 1.589e-05/2.176, allocations: 3.984 kB / 1.495 GB, free: 8.371 MB / 0.9356 GB Notification: Performance of matching and sorting (n=518): time 0.1896/2.366, allocations: 56.24 MB / 1.549 GB, free: 15.88 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.629e-05/2.366, allocations: 108 kB / 1.55 GB, free: 15.77 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02714/2.393, allocations: 15.74 MB / 1.565 GB, free: 112 kB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.001877/2.395, allocations: 166.7 kB / 1.565 GB, free: 15.94 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.008067/2.403, allocations: 6.702 MB / 1.572 GB, free: 9.258 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.002661/2.406, allocations: 1.767 MB / 1.573 GB, free: 7.504 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004324/2.41, allocations: 2.201 MB / 1.575 GB, free: 5.289 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 8.552e-05/2.41, allocations: 305.1 kB / 1.576 GB, free: 4.988 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01486/2.425, allocations: 7.271 MB / 1.583 GB, free: 13.7 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01843/2.443, allocations: 10.09 MB / 1.593 GB, free: 2.523 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03169/2.475, allocations: 16.22 MB / 1.609 GB, free: 1.672 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.736e-05/2.475, allocations: 22.19 kB / 1.609 GB, free: 1.652 MB / 1.045 GB Notification: Performance of matching and sorting (n=1222) (initialization): time 0.05627/2.531, allocations: 22.2 MB / 1.63 GB, free: 11.82 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 9.805e-05/2.532, allocations: 57.7 kB / 1.63 GB, free: 11.76 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.324e-05/2.532, allocations: 60 kB / 1.63 GB, free: 11.7 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01723/2.549, allocations: 4.989 MB / 1.635 GB, free: 6.73 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01341/2.562, allocations: 2.289 MB / 1.637 GB, free: 4.543 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01912/2.582, allocations: 14.85 MB / 1.652 GB, free: 5.305 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01551/2.597, allocations: 0.9512 MB / 1.653 GB, free: 4.355 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002485/2.6, allocations: 0.5153 MB / 1.653 GB, free: 3.84 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0227/2.622, allocations: 9.886 MB / 1.663 GB, free: 9.938 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01843/2.641, allocations: 9.573 MB / 1.672 GB, free: 15.27 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.03131/2.672, allocations: 15.19 MB / 1.687 GB, free: 15.43 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.841e-05/2.672, allocations: 16 kB / 1.687 GB, free: 15.41 MB / 1.139 GB Notification: Performance of matching and sorting (n=1222) (initialization_lambda0): time 0.05219/2.724, allocations: 20.61 MB / 1.707 GB, free: 11.14 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001025/2.725, allocations: 61.7 kB / 1.707 GB, free: 11.07 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.574e-05/2.725, allocations: 60 kB / 1.708 GB, free: 11.01 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01412/2.739, allocations: 4.624 MB / 1.712 GB, free: 6.379 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01211/2.751, allocations: 2.285 MB / 1.714 GB, free: 4.199 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3927/3.144, allocations: 19.17 MB / 1.733 GB, free: 0.5341 GB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01525/3.159, allocations: 0.9977 MB / 1.734 GB, free: 0.5341 GB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001889/3.161, allocations: 496.8 kB / 1.734 GB, free: 0.5341 GB / 1.154 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.001966/3.163, allocations: 0.6602 MB / 1.735 GB, free: 0.5339 GB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003636/3.166, allocations: 1.353 MB / 1.736 GB, free: 0.5339 GB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03666/3.203, allocations: 15.84 MB / 1.752 GB, free: 0.5313 GB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.03059/3.234, allocations: 12.77 MB / 1.764 GB, free: 0.5273 GB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.624e-05/3.234, allocations: 0 / 1.764 GB, free: 0.5273 GB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007154/3.241, allocations: 2.437 MB / 1.767 GB, free: 0.5267 GB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004543/3.245, allocations: 99.75 kB / 1.767 GB, free: 0.5267 GB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.012/3.257, allocations: 0.7645 MB / 1.768 GB, free: 0.5266 GB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001567/3.259, allocations: 0.5759 MB / 1.768 GB, free: 0.5265 GB / 1.154 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.03739/3.296, allocations: 13.91 MB / 1.782 GB, free: 0.523 GB / 1.154 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.03964/3.336, allocations: 18.05 MB / 1.799 GB, free: 0.5175 GB / 1.154 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.01061/3.347, allocations: 5.211 MB / 1.804 GB, free: 0.5138 GB / 1.154 GB Notification: Performance of sorting global known variables: time 0.01803/3.365, allocations: 10.72 MB / 1.815 GB, free: 0.5041 GB / 1.154 GB Notification: Performance of Backend: time 9.51e-07/3.365, allocations: 1.531 kB / 1.815 GB, free: 0.5041 GB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.05183/3.417, allocations: 21.63 MB / 1.836 GB, free: 495.1 MB / 1.154 GB Notification: Performance of SimCode: time 0.05937/3.476, allocations: 31.66 MB / 1.867 GB, free: 463.7 MB / 1.154 GB Notification: Performance of Templates: time 0.3999/3.876, allocations: 337.4 MB / 2.196 GB, free: 128.7 MB / 1.154 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Examples.FlowSystem.Simplified6.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Examples.FlowSystem.Simplified6.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Examples.FlowSystem.Simplified6.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Examples.FlowSystem.Simplified6.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Examples.FlowSystem.Simplified6.sim & ./BuildingSystems_BuildingSystems.Fluid.Examples.FlowSystem.Simplified6 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Examples.FlowSystem.Simplified6.pipe 2>&1)