Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.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.Performance.PressureDrop.SeriesDpOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised") translateModel(BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007954/0.0007954, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.005016/0.005016, allocations: 171.1 kB / 16.26 MB, free: 6.676 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.297/1.297, allocations: 223.3 MB / 240.3 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001672/0.001672, allocations: 263.2 kB / 291.7 MB, free: 1.895 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9422/0.9422, allocations: 169.5 MB / 0.5004 GB, free: 14.1 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004094/0.0004094, allocations: 20.39 kB / 0.5987 GB, free: 28.05 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1514/0.1518, allocations: 88.54 MB / 0.6851 GB, free: 15.08 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised): time 0.4632/0.6151, allocations: 157.3 MB / 0.8387 GB, free: 7.867 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.004994/0.6201, allocations: 3.597 MB / 0.8422 GB, free: 4.98 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004452/0.6206, allocations: 14.47 kB / 0.8422 GB, free: 4.973 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0006107/0.6212, allocations: 137.1 kB / 0.8424 GB, free: 4.859 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001488/0.6227, allocations: 0.4952 MB / 0.8429 GB, free: 4.488 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001246/0.624, allocations: 385.2 kB / 0.8432 GB, free: 4.234 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.003082/0.6271, allocations: 3.492 MB / 0.8466 GB, free: 2.363 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009915/0.6281, allocations: 0.7534 MB / 0.8474 GB, free: 1.945 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001511/0.6296, allocations: 0.9007 MB / 0.8483 GB, free: 1.473 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007455/0.6304, allocations: 0.7253 MB / 0.849 GB, free: 1.066 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 7.173e-05/0.6305, allocations: 33.06 kB / 0.849 GB, free: 1.066 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001411/0.6319, allocations: 0.7967 MB / 0.8498 GB, free: 0.6133 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002786/0.6322, allocations: 276.4 kB / 0.85 GB, free: 444 kB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0006602/0.6328, allocations: 0.5334 MB / 0.8506 GB, free: 100 kB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001419/0.6343, allocations: 1.372 MB / 0.8519 GB, free: 15.27 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.6343, allocations: 4 kB / 0.8519 GB, free: 15.27 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.703e-06/0.6343, allocations: 0 / 0.8519 GB, free: 15.27 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.361e-05/0.6343, allocations: 0 / 0.8519 GB, free: 15.27 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 125 * Number of variables: 125 Notification: Performance of Generate backend data structure: time 0.001829/0.6361, allocations: 1.259 MB / 0.8531 GB, free: 14.27 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.518e-05/0.6362, allocations: 12.7 kB / 0.8531 GB, free: 14.27 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007056/0.6369, allocations: 189.5 kB / 0.8533 GB, free: 14.18 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001047/0.638, allocations: 0.801 MB / 0.8541 GB, free: 13.58 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.552e-05/0.638, allocations: 41.78 kB / 0.8541 GB, free: 13.57 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.647e-05/0.6381, allocations: 61.58 kB / 0.8542 GB, free: 13.55 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001057/0.6392, allocations: 0.7995 MB / 0.855 GB, free: 12.98 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.578e-05/0.6392, allocations: 3.938 kB / 0.855 GB, free: 12.97 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.158e-05/0.6392, allocations: 24.25 kB / 0.855 GB, free: 12.96 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.185e-05/0.6393, allocations: 18.16 kB / 0.855 GB, free: 12.95 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008395/0.6401, allocations: 0.5408 MB / 0.8556 GB, free: 12.7 MB / 0.5762 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.003662/0.6438, allocations: 4.598 MB / 0.86 GB, free: 8.383 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006555/0.6444, allocations: 428.8 kB / 0.8605 GB, free: 8.172 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003772/0.6448, allocations: 260.3 kB / 0.8607 GB, free: 8.047 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002624/0.6451, allocations: 190.9 kB / 0.8609 GB, free: 7.848 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000463/0.6456, allocations: 300.4 kB / 0.8612 GB, free: 7.656 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=31): time 1.923e-06/0.6456, allocations: 0 / 0.8612 GB, free: 7.656 MB / 0.5762 GB Notification: Performance of matching and sorting (n=31): time 0.003748/0.6493, allocations: 1.353 MB / 0.8625 GB, free: 6.914 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.571e-05/0.6494, allocations: 84.05 kB / 0.8626 GB, free: 6.816 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001236/0.6507, allocations: 1.111 MB / 0.8637 GB, free: 6.227 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 4.721e-05/0.6507, allocations: 39.86 kB / 0.8637 GB, free: 6.188 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003862/0.6511, allocations: 491.8 kB / 0.8642 GB, free: 5.77 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 9.058e-05/0.6512, allocations: 108.3 kB / 0.8643 GB, free: 5.676 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.017e-05/0.6513, allocations: 43.52 kB / 0.8643 GB, free: 5.641 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 9.686e-05/0.6514, allocations: 323.4 kB / 0.8646 GB, free: 5.324 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003482/0.6517, allocations: 221.3 kB / 0.8648 GB, free: 5.219 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005629/0.6523, allocations: 0.5226 MB / 0.8653 GB, free: 4.723 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008752/0.6532, allocations: 0.645 MB / 0.866 GB, free: 4.25 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/0.6532, allocations: 0 / 0.866 GB, free: 4.25 MB / 0.5762 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.00212/0.6553, allocations: 1.056 MB / 0.867 GB, free: 3.672 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001726/0.6555, allocations: 277 kB / 0.8673 GB, free: 3.332 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.097e-06/0.6555, allocations: 5.75 kB / 0.8673 GB, free: 3.332 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001339/0.6569, allocations: 362.6 kB / 0.8676 GB, free: 3.164 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002085/0.6571, allocations: 62.22 kB / 0.8677 GB, free: 3.148 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008889/0.658, allocations: 1.016 MB / 0.8687 GB, free: 2.367 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007185/0.6587, allocations: 95.44 kB / 0.8688 GB, free: 2.316 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.968e-05/0.6588, allocations: 27.27 kB / 0.8688 GB, free: 2.309 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 7.394e-06/0.6588, allocations: 5.656 kB / 0.8688 GB, free: 2.309 MB / 0.5762 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001279/0.6601, allocations: 0.7293 MB / 0.8695 GB, free: 1.922 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.252e-06/0.6601, allocations: 5.844 kB / 0.8695 GB, free: 1.922 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004647/0.6606, allocations: 203.4 kB / 0.8697 GB, free: 1.832 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002039/0.6608, allocations: 73.03 kB / 0.8698 GB, free: 1.809 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003414/0.6642, allocations: 3.071 MB / 0.8728 GB, free: 14.6 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007386/0.665, allocations: 100.6 kB / 0.8729 GB, free: 14.5 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.553e-05/0.665, allocations: 28.05 kB / 0.8729 GB, free: 14.47 MB / 0.5919 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 (34): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,19)} Notification: Performance of prepare postOptimizeDAE: time 0.000543/0.6656, allocations: 464.5 kB / 0.8733 GB, free: 14.01 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001189/0.6657, allocations: 103 kB / 0.8734 GB, free: 13.91 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001261/0.667, allocations: 0.7333 MB / 0.8742 GB, free: 13.16 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.252e-06/0.667, allocations: 8 kB / 0.8742 GB, free: 13.16 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.144e-06/0.667, allocations: 0 / 0.8742 GB, free: 13.16 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.961e-06/0.667, allocations: 3.984 kB / 0.8742 GB, free: 13.15 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002297/0.6693, allocations: 1.618 MB / 0.8757 GB, free: 11.45 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.19e-06/0.6693, allocations: 4.219 kB / 0.8757 GB, free: 11.45 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001131/0.6694, allocations: 27.92 kB / 0.8758 GB, free: 11.42 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004435/0.6699, allocations: 222.2 kB / 0.876 GB, free: 11.2 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.512e-05/0.6699, allocations: 11.98 kB / 0.876 GB, free: 11.19 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008397/0.6708, allocations: 0.9853 MB / 0.877 GB, free: 10.18 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/0.6708, allocations: 4.031 kB / 0.877 GB, free: 10.18 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001207/0.672, allocations: 0.8455 MB / 0.8778 GB, free: 9.289 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003215/0.6723, allocations: 219.8 kB / 0.878 GB, free: 9.055 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.715e-05/0.6724, allocations: 8 kB / 0.878 GB, free: 9.047 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004858/0.6729, allocations: 51.89 kB / 0.8781 GB, free: 8.996 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.299e-05/0.673, allocations: 31.77 kB / 0.8781 GB, free: 8.965 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.607e-05/0.6731, allocations: 19.98 kB / 0.8781 GB, free: 8.945 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0009392/0.674, allocations: 0.7877 MB / 0.8789 GB, free: 8.148 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.4e-07/0.674, allocations: 0 / 0.8789 GB, free: 8.148 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001229/0.6753, allocations: 443.4 kB / 0.8793 GB, free: 7.715 MB / 0.5919 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 (12): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,19)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003977/0.6757, allocations: 171.5 kB / 0.8795 GB, free: 7.547 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001875/0.6775, allocations: 1.096 MB / 0.8805 GB, free: 6.422 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.6776, allocations: 0 / 0.8805 GB, free: 6.422 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0004832/0.6781, allocations: 226.6 kB / 0.8807 GB, free: 6.199 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00233/0.6804, allocations: 462.4 kB / 0.8812 GB, free: 5.754 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002725/0.6831, allocations: 2.076 MB / 0.8832 GB, free: 3.621 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006798/0.6838, allocations: 1.177 MB / 0.8844 GB, free: 2.414 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0008482/0.6847, allocations: 307.9 kB / 0.8847 GB, free: 2.109 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001328/0.6848, allocations: 63.42 kB / 0.8847 GB, free: 2.047 MB / 0.5919 GB Notification: Performance of SimCode: time 5.51e-07/0.6848, allocations: 0 / 0.8847 GB, free: 2.047 MB / 0.5919 GB Notification: Performance of Templates: time 0.02996/0.7148, allocations: 18.82 MB / 0.9031 GB, free: 15.45 MB / 0.6231 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.sim & ./BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe 2>&1)