Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) 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) Running command: translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised") translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.363/1.363, allocations: 252 MB / 267.6 MB, free: 10.95 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001071/0.001071, allocations: 177.5 kB / 327.3 MB, free: 2.207 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.773/1.773, allocations: 205.4 MB / 0.5783 GB, free: 20.25 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008863/0.0008862, allocations: 85.8 kB / 0.6829 GB, free: 12.86 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003562/0.0003562, allocations: 13.72 kB / 0.797 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2244/0.2248, allocations: 106.3 MB / 0.9008 GB, free: 63.89 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised): time 0.1629/0.3877, allocations: 146.9 MB / 1.044 GB, free: 12.59 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.002987/0.3908, allocations: 1.698 MB / 1.046 GB, free: 10.89 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002449/0.391, allocations: 11.94 kB / 1.046 GB, free: 10.88 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0004631/0.3915, allocations: 107.2 kB / 1.046 GB, free: 10.77 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.001057/0.3926, allocations: 398.1 kB / 1.046 GB, free: 10.38 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009518/0.3935, allocations: 327.8 kB / 1.047 GB, free: 10.07 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.002907/0.3965, allocations: 2.979 MB / 1.05 GB, free: 7.078 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001076/0.3975, allocations: 0.6915 MB / 1.05 GB, free: 6.375 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001546/0.3991, allocations: 0.8637 MB / 1.051 GB, free: 5.508 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007814/0.3999, allocations: 0.7079 MB / 1.052 GB, free: 4.797 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 8.875e-05/0.4, allocations: 32 kB / 1.052 GB, free: 4.766 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001151/0.4012, allocations: 0.5574 MB / 1.052 GB, free: 4.207 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0002894/0.4015, allocations: 282.9 kB / 1.053 GB, free: 3.93 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0002516/0.4017, allocations: 225.1 kB / 1.053 GB, free: 3.703 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.00108/0.4028, allocations: 1.021 MB / 1.054 GB, free: 2.68 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/0.4028, allocations: 3.938 kB / 1.054 GB, free: 2.676 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.793e-06/0.4028, allocations: 4 kB / 1.054 GB, free: 2.672 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.095e-05/0.4028, allocations: 0 / 1.054 GB, free: 2.672 MB / 0.698 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.002152/0.405, allocations: 1.299 MB / 1.055 GB, free: 1.309 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.112e-05/0.4051, allocations: 8.031 kB / 1.055 GB, free: 1.301 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006974/0.4058, allocations: 186.5 kB / 1.055 GB, free: 1.117 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001328/0.4071, allocations: 0.7923 MB / 1.056 GB, free: 276 kB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.37e-05/0.4072, allocations: 48.95 kB / 1.056 GB, free: 228 kB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.069e-05/0.4072, allocations: 60 kB / 1.056 GB, free: 168 kB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3829/0.7902, allocations: 0.7926 MB / 1.057 GB, free: 156.8 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.869e-05/0.7902, allocations: 7.125 kB / 1.057 GB, free: 156.8 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.392e-05/0.7903, allocations: 21.94 kB / 1.057 GB, free: 156.8 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.89e-05/0.7903, allocations: 14.31 kB / 1.057 GB, free: 156.8 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009414/0.7913, allocations: 0.5457 MB / 1.058 GB, free: 156.8 MB / 0.698 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.003362/0.7947, allocations: 4.599 MB / 1.062 GB, free: 153.4 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007121/0.7954, allocations: 423.7 kB / 1.062 GB, free: 153.4 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003817/0.7958, allocations: 257.8 kB / 1.063 GB, free: 153.4 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002603/0.796, allocations: 196.8 kB / 1.063 GB, free: 153.2 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005072/0.7966, allocations: 299.7 kB / 1.063 GB, free: 153.1 MB / 0.698 GB Notification: Performance of pre-optimization done (n=31): time 2.224e-06/0.7966, allocations: 2.5 kB / 1.063 GB, free: 153.1 MB / 0.698 GB Notification: Performance of matching and sorting (n=31): time 0.001377/0.798, allocations: 0.6464 MB / 1.064 GB, free: 153 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.925e-05/0.798, allocations: 81.19 kB / 1.064 GB, free: 152.9 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001383/0.7994, allocations: 1.11 MB / 1.065 GB, free: 152.8 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 4.264e-05/0.7995, allocations: 41.08 kB / 1.065 GB, free: 152.8 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003677/0.7998, allocations: 489.4 kB / 1.065 GB, free: 152.6 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 7.738e-05/0.7999, allocations: 108.2 kB / 1.066 GB, free: 152.5 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.155e-05/0.8, allocations: 9.906 kB / 1.066 GB, free: 152.5 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 7.092e-05/0.8, allocations: 327 kB / 1.066 GB, free: 152.2 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003431/0.8004, allocations: 185.8 kB / 1.066 GB, free: 152.2 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005095/0.8009, allocations: 0.49 MB / 1.067 GB, free: 151.9 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004393/0.8013, allocations: 300.7 kB / 1.067 GB, free: 151.8 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.929e-06/0.8014, allocations: 2.844 kB / 1.067 GB, free: 151.8 MB / 0.698 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001038/0.8024, allocations: 0.6813 MB / 1.068 GB, free: 151.7 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001199/0.8025, allocations: 277.6 kB / 1.068 GB, free: 151.4 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.258e-06/0.8026, allocations: 5.625 kB / 1.068 GB, free: 151.4 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.985e-05/0.8026, allocations: 9.078 kB / 1.068 GB, free: 151.4 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004176/0.803, allocations: 115.4 kB / 1.068 GB, free: 151.3 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.414e-05/0.803, allocations: 13.67 kB / 1.068 GB, free: 151.3 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006976/0.8037, allocations: 105.3 kB / 1.068 GB, free: 151.3 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.417e-05/0.8038, allocations: 23.62 kB / 1.068 GB, free: 151.3 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 8.406e-06/0.8038, allocations: 7.203 kB / 1.068 GB, free: 151.3 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009563/0.8048, allocations: 0.5413 MB / 1.069 GB, free: 151.2 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.216e-06/0.8048, allocations: 11.28 kB / 1.069 GB, free: 151.2 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.186e-05/0.8048, allocations: 9.953 kB / 1.069 GB, free: 151.2 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004094/0.8052, allocations: 103.4 kB / 1.069 GB, free: 151.2 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.389e-05/0.8053, allocations: 12.55 kB / 1.069 GB, free: 151.2 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006192/0.8059, allocations: 98.58 kB / 1.069 GB, free: 151.2 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.676e-05/0.8059, allocations: 22.83 kB / 1.069 GB, free: 151.2 MB / 0.698 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 ($whenCondition1,$PRE.pulse_p.T_start,pulse_p.T_start,$PRE.pulse_p.count,pulse_p.count) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006285/0.8066, allocations: 472.6 kB / 1.069 GB, free: 151 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001371/0.8067, allocations: 103.3 kB / 1.069 GB, free: 150.9 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001018/0.8077, allocations: 0.4937 MB / 1.07 GB, free: 150.9 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.915e-06/0.8078, allocations: 3.562 kB / 1.07 GB, free: 150.9 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.202e-06/0.8078, allocations: 0.7188 kB / 1.07 GB, free: 150.9 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.155e-06/0.8078, allocations: 3.047 kB / 1.07 GB, free: 150.9 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002308/0.8101, allocations: 1.398 MB / 1.071 GB, free: 150.4 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.033e-06/0.8101, allocations: 4.422 kB / 1.071 GB, free: 150.4 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000285/0.8104, allocations: 71.36 kB / 1.071 GB, free: 150.4 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.19e-05/0.8104, allocations: 4.469 kB / 1.071 GB, free: 150.4 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.702e-05/0.8105, allocations: 9.891 kB / 1.071 GB, free: 150.4 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.607e-06/0.8105, allocations: 4.031 kB / 1.071 GB, free: 150.4 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.317e-06/0.8105, allocations: 4.203 kB / 1.071 GB, free: 150.4 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009667/0.8115, allocations: 0.6133 MB / 1.072 GB, free: 150.1 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003013/0.8118, allocations: 223.4 kB / 1.072 GB, free: 150 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000102/0.8119, allocations: 8.203 kB / 1.072 GB, free: 150 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004931/0.8124, allocations: 55.11 kB / 1.072 GB, free: 150 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001038/0.8125, allocations: 34.34 kB / 1.072 GB, free: 150 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.976e-05/0.8125, allocations: 10.53 kB / 1.072 GB, free: 150 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001296/0.8138, allocations: 0.7838 MB / 1.073 GB, free: 149.9 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.8e-07/0.8138, allocations: 0.875 kB / 1.073 GB, free: 149.9 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001428/0.8153, allocations: 408.1 kB / 1.073 GB, free: 149.8 MB / 0.698 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004298/0.8157, allocations: 186.3 kB / 1.074 GB, free: 149.7 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.00154/0.8173, allocations: 0.8084 MB / 1.074 GB, free: 149.6 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.015e-06/0.8173, allocations: 1.375 kB / 1.074 GB, free: 149.6 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0003812/0.8177, allocations: 203.4 kB / 1.075 GB, free: 149.5 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002061/0.8197, allocations: 461.8 kB / 1.075 GB, free: 149.5 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002731/0.8225, allocations: 2.015 MB / 1.077 GB, free: 148.6 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000658/0.8231, allocations: 1.178 MB / 1.078 GB, free: 147.9 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001981/0.8234, allocations: 77.34 kB / 1.078 GB, free: 147.9 MB / 0.698 GB Notification: Performance of SimCode: time 6.51e-07/0.8234, allocations: 0 / 1.078 GB, free: 147.9 MB / 0.698 GB Notification: Performance of Templates: time 0.02281/0.8462, allocations: 15.69 MB / 1.094 GB, free: 137.4 MB / 0.698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe 2>&1)