Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.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.ParallelDpOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised") translateModel(IBPSA.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00114/0.00114, allocations: 113.9 kB / 17.08 MB, free: 6.016 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.001116/0.001116, allocations: 197.8 kB / 18.02 MB, free: 5.094 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.349/1.349, 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.7488/0.7488, allocations: 115.3 MB / 407.2 MB, free: 6.188 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001315/0.001315, allocations: 66.64 kB / 0.5584 GB, free: 32.25 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1649/0.1662, allocations: 76.18 MB / 0.6327 GB, free: 4.406 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised): time 0.6139/0.7802, allocations: 161.6 MB / 0.7905 GB, free: 13.47 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.005861/0.7861, allocations: 3.626 MB / 0.7941 GB, free: 13.12 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006588/0.7868, allocations: 14.81 kB / 0.7941 GB, free: 13.11 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0007409/0.7876, allocations: 160.5 kB / 0.7942 GB, free: 13.05 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001807/0.7895, allocations: 0.5322 MB / 0.7948 GB, free: 12.92 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001707/0.7912, allocations: 434.9 kB / 0.7952 GB, free: 12.87 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.003256/0.7944, allocations: 2.568 MB / 0.7977 GB, free: 12.45 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003209/0.7977, allocations: 2.417 MB / 0.8 GB, free: 12.09 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002707/0.8004, allocations: 1.047 MB / 0.8011 GB, free: 12 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001013/0.8014, allocations: 0.7162 MB / 0.8018 GB, free: 11.86 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001318/0.8016, allocations: 64.81 kB / 0.8018 GB, free: 11.86 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002005/0.8036, allocations: 0.7414 MB / 0.8026 GB, free: 11.8 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0003938/0.804, allocations: 317.2 kB / 0.8029 GB, free: 11.75 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.000838/0.8048, allocations: 0.5491 MB / 0.8034 GB, free: 11.57 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.002173/0.807, allocations: 1.423 MB / 0.8048 GB, free: 11.04 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 6.402e-06/0.807, allocations: 0 / 0.8048 GB, free: 11.04 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.184e-06/0.8071, allocations: 0 / 0.8048 GB, free: 11.04 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.725e-05/0.8071, allocations: 0 / 0.8048 GB, free: 11.04 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.002798/0.8099, allocations: 1.454 MB / 0.8062 GB, free: 10.07 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 5.358e-05/0.8099, allocations: 10.56 kB / 0.8062 GB, free: 10.07 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009535/0.8109, allocations: 194.2 kB / 0.8064 GB, free: 9.984 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001682/0.8126, allocations: 0.8538 MB / 0.8072 GB, free: 9.465 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.536e-05/0.8127, allocations: 41.06 kB / 0.8073 GB, free: 9.465 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.657e-05/0.8128, allocations: 60.03 kB / 0.8073 GB, free: 9.465 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00141/0.8142, allocations: 0.8263 MB / 0.8081 GB, free: 9.062 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.989e-05/0.8142, allocations: 2.906 kB / 0.8081 GB, free: 9.062 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.918e-05/0.8143, allocations: 22.22 kB / 0.8082 GB, free: 9.062 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.798e-05/0.8143, allocations: 15.16 kB / 0.8082 GB, free: 9.062 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001008/0.8153, allocations: 0.564 MB / 0.8087 GB, free: 8.922 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.005/0.8203, allocations: 4.208 MB / 0.8128 GB, free: 5.594 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008581/0.8212, allocations: 442.5 kB / 0.8133 GB, free: 5.48 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005533/0.8218, allocations: 335.7 kB / 0.8136 GB, free: 5.426 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004023/0.8222, allocations: 198.4 kB / 0.8138 GB, free: 5.223 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006152/0.8228, allocations: 317.6 kB / 0.8141 GB, free: 5.082 MB / 0.5919 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004263/0.8232, allocations: 36.09 kB / 0.8141 GB, free: 5.062 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=33): time 3.126e-06/0.8232, allocations: 0 / 0.8141 GB, free: 5.062 MB / 0.5919 GB Notification: Performance of matching and sorting (n=33): time 0.00167/0.8249, allocations: 0.7033 MB / 0.8148 GB, free: 4.852 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001075/0.825, allocations: 93.69 kB / 0.8149 GB, free: 4.75 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001673/0.8267, allocations: 1.153 MB / 0.816 GB, free: 4.387 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 6.171e-05/0.8268, allocations: 37.83 kB / 0.816 GB, free: 4.355 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005354/0.8273, allocations: 494.8 kB / 0.8165 GB, free: 4.113 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001059/0.8275, allocations: 112 kB / 0.8166 GB, free: 4.02 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001839/0.8276, allocations: 117.5 kB / 0.8167 GB, free: 3.953 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001399/0.8278, allocations: 326.8 kB / 0.817 GB, free: 3.633 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004052/0.8282, allocations: 234.8 kB / 0.8173 GB, free: 3.512 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006608/0.8289, allocations: 0.5461 MB / 0.8178 GB, free: 2.996 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000938/0.8298, allocations: 0.6725 MB / 0.8185 GB, free: 2.504 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.779e-06/0.8298, allocations: 2.375 kB / 0.8185 GB, free: 2.504 MB / 0.5919 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001295/0.8311, allocations: 0.7655 MB / 0.8192 GB, free: 2.094 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 5.013e-05/0.8312, allocations: 45.64 kB / 0.8193 GB, free: 2.051 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.316e-05/0.8312, allocations: 12.64 kB / 0.8193 GB, free: 2.043 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.169e-05/0.8313, allocations: 11.94 kB / 0.8193 GB, free: 2.039 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005371/0.8318, allocations: 111 kB / 0.8194 GB, free: 2.012 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.517e-05/0.8318, allocations: 11.66 kB / 0.8194 GB, free: 2.008 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008301/0.8327, allocations: 65.27 kB / 0.8195 GB, free: 1.973 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.249e-05/0.8327, allocations: 24.44 kB / 0.8195 GB, free: 1.969 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008041/0.8335, allocations: 0.5202 MB / 0.82 GB, free: 1.664 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005612/0.8341, allocations: 0.5016 MB / 0.8205 GB, free: 1.176 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007853/0.8349, allocations: 0.5936 MB / 0.8211 GB, free: 0.7227 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.167e-06/0.8349, allocations: 2.875 kB / 0.8211 GB, free: 0.7227 MB / 0.5919 GB Notification: Performance of matching and sorting (n=56) (initialization_lambda0): time 0.001112/0.836, allocations: 0.6904 MB / 0.8217 GB, free: 360 kB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 3.472e-05/0.8361, allocations: 33.42 kB / 0.8218 GB, free: 328 kB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.773e-06/0.8361, allocations: 8.938 kB / 0.8218 GB, free: 324 kB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.686e-06/0.8361, allocations: 7.688 kB / 0.8218 GB, free: 324 kB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004504/0.8366, allocations: 110.4 kB / 0.8219 GB, free: 292 kB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.104e-05/0.8366, allocations: 11.72 kB / 0.8219 GB, free: 288 kB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000807/0.8374, allocations: 71.53 kB / 0.822 GB, free: 252 kB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.999e-05/0.8374, allocations: 28.11 kB / 0.822 GB, free: 244 kB / 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 (55): * Single equations (assignments): 54 * 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.0002163/0.8377, allocations: 216.2 kB / 0.8222 GB, free: 32 kB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001659/0.8378, allocations: 105.2 kB / 0.8223 GB, free: 15.97 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001022/0.8389, allocations: 0.5362 MB / 0.8228 GB, free: 15.68 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-05/0.8389, allocations: 5.031 kB / 0.8228 GB, free: 15.68 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.544e-06/0.8389, allocations: 4 kB / 0.8228 GB, free: 15.68 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.342e-06/0.8389, allocations: 0 / 0.8228 GB, free: 15.68 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002343/0.8413, allocations: 1.489 MB / 0.8243 GB, free: 14.65 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.629e-06/0.8413, allocations: 6.719 kB / 0.8243 GB, free: 14.64 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003427/0.8416, allocations: 75.97 kB / 0.8244 GB, free: 14.62 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.241e-05/0.8417, allocations: 5.031 kB / 0.8244 GB, free: 14.62 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.634e-05/0.8417, allocations: 12.66 kB / 0.8244 GB, free: 14.61 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.709e-06/0.8417, allocations: 6.812 kB / 0.8244 GB, free: 14.61 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.867e-06/0.8417, allocations: 2.625 kB / 0.8244 GB, free: 14.61 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009414/0.8427, allocations: 0.6578 MB / 0.825 GB, free: 14.16 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004548/0.8431, allocations: 227.1 kB / 0.8252 GB, free: 13.98 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001204/0.8432, allocations: 13.03 kB / 0.8253 GB, free: 13.97 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005614/0.8438, allocations: 40.09 kB / 0.8253 GB, free: 13.95 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.66e-05/0.8439, allocations: 32.5 kB / 0.8253 GB, free: 13.93 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.471e-05/0.844, allocations: 10.19 kB / 0.8253 GB, free: 13.93 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.00107/0.845, allocations: 0.819 MB / 0.8261 GB, free: 13.48 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.845, allocations: 0 / 0.8261 GB, free: 13.48 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.001293/0.8463, allocations: 426.9 kB / 0.8265 GB, free: 13.43 MB / 0.6075 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 (33): * Single equations (assignments): 31 * 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.0005452/0.8469, allocations: 182.3 kB / 0.8267 GB, free: 13.3 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001636/0.8485, allocations: 0.9066 MB / 0.8276 GB, free: 12.8 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.328e-06/0.8486, allocations: 5.938 kB / 0.8276 GB, free: 12.79 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0003912/0.8489, allocations: 221.4 kB / 0.8278 GB, free: 12.69 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002135/0.8511, allocations: 0.4953 MB / 0.8283 GB, free: 12.43 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003018/0.8541, allocations: 1.812 MB / 0.8301 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007781/0.8549, allocations: 1.185 MB / 0.8312 GB, free: 10.44 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002864/0.8552, allocations: 80.64 kB / 0.8313 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of SimCode: time 2.424e-06/0.8552, allocations: 0 / 0.8313 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of Templates: time 0.02864/0.8839, allocations: 16.8 MB / 0.8477 GB, free: 9.91 MB / 0.6231 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.sim & ./IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.pipe 2>&1)