Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example2.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Performance.Example2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example2") translateModel(Buildings.Fluid.Examples.Performance.Example2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007298/0.0007298, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.0008232/0.0008234, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.444/1.444, allocations: 205.4 MB / 222.1 MB, free: 5.656 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.556/1.556, allocations: 252 MB / 0.5102 GB, free: 4.824 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0006007/0.0006009, allocations: 15.98 kB / 0.6243 GB, free: 1.129 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.555/0.5556, allocations: 106.3 MB / 0.7281 GB, free: 11.43 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example2): time 0.02501/0.5806, allocations: 27.28 MB / 0.7548 GB, free: 64 kB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01585/0.5965, allocations: 11.74 MB / 0.7662 GB, free: 4.309 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001131/0.5977, allocations: 39.75 kB / 0.7663 GB, free: 4.27 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001376/0.5991, allocations: 457.2 kB / 0.7667 GB, free: 3.82 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.002606/0.6017, allocations: 1.19 MB / 0.7679 GB, free: 2.625 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002587/0.6043, allocations: 1.05 MB / 0.7689 GB, free: 1.582 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.003968/0.6083, allocations: 4.277 MB / 0.7731 GB, free: 13.3 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0012/0.6095, allocations: 0.9883 MB / 0.774 GB, free: 12.28 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001685/0.6112, allocations: 1.214 MB / 0.7752 GB, free: 11.06 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001075/0.6123, allocations: 0.9879 MB / 0.7762 GB, free: 10.07 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001269/0.6124, allocations: 52 kB / 0.7762 GB, free: 10.02 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001603/0.614, allocations: 0.862 MB / 0.7771 GB, free: 9.156 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0003053/0.6144, allocations: 318.7 kB / 0.7774 GB, free: 8.844 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0002708/0.6146, allocations: 316.9 kB / 0.7777 GB, free: 8.527 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001583/0.6162, allocations: 1.785 MB / 0.7794 GB, free: 6.738 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.6162, allocations: 0 / 0.7794 GB, free: 6.738 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.773e-06/0.6162, allocations: 0 / 0.7794 GB, free: 6.738 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.402e-05/0.6163, allocations: 0 / 0.7794 GB, free: 6.738 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 188 * Number of variables: 188 Notification: Performance of Generate backend data structure: time 0.002521/0.6188, allocations: 1.721 MB / 0.7811 GB, free: 4.953 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.035e-05/0.6188, allocations: 12.03 kB / 0.7811 GB, free: 4.941 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008897/0.6197, allocations: 249.9 kB / 0.7813 GB, free: 4.695 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001932/0.6217, allocations: 1.261 MB / 0.7826 GB, free: 3.383 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.078e-05/0.6217, allocations: 70 kB / 0.7826 GB, free: 3.312 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001175/0.6219, allocations: 83.94 kB / 0.7827 GB, free: 3.23 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001618/0.6235, allocations: 1.023 MB / 0.7837 GB, free: 2.156 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.132e-05/0.6235, allocations: 3.938 kB / 0.7837 GB, free: 2.152 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.869e-05/0.6236, allocations: 35.98 kB / 0.7838 GB, free: 2.117 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.599e-05/0.6236, allocations: 23.94 kB / 0.7838 GB, free: 2.094 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001508/0.6251, allocations: 0.7884 MB / 0.7846 GB, free: 1.301 MB / 0.5919 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.00511/0.6303, allocations: 5.129 MB / 0.7896 GB, free: 11.82 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001285/0.6316, allocations: 0.6558 MB / 0.7902 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006612/0.6322, allocations: 357.3 kB / 0.7905 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002022/0.6343, allocations: 1.674 MB / 0.7922 GB, free: 8.98 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007218/0.635, allocations: 382.9 kB / 0.7925 GB, free: 8.594 MB / 0.6075 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0002939/0.6353, allocations: 103.4 kB / 0.7926 GB, free: 8.492 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=44): time 1.983e-06/0.6353, allocations: 4 kB / 0.7926 GB, free: 8.488 MB / 0.6075 GB Notification: Performance of matching and sorting (n=44): time 0.003387/0.6387, allocations: 1.376 MB / 0.794 GB, free: 7.082 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.3e-05/0.6388, allocations: 55.41 kB / 0.794 GB, free: 7.016 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001481/0.6403, allocations: 1.309 MB / 0.7953 GB, free: 5.691 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 5.528e-05/0.6403, allocations: 41.69 kB / 0.7954 GB, free: 5.645 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005212/0.6409, allocations: 0.641 MB / 0.796 GB, free: 4.996 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001215/0.641, allocations: 149.8 kB / 0.7961 GB, free: 4.848 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.033e-05/0.641, allocations: 20 kB / 0.7961 GB, free: 4.828 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.000105/0.6411, allocations: 334 kB / 0.7965 GB, free: 4.496 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005881/0.6417, allocations: 269.8 kB / 0.7967 GB, free: 4.234 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000813/0.6426, allocations: 0.6247 MB / 0.7973 GB, free: 3.449 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006811/0.6433, allocations: 378.2 kB / 0.7977 GB, free: 3.074 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.609e-06/0.6433, allocations: 0 / 0.7977 GB, free: 3.074 MB / 0.6075 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.002253/0.6455, allocations: 1.152 MB / 0.7988 GB, free: 1.906 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002191/0.6458, allocations: 343.5 kB / 0.7991 GB, free: 1.457 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.309e-05/0.6458, allocations: 8 kB / 0.7992 GB, free: 1.449 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007779/0.6466, allocations: 224.6 kB / 0.7994 GB, free: 1.227 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005558/0.6471, allocations: 155.7 kB / 0.7995 GB, free: 1.074 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008175/0.648, allocations: 0.8643 MB / 0.8004 GB, free: 188 kB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008285/0.6488, allocations: 96.47 kB / 0.8005 GB, free: 92 kB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.765e-05/0.6489, allocations: 39.98 kB / 0.8005 GB, free: 52 kB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 8.336e-06/0.6489, allocations: 6.031 kB / 0.8005 GB, free: 48 kB / 0.6075 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001506/0.6504, allocations: 0.8674 MB / 0.8013 GB, free: 15.17 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.167e-06/0.6504, allocations: 8 kB / 0.8014 GB, free: 15.16 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003301/0.6508, allocations: 149.2 kB / 0.8015 GB, free: 15.01 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004416/0.6512, allocations: 139.7 kB / 0.8016 GB, free: 14.88 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002293/0.6535, allocations: 2.346 MB / 0.8039 GB, free: 12.38 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007243/0.6543, allocations: 84.59 kB / 0.804 GB, free: 12.3 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.189e-05/0.6543, allocations: 39.98 kB / 0.804 GB, free: 12.26 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,nRes.y,from_dp.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (72): * Single equations (assignments): 69 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {5 7} Notification: Performance of prepare postOptimizeDAE: time 0.0006092/0.655, allocations: 476.7 kB / 0.8045 GB, free: 11.78 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001378/0.6551, allocations: 126.4 kB / 0.8046 GB, free: 11.66 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001878/0.657, allocations: 0.9505 MB / 0.8055 GB, free: 10.7 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.357e-06/0.657, allocations: 4 kB / 0.8055 GB, free: 10.69 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.593e-06/0.657, allocations: 0 / 0.8055 GB, free: 10.69 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001441/0.6585, allocations: 0.9467 MB / 0.8065 GB, free: 9.676 MB / 0.6231 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 postOpt removeSimpleEquations (simulation): time 0.002933/0.6614, allocations: 1.978 MB / 0.8084 GB, free: 7.613 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.51e-06/0.6614, allocations: 7.938 kB / 0.8084 GB, free: 7.605 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003997/0.6618, allocations: 83.92 kB / 0.8085 GB, free: 7.523 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003014/0.6621, allocations: 160.6 kB / 0.8086 GB, free: 7.363 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.591e-05/0.6622, allocations: 15.95 kB / 0.8087 GB, free: 7.348 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006198/0.6628, allocations: 0.8098 MB / 0.8094 GB, free: 6.512 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.6628, allocations: 3.984 kB / 0.8095 GB, free: 6.508 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002186/0.665, allocations: 1.311 MB / 0.8107 GB, free: 5.168 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003573/0.6654, allocations: 283.4 kB / 0.811 GB, free: 4.871 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001264/0.6655, allocations: 20 kB / 0.811 GB, free: 4.852 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006566/0.6662, allocations: 83.77 kB / 0.8111 GB, free: 4.77 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.838e-05/0.6663, allocations: 36.38 kB / 0.8111 GB, free: 4.734 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.754e-05/0.6663, allocations: 23.98 kB / 0.8112 GB, free: 4.711 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.001072/0.6674, allocations: 0.901 MB / 0.812 GB, free: 3.809 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.71e-07/0.6674, allocations: 4 kB / 0.812 GB, free: 3.805 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001755/0.6692, allocations: 0.6785 MB / 0.8127 GB, free: 3.125 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (pump_dp.vol.dynBal.U) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {5 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007251/0.6699, allocations: 344.9 kB / 0.813 GB, free: 2.781 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.002756/0.6727, allocations: 1.428 MB / 0.8144 GB, free: 1.32 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.6727, allocations: 0 / 0.8144 GB, free: 1.32 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.000765/0.6735, allocations: 355.3 kB / 0.8148 GB, free: 0.9766 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002215/0.6757, allocations: 0.5951 MB / 0.8153 GB, free: 400 kB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003484/0.6792, allocations: 2.709 MB / 0.818 GB, free: 13.64 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000735/0.68, allocations: 1.267 MB / 0.8192 GB, free: 12.35 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001034/0.681, allocations: 302.5 kB / 0.8195 GB, free: 12.05 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002264/0.6812, allocations: 111.3 kB / 0.8196 GB, free: 11.94 MB / 0.6387 GB Notification: Performance of SimCode: time 1.473e-06/0.6812, allocations: 0 / 0.8196 GB, free: 11.94 MB / 0.6387 GB Notification: Performance of Templates: time 0.03938/0.7206, allocations: 25.18 MB / 0.8442 GB, free: 3.102 MB / 0.6544 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example2.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example2.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example2.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example2.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example2.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example2.pipe 2>&1) Environment - environmentSimulation: