Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised") translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.683/1.683, allocations: 297.8 MB / 313.7 MB, free: 120 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001027/0.001027, allocations: 178 kB / 384.6 MB, free: 10.86 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.501/1.501, allocations: 223.2 MB / 0.6626 GB, free: 4.266 MB / 490.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008648/0.0008646, allocations: 102.5 kB / 0.7808 GB, free: 50.35 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004157/0.0004158, allocations: 15.98 kB / 0.9088 GB, free: 2.863 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8062/0.8067, allocations: 120.3 MB / 1.026 GB, free: 55.76 MB / 0.7292 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.718/5.525, allocations: 1.864 GB / 2.89 GB, free: 299.2 MB / 0.9792 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000291/5.525, allocations: 91.45 kB / 2.89 GB, free: 299.2 MB / 0.9792 GB Notification: Performance of FrontEnd - DAE generated: time 6.038/11.56, allocations: 1.808 GB / 4.698 GB, free: 35.43 MB / 0.9792 GB Notification: Performance of FrontEnd: time 2.725e-06/11.56, allocations: 0 / 4.698 GB, free: 35.43 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 0.0001749/11.56, allocations: 27.98 kB / 4.698 GB, free: 35.4 MB / 0.9792 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.003812/11.57, allocations: 1.427 MB / 4.7 GB, free: 33.91 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 4.698e-05/11.57, allocations: 12.03 kB / 4.7 GB, free: 33.9 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001064/11.57, allocations: 179.5 kB / 4.7 GB, free: 33.73 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00266/11.57, allocations: 1.155 MB / 4.701 GB, free: 32.51 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.784e-05/11.57, allocations: 49.38 kB / 4.701 GB, free: 32.46 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000133/11.57, allocations: 60.38 kB / 4.701 GB, free: 32.41 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001121/11.57, allocations: 0.7757 MB / 4.702 GB, free: 31.55 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.287e-05/11.57, allocations: 3.938 kB / 4.702 GB, free: 31.55 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.651e-05/11.57, allocations: 27.98 kB / 4.702 GB, free: 31.52 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.297e-05/11.57, allocations: 12 kB / 4.702 GB, free: 31.51 MB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008433/11.57, allocations: 0.511 MB / 4.702 GB, free: 31 MB / 0.9792 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.003973/11.58, allocations: 4.587 MB / 4.707 GB, free: 26.03 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006171/11.58, allocations: 431 kB / 4.707 GB, free: 25.6 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003143/11.58, allocations: 245.5 kB / 4.708 GB, free: 25.36 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002719/11.58, allocations: 194.2 kB / 4.708 GB, free: 25.13 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004202/11.58, allocations: 305.8 kB / 4.708 GB, free: 24.81 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=31): time 2.124e-06/11.58, allocations: 0 / 4.708 GB, free: 24.81 MB / 0.9792 GB Notification: Performance of matching and sorting (n=31): time 0.003543/11.58, allocations: 1.336 MB / 4.709 GB, free: 23.45 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.001e-05/11.58, allocations: 89.11 kB / 4.709 GB, free: 23.34 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001302/11.58, allocations: 1.11 MB / 4.711 GB, free: 22.21 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 5.968e-05/11.58, allocations: 33.7 kB / 4.711 GB, free: 22.18 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003211/11.58, allocations: 496.1 kB / 4.711 GB, free: 21.69 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 8.594e-05/11.58, allocations: 110.4 kB / 4.711 GB, free: 21.58 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.97e-05/11.58, allocations: 8 kB / 4.711 GB, free: 21.57 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 6.215e-05/11.58, allocations: 334 kB / 4.711 GB, free: 21.24 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002866/11.59, allocations: 180.7 kB / 4.712 GB, free: 21.06 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004688/11.59, allocations: 0.5014 MB / 4.712 GB, free: 20.42 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006407/11.59, allocations: 0.5865 MB / 4.713 GB, free: 19.76 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.08e-06/11.59, allocations: 4.156 kB / 4.713 GB, free: 19.75 MB / 0.9792 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001912/11.59, allocations: 0.9689 MB / 4.714 GB, free: 18.77 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001444/11.59, allocations: 279.4 kB / 4.714 GB, free: 18.42 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.075e-05/11.59, allocations: 11.94 kB / 4.714 GB, free: 18.41 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001143/11.59, allocations: 333.6 kB / 4.714 GB, free: 18.08 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002158/11.59, allocations: 59.91 kB / 4.714 GB, free: 18.02 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008082/11.59, allocations: 1.014 MB / 4.715 GB, free: 16.98 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009176/11.59, allocations: 103.5 kB / 4.715 GB, free: 16.88 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.562e-05/11.59, allocations: 24 kB / 4.715 GB, free: 16.86 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 9.087e-06/11.59, allocations: 4 kB / 4.715 GB, free: 16.85 MB / 0.9792 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001176/11.59, allocations: 0.7359 MB / 4.716 GB, free: 16.11 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.03e-05/11.59, allocations: 8 kB / 4.716 GB, free: 16.1 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004563/11.59, allocations: 210.8 kB / 4.716 GB, free: 15.89 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001883/11.59, allocations: 63.84 kB / 4.716 GB, free: 15.83 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00319/11.6, allocations: 3.09 MB / 4.719 GB, free: 12.58 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009797/11.6, allocations: 99.58 kB / 4.72 GB, free: 12.48 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.752e-05/11.6, allocations: 24 kB / 4.72 GB, free: 12.46 MB / 0.9792 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 (34): * Single equations (assignments): 32 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 19} Notification: Performance of prepare postOptimizeDAE: time 0.0007428/11.6, allocations: 465.4 kB / 4.72 GB, free: 12 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002216/11.6, allocations: 106.7 kB / 4.72 GB, free: 11.89 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00126/11.6, allocations: 0.7178 MB / 4.721 GB, free: 11.16 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.093e-06/11.6, allocations: 4 kB / 4.721 GB, free: 11.16 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.485e-06/11.6, allocations: 0 / 4.721 GB, free: 11.16 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.871e-06/11.6, allocations: 3.984 kB / 4.721 GB, free: 11.15 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002519/11.6, allocations: 1.604 MB / 4.722 GB, free: 9.469 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.272e-06/11.6, allocations: 8.219 kB / 4.722 GB, free: 9.461 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001033/11.6, allocations: 23.98 kB / 4.722 GB, free: 9.438 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003985/11.6, allocations: 221.9 kB / 4.723 GB, free: 9.219 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.458e-05/11.6, allocations: 8 kB / 4.723 GB, free: 9.211 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006927/11.6, allocations: 0.9736 MB / 4.724 GB, free: 8.211 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/11.6, allocations: 7.969 kB / 4.724 GB, free: 8.203 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001082/11.61, allocations: 0.8251 MB / 4.724 GB, free: 7.336 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004649/11.61, allocations: 223.7 kB / 4.725 GB, free: 7.098 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002007/11.61, allocations: 19.86 kB / 4.725 GB, free: 7.078 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005986/11.61, allocations: 55.8 kB / 4.725 GB, free: 7.023 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001052/11.61, allocations: 35.81 kB / 4.725 GB, free: 6.988 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.691e-05/11.61, allocations: 16 kB / 4.725 GB, free: 6.973 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.0009928/11.61, allocations: 0.7838 MB / 4.725 GB, free: 6.18 MB / 0.9792 GB Notification: Performance of sort global known variables: time 1.5e-07/11.61, allocations: 0 / 4.725 GB, free: 6.18 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.001932/11.61, allocations: 0.5075 MB / 4.726 GB, free: 5.672 MB / 0.9792 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 (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 {1 19} Notification: Performance of Backend phase and start with SimCode phase: time 0.001659/11.61, allocations: 0.9646 MB / 4.727 GB, free: 4.711 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.001983/11.61, allocations: 1.051 MB / 4.728 GB, free: 3.621 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 6.792e-06/11.61, allocations: 4 kB / 4.728 GB, free: 3.617 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.0004782/11.61, allocations: 230.8 kB / 4.728 GB, free: 3.395 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002607/11.62, allocations: 458.1 kB / 4.729 GB, free: 2.965 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003407/11.62, allocations: 1.977 MB / 4.731 GB, free: 0.9336 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.5211/12.14, allocations: 1.178 MB / 4.732 GB, free: 242.9 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.001368/12.14, allocations: 325.3 kB / 4.732 GB, free: 242.9 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001567/12.14, allocations: 62.14 kB / 4.732 GB, free: 242.9 MB / 0.9792 GB Notification: Performance of SimCode: time 9.12e-07/12.14, allocations: 0 / 4.732 GB, free: 242.9 MB / 0.9792 GB Notification: Performance of Templates: time 0.05451/12.2, allocations: 30.02 MB / 4.761 GB, free: 242.6 MB / 0.9792 GB make -j1 -f Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.makefile (rm -f Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe >> ../files/Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.sim & ./Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe 2>&1)