Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001756/0.001756, allocations: 105 kB / 20.45 MB, free: 1.5 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002106/0.002106, allocations: 220.7 kB / 23.76 MB, free: 4.711 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.522/1.522, allocations: 230.6 MB / 257.5 MB, free: 8.004 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 1.33/1.33, allocations: 150 MB / 463.9 MB, free: 10.49 MB / 366.1 MB " [Timeout remaining time 178] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised") translateModel(IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised") [Timeout 660] "Notification: IBPSA requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00238/0.00238, allocations: 70.61 kB / 0.6425 GB, free: 9.879 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.186/0.1883, allocations: 89.18 MB / 0.7296 GB, free: 0.7695 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised): time 0.6149/0.8033, allocations: 165.1 MB / 0.8909 GB, free: 1.93 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.003972/0.8072, allocations: 1.78 MB / 0.8926 GB, free: 152 kB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005829/0.8078, allocations: 20.38 kB / 0.8926 GB, free: 132 kB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0008423/0.8087, allocations: 158.9 kB / 0.8928 GB, free: 15.97 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.001949/0.8106, allocations: 0.5523 MB / 0.8933 GB, free: 15.42 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.001468/0.8121, allocations: 410.9 kB / 0.8937 GB, free: 15.02 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.003613/0.8157, allocations: 2.536 MB / 0.8962 GB, free: 12.48 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001417/0.8171, allocations: 0.6372 MB / 0.8968 GB, free: 11.82 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002766/0.8199, allocations: 1.222 MB / 0.898 GB, free: 10.6 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001544/0.8214, allocations: 0.7194 MB / 0.8987 GB, free: 9.875 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0002753/0.8217, allocations: 56 kB / 0.8988 GB, free: 9.82 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001965/0.8237, allocations: 0.764 MB / 0.8995 GB, free: 9.055 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0005762/0.8242, allocations: 314.8 kB / 0.8998 GB, free: 8.746 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.001228/0.8255, allocations: 0.5556 MB / 0.9004 GB, free: 8.188 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.002538/0.828, allocations: 1.416 MB / 0.9017 GB, free: 6.77 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 5.04e-06/0.828, allocations: 4 kB / 0.9017 GB, free: 6.766 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.583e-06/0.828, allocations: 0 / 0.9017 GB, free: 6.766 MB / 0.67 GB Notification: Performance of Transformations before backend: time 1.459e-05/0.828, allocations: 0 / 0.9017 GB, free: 6.766 MB / 0.67 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.002521/0.8306, allocations: 1.441 MB / 0.9031 GB, free: 5.281 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.786e-05/0.8306, allocations: 15.97 kB / 0.9032 GB, free: 5.266 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007821/0.8314, allocations: 191.1 kB / 0.9033 GB, free: 5.078 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001591/0.833, allocations: 0.8253 MB / 0.9041 GB, free: 4.203 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.379e-05/0.833, allocations: 41 kB / 0.9042 GB, free: 4.164 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.998e-05/0.8331, allocations: 60 kB / 0.9042 GB, free: 4.105 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001252/0.8344, allocations: 0.7927 MB / 0.905 GB, free: 3.234 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.975e-05/0.8344, allocations: 3.938 kB / 0.905 GB, free: 3.23 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.332e-05/0.8344, allocations: 24 kB / 0.905 GB, free: 3.207 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.535e-05/0.8344, allocations: 12 kB / 0.9051 GB, free: 3.195 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009218/0.8354, allocations: 0.5344 MB / 0.9056 GB, free: 2.66 MB / 0.67 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.004738/0.8401, allocations: 4.572 MB / 0.91 GB, free: 13.71 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008335/0.8409, allocations: 402.3 kB / 0.9104 GB, free: 13.31 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004085/0.8413, allocations: 225.2 kB / 0.9106 GB, free: 13.09 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002431/0.8416, allocations: 39.97 kB / 0.9107 GB, free: 13.05 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005318/0.8421, allocations: 293.1 kB / 0.911 GB, free: 12.75 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=31): time 4.078e-06/0.8421, allocations: 0 / 0.911 GB, free: 12.75 MB / 0.6856 GB Notification: Performance of matching and sorting (n=31): time 0.001505/0.8436, allocations: 0.6432 MB / 0.9116 GB, free: 12.1 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.693e-05/0.8437, allocations: 85.09 kB / 0.9117 GB, free: 12 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001594/0.8453, allocations: 1.147 MB / 0.9128 GB, free: 10.83 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 6.587e-05/0.8454, allocations: 33.7 kB / 0.9128 GB, free: 10.79 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.000503/0.8459, allocations: 0.5048 MB / 0.9133 GB, free: 10.29 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001109/0.846, allocations: 107.1 kB / 0.9134 GB, free: 10.18 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001855/0.8462, allocations: 114 kB / 0.9135 GB, free: 10.06 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001737/0.8463, allocations: 337.9 kB / 0.9138 GB, free: 9.727 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003981/0.8467, allocations: 214.4 kB / 0.9141 GB, free: 9.516 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000683/0.8474, allocations: 0.5135 MB / 0.9146 GB, free: 8.867 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009548/0.8484, allocations: 0.6266 MB / 0.9152 GB, free: 8.16 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.793e-06/0.8484, allocations: 0 / 0.9152 GB, free: 8.16 MB / 0.6856 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001333/0.8497, allocations: 0.7292 MB / 0.9159 GB, free: 7.422 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 4.48e-05/0.8498, allocations: 33.7 kB / 0.9159 GB, free: 7.383 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.346e-05/0.8498, allocations: 8.656 kB / 0.9159 GB, free: 7.375 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.596e-05/0.8498, allocations: 12 kB / 0.9159 GB, free: 7.363 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004285/0.8502, allocations: 107.8 kB / 0.916 GB, free: 7.258 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.686e-05/0.8502, allocations: 8 kB / 0.916 GB, free: 7.25 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006532/0.8509, allocations: 78.05 kB / 0.9161 GB, free: 7.176 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.892e-05/0.851, allocations: 27.94 kB / 0.9161 GB, free: 7.148 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007533/0.8517, allocations: 0.5115 MB / 0.9166 GB, free: 6.637 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006597/0.8524, allocations: 489.9 kB / 0.9171 GB, free: 6.023 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000865/0.8532, allocations: 0.5685 MB / 0.9177 GB, free: 5.375 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.963e-06/0.8533, allocations: 7.922 kB / 0.9177 GB, free: 5.367 MB / 0.6856 GB Notification: Performance of matching and sorting (n=54) (initialization_lambda0): time 0.001165/0.8544, allocations: 0.6464 MB / 0.9183 GB, free: 4.707 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 3.782e-05/0.8545, allocations: 37.7 kB / 0.9183 GB, free: 4.664 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.925e-06/0.8545, allocations: 4 kB / 0.9183 GB, free: 4.66 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.186e-05/0.8545, allocations: 8 kB / 0.9183 GB, free: 4.652 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000371/0.8548, allocations: 108.5 kB / 0.9185 GB, free: 4.547 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.438e-05/0.8549, allocations: 15.92 kB / 0.9185 GB, free: 4.531 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006214/0.8555, allocations: 68.06 kB / 0.9185 GB, free: 4.465 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.173e-05/0.8555, allocations: 20 kB / 0.9186 GB, free: 4.445 MB / 0.6856 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.0002197/0.8557, allocations: 220.6 kB / 0.9188 GB, free: 4.223 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001691/0.8559, allocations: 111.3 kB / 0.9189 GB, free: 4.113 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009879/0.8569, allocations: 0.4931 MB / 0.9193 GB, free: 3.613 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.116e-06/0.8569, allocations: 4 kB / 0.9194 GB, free: 3.609 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.592e-06/0.8569, allocations: 0 / 0.9194 GB, free: 3.609 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.344e-06/0.8569, allocations: 3.984 kB / 0.9194 GB, free: 3.605 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002343/0.8593, allocations: 1.371 MB / 0.9207 GB, free: 2.164 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.763e-06/0.8593, allocations: 3.938 kB / 0.9207 GB, free: 2.16 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002446/0.8595, allocations: 63.89 kB / 0.9208 GB, free: 2.098 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.875e-06/0.8595, allocations: 8.219 kB / 0.9208 GB, free: 2.09 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.682e-05/0.8596, allocations: 8 kB / 0.9208 GB, free: 2.082 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.471e-06/0.8596, allocations: 4 kB / 0.9208 GB, free: 2.078 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.897e-06/0.8596, allocations: 3.938 kB / 0.9208 GB, free: 2.074 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009228/0.8605, allocations: 0.6069 MB / 0.9214 GB, free: 1.43 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003845/0.8609, allocations: 147.2 kB / 0.9215 GB, free: 1.285 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001412/0.861, allocations: 8 kB / 0.9215 GB, free: 1.277 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003968/0.8614, allocations: 23.97 kB / 0.9215 GB, free: 1.254 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.892e-05/0.8615, allocations: 35.89 kB / 0.9216 GB, free: 1.219 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.944e-05/0.8615, allocations: 16.86 kB / 0.9216 GB, free: 1.203 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.001174/0.8627, allocations: 0.8041 MB / 0.9224 GB, free: 400 kB / 0.6856 GB Notification: Performance of sort global known variables: time 8e-08/0.8627, allocations: 0 / 0.9224 GB, free: 400 kB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001301/0.864, allocations: 411.7 kB / 0.9228 GB, free: 15.98 MB / 0.7012 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.0003597/0.8644, allocations: 157.8 kB / 0.9229 GB, free: 15.83 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.00151/0.8659, allocations: 0.7972 MB / 0.9237 GB, free: 15.01 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/0.8659, allocations: 64 / 0.9237 GB, free: 15.01 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.0003628/0.8662, allocations: 186.7 kB / 0.9239 GB, free: 14.83 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001959/0.8682, allocations: 453 kB / 0.9243 GB, free: 14.41 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00358/0.8718, allocations: 1.838 MB / 0.9261 GB, free: 12.51 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001003/0.8728, allocations: 1.188 MB / 0.9273 GB, free: 11.29 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002194/0.873, allocations: 79.42 kB / 0.9273 GB, free: 11.21 MB / 0.7012 GB Notification: Performance of SimCode: time 7.71e-07/0.873, allocations: 3.938 kB / 0.9273 GB, free: 11.21 MB / 0.7012 GB Notification: Performance of Templates: time 0.03027/0.9033, allocations: 16.31 MB / 0.9433 GB, free: 11.04 MB / 0.7169 GB " [Timeout remaining time 659] make -j1 -f IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.sim & ./IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 12.393327506957576] Failed to read output from testmodel.py, exit status != 0: 0.9142155640292913 0.93027305 0.098740301 Calling exit ...