Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.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 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.PressureDrop.SeriesFlowOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised") translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001116/0.001116, allocations: 99.28 kB / 16.27 MB, free: 6 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.001072/0.001072, allocations: 189.3 kB / 17.2 MB, free: 5.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.321/1.321, allocations: 205.1 MB / 223.1 MB, free: 12.3 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.795/1.795, allocations: 292.3 MB / 0.5495 GB, free: 17.48 MB / 462.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.001454/0.001454, allocations: 67.89 kB / 0.6722 GB, free: 6.523 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2222/0.2237, allocations: 114.6 MB / 0.784 GB, free: 3.852 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised): time 0.594/0.8178, allocations: 161.6 MB / 0.9419 GB, free: 8.934 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.003628/0.8214, allocations: 1.749 MB / 0.9436 GB, free: 7.184 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007331/0.8222, allocations: 11.94 kB / 0.9436 GB, free: 7.172 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0008607/0.8231, allocations: 158.9 kB / 0.9437 GB, free: 7.016 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.001934/0.8251, allocations: 0.525 MB / 0.9442 GB, free: 6.488 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.001378/0.8265, allocations: 400.2 kB / 0.9446 GB, free: 6.102 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.00275/0.8293, allocations: 2.505 MB / 0.9471 GB, free: 3.59 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00146/0.8308, allocations: 0.9333 MB / 0.948 GB, free: 2.652 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002149/0.8329, allocations: 1.025 MB / 0.949 GB, free: 1.625 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001397/0.8343, allocations: 0.704 MB / 0.9497 GB, free: 0.918 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0002631/0.8346, allocations: 56 kB / 0.9497 GB, free: 0.8633 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001849/0.8365, allocations: 0.7445 MB / 0.9504 GB, free: 120 kB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0005127/0.837, allocations: 311 kB / 0.9507 GB, free: 15.81 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.001255/0.8383, allocations: 0.5401 MB / 0.9513 GB, free: 15.27 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.002373/0.8407, allocations: 1.386 MB / 0.9526 GB, free: 13.88 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 5.66e-06/0.8407, allocations: 0 / 0.9526 GB, free: 13.88 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.483e-06/0.8407, allocations: 0 / 0.9526 GB, free: 13.88 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 5.605e-05/0.8407, allocations: 0 / 0.9526 GB, free: 13.88 MB / 0.7481 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.003241/0.844, allocations: 1.452 MB / 0.954 GB, free: 12.37 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.461e-05/0.844, allocations: 8.031 kB / 0.9541 GB, free: 12.36 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009546/0.845, allocations: 186.5 kB / 0.9542 GB, free: 12.18 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001487/0.8465, allocations: 0.8042 MB / 0.955 GB, free: 11.32 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.452e-05/0.8466, allocations: 49 kB / 0.9551 GB, free: 11.27 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.564e-05/0.8467, allocations: 56 kB / 0.9551 GB, free: 11.21 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001277/0.848, allocations: 0.7888 MB / 0.9559 GB, free: 10.35 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.102e-05/0.848, allocations: 7.938 kB / 0.9559 GB, free: 10.34 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.93e-05/0.8481, allocations: 20 kB / 0.9559 GB, free: 10.32 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.493e-05/0.8481, allocations: 23.94 kB / 0.9559 GB, free: 10.3 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009606/0.849, allocations: 0.5305 MB / 0.9565 GB, free: 9.766 MB / 0.7481 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.004447/0.8535, allocations: 4.602 MB / 0.9609 GB, free: 4.781 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007269/0.8542, allocations: 414.3 kB / 0.9613 GB, free: 4.367 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000377/0.8546, allocations: 244.6 kB / 0.9616 GB, free: 4.125 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003136/0.855, allocations: 198.2 kB / 0.9618 GB, free: 3.895 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004822/0.8555, allocations: 291.2 kB / 0.962 GB, free: 3.594 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=31): time 2.615e-06/0.8555, allocations: 0 / 0.962 GB, free: 3.594 MB / 0.7481 GB Notification: Performance of matching and sorting (n=31): time 0.001407/0.8569, allocations: 0.6406 MB / 0.9627 GB, free: 2.949 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.076e-05/0.857, allocations: 81.11 kB / 0.9627 GB, free: 2.852 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001411/0.8584, allocations: 1.114 MB / 0.9638 GB, free: 1.719 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 4.859e-05/0.8584, allocations: 33.7 kB / 0.9639 GB, free: 1.68 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003917/0.8588, allocations: 496.1 kB / 0.9643 GB, free: 1.191 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 9.196e-05/0.8589, allocations: 110.5 kB / 0.9644 GB, free: 1.082 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001683/0.8591, allocations: 111.3 kB / 0.9645 GB, free: 0.9688 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001057/0.8592, allocations: 333.9 kB / 0.9649 GB, free: 0.6367 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003807/0.8596, allocations: 214.4 kB / 0.9651 GB, free: 436 kB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006032/0.8602, allocations: 0.5213 MB / 0.9656 GB, free: 15.77 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008833/0.8611, allocations: 0.6275 MB / 0.9662 GB, free: 15.07 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.486e-06/0.8611, allocations: 4 kB / 0.9662 GB, free: 15.06 MB / 0.7637 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001245/0.8624, allocations: 0.7294 MB / 0.9669 GB, free: 14.32 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 4.75e-05/0.8624, allocations: 34.36 kB / 0.9669 GB, free: 14.28 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.144e-05/0.8625, allocations: 4 kB / 0.9669 GB, free: 14.28 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.498e-05/0.8625, allocations: 12 kB / 0.967 GB, free: 14.27 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004305/0.8629, allocations: 111.8 kB / 0.9671 GB, free: 14.16 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.574e-05/0.863, allocations: 8 kB / 0.9671 GB, free: 14.15 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007226/0.8637, allocations: 71.48 kB / 0.9671 GB, free: 14.08 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.622e-05/0.8638, allocations: 24 kB / 0.9672 GB, free: 14.05 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000683/0.8645, allocations: 0.5044 MB / 0.9677 GB, free: 13.54 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005129/0.865, allocations: 497.9 kB / 0.9681 GB, free: 12.93 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007301/0.8657, allocations: 0.5552 MB / 0.9687 GB, free: 12.3 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.316e-06/0.8657, allocations: 0 / 0.9687 GB, free: 12.3 MB / 0.7637 GB Notification: Performance of matching and sorting (n=54) (initialization_lambda0): time 0.001071/0.8668, allocations: 0.6459 MB / 0.9693 GB, free: 11.64 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 3.915e-05/0.8669, allocations: 33.7 kB / 0.9693 GB, free: 11.6 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.595e-06/0.8669, allocations: 4 kB / 0.9693 GB, free: 11.59 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.077e-05/0.8669, allocations: 8.656 kB / 0.9693 GB, free: 11.59 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003574/0.8673, allocations: 107.8 kB / 0.9695 GB, free: 11.48 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.193e-05/0.8673, allocations: 11.98 kB / 0.9695 GB, free: 11.47 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000672/0.868, allocations: 64.03 kB / 0.9695 GB, free: 11.41 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.917e-05/0.868, allocations: 20 kB / 0.9695 GB, free: 11.39 MB / 0.7637 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 5 (pulse_p.count,$PRE.pulse_p.count,pulse_p.T_start,$PRE.pulse_p.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (53): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002078/0.8682, allocations: 225.1 kB / 0.9698 GB, free: 11.16 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001522/0.8684, allocations: 102.8 kB / 0.9699 GB, free: 11.06 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008902/0.8693, allocations: 493 kB / 0.9703 GB, free: 10.57 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.532e-06/0.8693, allocations: 4 kB / 0.9703 GB, free: 10.57 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.803e-06/0.8693, allocations: 1.969 kB / 0.9703 GB, free: 10.57 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.803e-06/0.8693, allocations: 3.984 kB / 0.9703 GB, free: 10.57 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001989/0.8713, allocations: 1.379 MB / 0.9717 GB, free: 9.109 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.546e-06/0.8713, allocations: 6.281 kB / 0.9717 GB, free: 9.105 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000249/0.8716, allocations: 71.83 kB / 0.9718 GB, free: 9.035 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.175e-06/0.8716, allocations: 4 kB / 0.9718 GB, free: 9.031 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.433e-05/0.8716, allocations: 7.984 kB / 0.9718 GB, free: 9.023 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.707e-06/0.8717, allocations: 4 kB / 0.9718 GB, free: 9.02 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.769e-06/0.8717, allocations: 4 kB / 0.9718 GB, free: 9.016 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000819/0.8725, allocations: 0.6028 MB / 0.9724 GB, free: 8.375 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003139/0.8728, allocations: 215.7 kB / 0.9726 GB, free: 8.145 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001378/0.873, allocations: 8 kB / 0.9726 GB, free: 8.137 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004098/0.8734, allocations: 31.91 kB / 0.9726 GB, free: 8.105 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.042e-05/0.8735, allocations: 31.91 kB / 0.9726 GB, free: 8.074 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.25e-05/0.8735, allocations: 8.141 kB / 0.9726 GB, free: 8.066 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.0009956/0.8745, allocations: 0.7953 MB / 0.9734 GB, free: 7.262 MB / 0.7637 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8745, allocations: 0 / 0.9734 GB, free: 7.262 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.001185/0.8757, allocations: 399.5 kB / 0.9738 GB, free: 6.871 MB / 0.7637 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,pulse_p.T_start,pulse_p.count) * Number of discrete states: 1 (pulse_p.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (31): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004593/0.8762, allocations: 178.9 kB / 0.974 GB, free: 6.699 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.001447/0.8776, allocations: 0.8537 MB / 0.9748 GB, free: 5.824 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 5.741e-06/0.8777, allocations: 4 kB / 0.9748 GB, free: 5.82 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.0003464/0.878, allocations: 196.8 kB / 0.975 GB, free: 5.629 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001969/0.88, allocations: 460.2 kB / 0.9754 GB, free: 5.234 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002975/0.883, allocations: 1.806 MB / 0.9772 GB, free: 3.367 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007956/0.8838, allocations: 1.18 MB / 0.9784 GB, free: 2.156 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002091/0.884, allocations: 75.42 kB / 0.9784 GB, free: 2.082 MB / 0.7637 GB Notification: Performance of SimCode: time 6.31e-07/0.884, allocations: 0 / 0.9784 GB, free: 2.082 MB / 0.7637 GB Notification: Performance of Templates: time 0.02481/0.9088, allocations: 15.84 MB / 0.9939 GB, free: 2.465 MB / 0.7794 GB make -j1 -f Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.makefile (rm -f Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe ; mkfifo Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe >> ../files/Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.sim & ./Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe 2>&1)