Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.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.SeriesParallelDpOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised") translateModel(IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001141/0.001141, allocations: 96.27 kB / 15.69 MB, free: 480 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001611/0.00161, allocations: 176.9 kB / 16.57 MB, free: 6.398 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.315/1.315, allocations: 223.2 MB / 240.5 MB, free: 5.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6768/0.6768, allocations: 113.8 MB / 405.4 MB, free: 4.566 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003421/0.0003422, allocations: 11.98 kB / 493.1 MB, free: 8.578 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1423/0.1426, allocations: 77.16 MB / 0.5568 GB, free: 11.63 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised): time 0.4066/0.5493, allocations: 140.5 MB / 0.694 GB, free: 13.54 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.004608/0.5539, allocations: 3.591 MB / 0.6975 GB, free: 9.941 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003181/0.5543, allocations: 11.88 kB / 0.6975 GB, free: 9.93 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0006845/0.555, allocations: 238.9 kB / 0.6978 GB, free: 9.695 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.001658/0.5566, allocations: 0.706 MB / 0.6984 GB, free: 8.988 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.001181/0.5578, allocations: 492 kB / 0.6989 GB, free: 8.52 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.001871/0.5597, allocations: 1.65 MB / 0.7005 GB, free: 6.867 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002721/0.5624, allocations: 2.321 MB / 0.7028 GB, free: 4.539 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001404/0.5639, allocations: 0.8526 MB / 0.7036 GB, free: 3.684 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007238/0.5646, allocations: 0.6109 MB / 0.7042 GB, free: 3.07 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.000101/0.5647, allocations: 48 kB / 0.7043 GB, free: 3.023 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009482/0.5657, allocations: 455.3 kB / 0.7047 GB, free: 2.578 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0003193/0.566, allocations: 307 kB / 0.705 GB, free: 2.277 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0002563/0.5663, allocations: 245.1 kB / 0.7052 GB, free: 2.031 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.001033/0.5673, allocations: 1.132 MB / 0.7063 GB, free: 0.9023 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 2.505e-06/0.5673, allocations: 0 / 0.7063 GB, free: 0.9023 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.513e-06/0.5673, allocations: 0 / 0.7063 GB, free: 0.9023 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.528e-05/0.5673, allocations: 0 / 0.7063 GB, free: 0.9023 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 135 * Number of variables: 135 Notification: Performance of Generate backend data structure: time 0.002478/0.5698, allocations: 1.505 MB / 0.7078 GB, free: 15.34 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.172e-05/0.5699, allocations: 8.031 kB / 0.7078 GB, free: 15.33 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007594/0.5706, allocations: 194.4 kB / 0.708 GB, free: 15.14 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001555/0.5722, allocations: 0.8795 MB / 0.7089 GB, free: 14.2 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.299e-05/0.5722, allocations: 49.27 kB / 0.7089 GB, free: 14.16 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.953e-05/0.5723, allocations: 67.98 kB / 0.709 GB, free: 14.09 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001317/0.5737, allocations: 0.987 MB / 0.7099 GB, free: 13.03 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.586e-05/0.5737, allocations: 3.938 kB / 0.7099 GB, free: 13.02 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.24e-05/0.5738, allocations: 24 kB / 0.71 GB, free: 13 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.3e-05/0.5738, allocations: 16 kB / 0.71 GB, free: 12.98 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001184/0.575, allocations: 0.7999 MB / 0.7108 GB, free: 12.18 MB / 0.5294 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.004667/0.5797, allocations: 4.813 MB / 0.7155 GB, free: 7.027 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002415/0.5821, allocations: 4.025 MB / 0.7194 GB, free: 2.176 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 6.498e-05/0.5822, allocations: 16.25 kB / 0.7194 GB, free: 2.16 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005604/0.5827, allocations: 341.9 kB / 0.7197 GB, free: 1.805 MB / 0.5294 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0002714/0.583, allocations: 27.69 kB / 0.7198 GB, free: 1.777 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=35): time 1.674e-06/0.583, allocations: 0 / 0.7198 GB, free: 1.777 MB / 0.5294 GB Notification: Performance of matching and sorting (n=35): time 0.005241/0.5883, allocations: 1.741 MB / 0.7215 GB, free: 4 kB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.947e-05/0.5884, allocations: 114.8 kB / 0.7216 GB, free: 15.87 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001482/0.5898, allocations: 1.185 MB / 0.7227 GB, free: 14.67 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0001546/0.59, allocations: 37.7 kB / 0.7228 GB, free: 14.62 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004579/0.5905, allocations: 0.5161 MB / 0.7233 GB, free: 14.11 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 9.721e-05/0.5906, allocations: 114.3 kB / 0.7234 GB, free: 13.99 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.595e-05/0.5906, allocations: 12 kB / 0.7234 GB, free: 13.98 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001255/0.5907, allocations: 326 kB / 0.7237 GB, free: 13.66 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000376/0.5911, allocations: 209 kB / 0.7239 GB, free: 13.45 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006044/0.5917, allocations: 0.5327 MB / 0.7244 GB, free: 12.79 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004518/0.5922, allocations: 321.4 kB / 0.7247 GB, free: 12.46 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.007e-06/0.5922, allocations: 0 / 0.7247 GB, free: 12.46 MB / 0.545 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.002231/0.5945, allocations: 1.08 MB / 0.7258 GB, free: 11.37 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007829/0.5953, allocations: 2.15 MB / 0.7279 GB, free: 9.059 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.131e-05/0.5953, allocations: 7.984 kB / 0.7279 GB, free: 9.051 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001331/0.5966, allocations: 365.3 kB / 0.7282 GB, free: 8.691 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003234/0.5969, allocations: 75.88 kB / 0.7283 GB, free: 8.617 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001046/0.598, allocations: 1.055 MB / 0.7293 GB, free: 7.539 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009469/0.599, allocations: 103.8 kB / 0.7294 GB, free: 7.438 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.368e-05/0.599, allocations: 27.98 kB / 0.7295 GB, free: 7.41 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.749e-05/0.599, allocations: 5.875 kB / 0.7295 GB, free: 7.406 MB / 0.545 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001408/0.6005, allocations: 0.8098 MB / 0.7302 GB, free: 6.586 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.913e-06/0.6005, allocations: 4 kB / 0.7303 GB, free: 6.582 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006011/0.6011, allocations: 265.1 kB / 0.7305 GB, free: 6.32 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003029/0.6014, allocations: 75.83 kB / 0.7306 GB, free: 6.246 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003953/0.6054, allocations: 3.188 MB / 0.7337 GB, free: 2.922 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008905/0.6063, allocations: 102.7 kB / 0.7338 GB, free: 2.824 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.947e-05/0.6063, allocations: 27.94 kB / 0.7338 GB, free: 2.797 MB / 0.545 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_m_flow.T_start,pulse_m_flow.T_start,$PRE.pulse_m_flow.count,pulse_m_flow.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (35): * Single equations (assignments): 33 * 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 22} Notification: Performance of prepare postOptimizeDAE: time 0.0005654/0.6069, allocations: 476.6 kB / 0.7343 GB, free: 2.32 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001242/0.607, allocations: 110.7 kB / 0.7344 GB, free: 2.211 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001563/0.6086, allocations: 0.7981 MB / 0.7352 GB, free: 1.398 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.182e-06/0.6086, allocations: 8 kB / 0.7352 GB, free: 1.391 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.745e-06/0.6086, allocations: 0 / 0.7352 GB, free: 1.391 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.392e-06/0.6086, allocations: 3.984 kB / 0.7352 GB, free: 1.387 MB / 0.545 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 postOpt removeSimpleEquations (simulation): time 0.002992/0.6116, allocations: 2.242 MB / 0.7374 GB, free: 15 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.209e-06/0.6116, allocations: 4 kB / 0.7374 GB, free: 15 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002447/0.6119, allocations: 47.89 kB / 0.7374 GB, free: 14.95 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004344/0.6123, allocations: 200.9 kB / 0.7376 GB, free: 14.75 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.792e-05/0.6124, allocations: 11.98 kB / 0.7376 GB, free: 14.74 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007186/0.6131, allocations: 0.8917 MB / 0.7385 GB, free: 13.82 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.953e-06/0.6131, allocations: 0 / 0.7385 GB, free: 13.82 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001293/0.6144, allocations: 0.9644 MB / 0.7394 GB, free: 12.79 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003885/0.6148, allocations: 243.7 kB / 0.7397 GB, free: 12.53 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000109/0.6149, allocations: 8 kB / 0.7397 GB, free: 12.52 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000672/0.6156, allocations: 83.69 kB / 0.7397 GB, free: 12.44 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.852e-05/0.6157, allocations: 39.84 kB / 0.7398 GB, free: 12.4 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.545e-05/0.6157, allocations: 12.09 kB / 0.7398 GB, free: 12.39 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001071/0.6168, allocations: 0.8328 MB / 0.7406 GB, free: 11.55 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6168, allocations: 0 / 0.7406 GB, free: 11.55 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001303/0.6181, allocations: 0.5032 MB / 0.7411 GB, free: 11.04 MB / 0.5606 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_m_flow.T_start,pulse_m_flow.count) * Number of discrete states: 1 (pulse_m_flow.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 19 * 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 13} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003699/0.6185, allocations: 192.9 kB / 0.7413 GB, free: 10.86 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001845/0.6203, allocations: 1.141 MB / 0.7424 GB, free: 9.68 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/0.6204, allocations: 0 / 0.7424 GB, free: 9.68 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0004596/0.6208, allocations: 263.7 kB / 0.7426 GB, free: 9.422 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003065/0.6239, allocations: 0.6543 MB / 0.7433 GB, free: 8.777 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002853/0.6268, allocations: 2.093 MB / 0.7453 GB, free: 6.637 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007174/0.6275, allocations: 1.232 MB / 0.7465 GB, free: 5.375 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0009097/0.6284, allocations: 332.6 kB / 0.7468 GB, free: 5.047 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001412/0.6286, allocations: 63.44 kB / 0.7469 GB, free: 4.984 MB / 0.5606 GB Notification: Performance of SimCode: time 6.31e-07/0.6286, allocations: 4 kB / 0.7469 GB, free: 4.98 MB / 0.5606 GB Notification: Performance of Templates: time 0.03506/0.6636, allocations: 21.11 MB / 0.7675 GB, free: 140 kB / 0.5762 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.sim & ./IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.pipe 2>&1)