Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised") translateModel(IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.001057/0.001057, allocations: 114.1 kB / 17.09 MB, free: 5.996 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.001058/0.001058, allocations: 190.8 kB / 18.02 MB, free: 5.082 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.223/1.223, allocations: 222.9 MB / 241.7 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6688/0.6688, allocations: 115.3 MB / 407.2 MB, free: 6.156 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001127/0.001127, allocations: 66.14 kB / 0.5584 GB, free: 32.25 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1103/0.1115, allocations: 76.18 MB / 0.6328 GB, free: 4.395 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised): time 0.4123/0.5238, allocations: 161.6 MB / 0.7906 GB, free: 13.45 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.003638/0.5275, allocations: 3.63 MB / 0.7941 GB, free: 13.1 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002341/0.5278, allocations: 9.938 kB / 0.7941 GB, free: 13.09 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0004722/0.5283, allocations: 159 kB / 0.7943 GB, free: 13.04 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.0011/0.5294, allocations: 0.5329 MB / 0.7948 GB, free: 12.9 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009649/0.5304, allocations: 436.5 kB / 0.7952 GB, free: 12.86 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.002039/0.5324, allocations: 2.545 MB / 0.7977 GB, free: 12.43 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008948/0.5333, allocations: 0.9374 MB / 0.7986 GB, free: 12.28 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001195/0.5345, allocations: 1.044 MB / 0.7996 GB, free: 12.19 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006521/0.5352, allocations: 0.7039 MB / 0.8003 GB, free: 12.05 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001015/0.5353, allocations: 55.09 kB / 0.8004 GB, free: 12.05 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001056/0.5363, allocations: 0.7384 MB / 0.8011 GB, free: 11.99 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.000234/0.5366, allocations: 308.2 kB / 0.8014 GB, free: 11.94 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0004311/0.537, allocations: 0.5451 MB / 0.8019 GB, free: 11.76 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001145/0.5382, allocations: 1.406 MB / 0.8033 GB, free: 11.52 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.066e-06/0.5382, allocations: 0 / 0.8033 GB, free: 11.52 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.092e-06/0.5382, allocations: 0 / 0.8033 GB, free: 11.52 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.073e-05/0.5382, allocations: 4 kB / 0.8033 GB, free: 11.52 MB / 0.5919 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.001894/0.5401, allocations: 1.438 MB / 0.8047 GB, free: 10.67 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.199e-05/0.5402, allocations: 10.12 kB / 0.8047 GB, free: 10.67 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006957/0.5409, allocations: 197.5 kB / 0.8049 GB, free: 10.59 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001074/0.542, allocations: 0.8462 MB / 0.8057 GB, free: 10.07 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.892e-05/0.542, allocations: 52.12 kB / 0.8058 GB, free: 10.07 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.005e-05/0.5421, allocations: 58.81 kB / 0.8058 GB, free: 10.07 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009799/0.5431, allocations: 0.786 MB / 0.8066 GB, free: 9.672 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.438e-05/0.5431, allocations: 6.562 kB / 0.8066 GB, free: 9.668 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.969e-05/0.5431, allocations: 25.14 kB / 0.8066 GB, free: 9.664 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.121e-05/0.5431, allocations: 12.06 kB / 0.8066 GB, free: 9.664 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007931/0.5439, allocations: 0.5383 MB / 0.8071 GB, free: 9.527 MB / 0.5919 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.003281/0.5472, allocations: 4.587 MB / 0.8116 GB, free: 5.633 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005909/0.5478, allocations: 410.6 kB / 0.812 GB, free: 5.531 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003155/0.5482, allocations: 246.8 kB / 0.8123 GB, free: 5.48 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002584/0.5484, allocations: 194.7 kB / 0.8124 GB, free: 5.281 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004276/0.5489, allocations: 294.9 kB / 0.8127 GB, free: 5.145 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=31): time 1.764e-06/0.5489, allocations: 0 / 0.8127 GB, free: 5.145 MB / 0.5919 GB Notification: Performance of matching and sorting (n=31): time 0.003407/0.5523, allocations: 1.314 MB / 0.814 GB, free: 4.582 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.637e-05/0.5523, allocations: 82.39 kB / 0.8141 GB, free: 4.488 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001064/0.5534, allocations: 1.12 MB / 0.8152 GB, free: 4.133 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 4.187e-05/0.5535, allocations: 31.64 kB / 0.8152 GB, free: 4.102 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003097/0.5538, allocations: 497.6 kB / 0.8157 GB, free: 3.883 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 7.343e-05/0.5539, allocations: 106.2 kB / 0.8158 GB, free: 3.809 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001379/0.554, allocations: 116 kB / 0.8159 GB, free: 3.777 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001065/0.5541, allocations: 329.5 kB / 0.8162 GB, free: 3.461 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003243/0.5545, allocations: 217.7 kB / 0.8164 GB, free: 3.402 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005282/0.555, allocations: 0.5192 MB / 0.8169 GB, free: 2.973 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007425/0.5557, allocations: 0.6303 MB / 0.8175 GB, free: 2.633 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.208e-06/0.5558, allocations: 2.094 kB / 0.8175 GB, free: 2.633 MB / 0.5919 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.002012/0.5578, allocations: 1.043 MB / 0.8186 GB, free: 2.184 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 3.153e-05/0.5578, allocations: 33.39 kB / 0.8186 GB, free: 2.152 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.608e-06/0.5578, allocations: 9.016 kB / 0.8186 GB, free: 2.148 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001283/0.5591, allocations: 364.2 kB / 0.8189 GB, free: 1.98 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002067/0.5593, allocations: 60.75 kB / 0.819 GB, free: 1.965 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008933/0.5602, allocations: 1.008 MB / 0.82 GB, free: 1.191 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005823/0.5608, allocations: 70.98 kB / 0.8201 GB, free: 1.148 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.654e-05/0.5609, allocations: 35.92 kB / 0.8201 GB, free: 1.133 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005824/0.5615, allocations: 0.4947 MB / 0.8206 GB, free: 0.8438 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004718/0.562, allocations: 490.8 kB / 0.821 GB, free: 376 kB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006654/0.5626, allocations: 0.5513 MB / 0.8216 GB, free: 15.94 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.745e-06/0.5626, allocations: 2.219 kB / 0.8216 GB, free: 15.94 MB / 0.6075 GB Notification: Performance of matching and sorting (n=54) (initialization_lambda0): time 0.001321/0.564, allocations: 0.8359 MB / 0.8224 GB, free: 15.47 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.548e-05/0.564, allocations: 35.36 kB / 0.8224 GB, free: 15.44 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.039e-06/0.564, allocations: 4.875 kB / 0.8224 GB, free: 15.44 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000447/0.5645, allocations: 207.7 kB / 0.8226 GB, free: 15.35 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001857/0.5647, allocations: 56.56 kB / 0.8227 GB, free: 15.34 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003284/0.568, allocations: 3.343 MB / 0.826 GB, free: 12.66 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005806/0.5686, allocations: 70.47 kB / 0.826 GB, free: 12.62 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.556e-05/0.5686, allocations: 25.67 kB / 0.826 GB, free: 12.62 MB / 0.6075 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.0001637/0.5688, allocations: 214.8 kB / 0.8262 GB, free: 12.41 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001053/0.5689, allocations: 102.9 kB / 0.8263 GB, free: 12.36 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001131/0.57, allocations: 0.7066 MB / 0.827 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.989e-06/0.57, allocations: 96 / 0.827 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.286e-06/0.57, allocations: 3.984 kB / 0.827 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002337/0.5703, allocations: 214 kB / 0.8272 GB, free: 11.78 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001013/0.5704, allocations: 6.312 kB / 0.8273 GB, free: 11.77 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003675/0.5708, allocations: 26.28 kB / 0.8273 GB, free: 11.76 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.745e-05/0.5709, allocations: 43.77 kB / 0.8273 GB, free: 11.73 MB / 0.6075 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001252/0.5721, allocations: 0.7989 MB / 0.8281 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001054/0.5732, allocations: 0.9231 MB / 0.829 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002844/0.5735, allocations: 189.2 kB / 0.8292 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0008159/0.5743, allocations: 0.7935 MB / 0.83 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of Backend: time 5.91e-07/0.5743, allocations: 0 / 0.83 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.002258/0.5766, allocations: 1.16 MB / 0.8311 GB, free: 9.383 MB / 0.6075 GB Notification: Performance of SimCode: time 0.00337/0.58, allocations: 2.638 MB / 0.8337 GB, free: 7.727 MB / 0.6075 GB Notification: Performance of Templates: time 0.02825/0.6082, allocations: 20.62 MB / 0.8538 GB, free: 3.488 MB / 0.6231 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.sim & ./IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe 2>&1)