Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.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.SeriesParallelFlowOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised") translateModel(IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00125/0.00125, allocations: 113.1 kB / 17.09 MB, free: 5.961 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.0009827/0.0009828, allocations: 198.9 kB / 18.03 MB, free: 5.043 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.214/1.214, 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.6681/0.6681, allocations: 115.3 MB / 407.2 MB, free: 6.18 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001139/0.001139, allocations: 66.91 kB / 0.5584 GB, free: 32.24 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1097/0.1108, allocations: 76.18 MB / 0.6328 GB, free: 4.391 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised): time 0.4154/0.5262, allocations: 167.7 MB / 0.7966 GB, free: 12.97 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.002961/0.5292, allocations: 2.203 MB / 0.7987 GB, free: 12.74 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002619/0.5295, allocations: 14.34 kB / 0.7987 GB, free: 12.74 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0005959/0.5301, allocations: 240.9 kB / 0.799 GB, free: 12.65 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.00128/0.5314, allocations: 0.6753 MB / 0.7996 GB, free: 12.48 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009043/0.5323, allocations: 443 kB / 0.8 GB, free: 12.43 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.002188/0.5345, allocations: 2.756 MB / 0.8027 GB, free: 11.98 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002322/0.5369, allocations: 2.555 MB / 0.8052 GB, free: 11.6 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001698/0.5386, allocations: 1.282 MB / 0.8065 GB, free: 11.25 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008471/0.5394, allocations: 0.8573 MB / 0.8073 GB, free: 10.94 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001279/0.5396, allocations: 75.59 kB / 0.8074 GB, free: 10.94 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001251/0.5408, allocations: 0.8132 MB / 0.8082 GB, free: 10.72 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002772/0.5411, allocations: 366 kB / 0.8085 GB, free: 10.57 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0005068/0.5416, allocations: 0.6193 MB / 0.8091 GB, free: 10.35 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001362/0.543, allocations: 1.62 MB / 0.8107 GB, free: 9.68 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.543, allocations: 0 / 0.8107 GB, free: 9.68 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.193e-06/0.543, allocations: 4 kB / 0.8107 GB, free: 9.676 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.346e-05/0.5431, allocations: 0 / 0.8107 GB, free: 9.676 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: 136 * Number of variables: 136 Notification: Performance of Generate backend data structure: time 0.002305/0.5454, allocations: 1.613 MB / 0.8123 GB, free: 8.637 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.094e-05/0.5454, allocations: 10.88 kB / 0.8123 GB, free: 8.637 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007769/0.5462, allocations: 199.5 kB / 0.8125 GB, free: 8.551 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001181/0.5474, allocations: 0.9304 MB / 0.8134 GB, free: 8 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.764e-05/0.5474, allocations: 50.09 kB / 0.8135 GB, free: 8 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.872e-05/0.5475, allocations: 70.33 kB / 0.8135 GB, free: 7.992 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001261/0.5488, allocations: 0.9882 MB / 0.8145 GB, free: 7.543 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.637e-05/0.5488, allocations: 6.312 kB / 0.8145 GB, free: 7.539 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.114e-05/0.5489, allocations: 21.75 kB / 0.8145 GB, free: 7.539 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.085e-05/0.5489, allocations: 15.62 kB / 0.8145 GB, free: 7.539 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001069/0.55, allocations: 0.802 MB / 0.8153 GB, free: 7.359 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.003666/0.5536, allocations: 4.78 MB / 0.82 GB, free: 3.207 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002217/0.5559, allocations: 4.015 MB / 0.8239 GB, free: 14.68 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004488/0.5563, allocations: 349.8 kB / 0.8242 GB, free: 14.51 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002704/0.5566, allocations: 199.9 kB / 0.8244 GB, free: 14.3 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004827/0.5571, allocations: 316.1 kB / 0.8247 GB, free: 14.1 MB / 0.6075 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0002171/0.5573, allocations: 29.38 kB / 0.8248 GB, free: 14.08 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=35): time 1.954e-06/0.5573, allocations: 0 / 0.8248 GB, free: 14.08 MB / 0.6075 GB Notification: Performance of matching and sorting (n=35): time 0.004197/0.5616, allocations: 1.588 MB / 0.8263 GB, free: 13.21 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.687e-05/0.5616, allocations: 81.89 kB / 0.8264 GB, free: 13.11 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001198/0.5628, allocations: 1.181 MB / 0.8275 GB, free: 12.49 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.45e-05/0.5629, allocations: 38.83 kB / 0.8276 GB, free: 12.45 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003768/0.5632, allocations: 0.5092 MB / 0.8281 GB, free: 12.01 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 8.296e-05/0.5633, allocations: 124.5 kB / 0.8282 GB, free: 11.91 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001498/0.5635, allocations: 116.2 kB / 0.8283 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001067/0.5636, allocations: 331.4 kB / 0.8286 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003717/0.564, allocations: 236.9 kB / 0.8288 GB, free: 11.4 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005987/0.5646, allocations: 0.5506 MB / 0.8294 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008453/0.5654, allocations: 0.6846 MB / 0.83 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/0.5655, allocations: 0 / 0.83 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.001987/0.5674, allocations: 1.099 MB / 0.8311 GB, free: 9.785 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.899e-05/0.5675, allocations: 41.36 kB / 0.8312 GB, free: 9.746 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.136e-06/0.5675, allocations: 7.5 kB / 0.8312 GB, free: 9.746 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001113/0.5686, allocations: 355.6 kB / 0.8315 GB, free: 9.586 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003487/0.569, allocations: 95.45 kB / 0.8316 GB, free: 9.555 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008998/0.5699, allocations: 1.004 MB / 0.8326 GB, free: 8.781 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007574/0.5707, allocations: 69.05 kB / 0.8326 GB, free: 8.746 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.649e-05/0.5707, allocations: 23.59 kB / 0.8327 GB, free: 8.742 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006358/0.5714, allocations: 0.5257 MB / 0.8332 GB, free: 8.438 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005346/0.5719, allocations: 0.5327 MB / 0.8337 GB, free: 7.914 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006995/0.5726, allocations: 0.6086 MB / 0.8343 GB, free: 7.449 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.314e-06/0.5726, allocations: 0 / 0.8343 GB, free: 7.449 MB / 0.6075 GB Notification: Performance of matching and sorting (n=58) (initialization_lambda0): time 0.001337/0.574, allocations: 0.8933 MB / 0.8352 GB, free: 6.961 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.409e-05/0.574, allocations: 37.03 kB / 0.8352 GB, free: 6.926 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.574, allocations: 11.69 kB / 0.8352 GB, free: 6.922 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004445/0.5745, allocations: 216.8 kB / 0.8354 GB, free: 6.832 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000336/0.5748, allocations: 97.3 kB / 0.8355 GB, free: 6.801 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003127/0.578, allocations: 3.157 MB / 0.8386 GB, free: 4.297 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007392/0.5787, allocations: 70.31 kB / 0.8387 GB, free: 4.266 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.345e-05/0.5788, allocations: 21.84 kB / 0.8387 GB, free: 4.262 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_m_flow.count,$PRE.pulse_m_flow.count,pulse_m_flow.T_start,$PRE.pulse_m_flow.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (38): * Single equations (assignments): 36 * 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.0001628/0.5789, allocations: 219.4 kB / 0.8389 GB, free: 4.055 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001145/0.579, allocations: 113.1 kB / 0.839 GB, free: 3.992 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001253/0.5803, allocations: 0.7821 MB / 0.8398 GB, free: 3.469 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.634e-06/0.5803, allocations: 4 kB / 0.8398 GB, free: 3.465 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.5803, allocations: 4 kB / 0.8398 GB, free: 3.461 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002636/0.5806, allocations: 223.8 kB / 0.84 GB, free: 3.223 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001106/0.5807, allocations: 7.938 kB / 0.84 GB, free: 3.215 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005139/0.5812, allocations: 39.94 kB / 0.84 GB, free: 3.176 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.691e-05/0.5813, allocations: 43.92 kB / 0.8401 GB, free: 3.133 MB / 0.6075 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001411/0.5828, allocations: 0.8504 MB / 0.8409 GB, free: 2.281 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001189/0.584, allocations: 1.004 MB / 0.8419 GB, free: 1.262 MB / 0.6075 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003205/0.5843, allocations: 208.3 kB / 0.8421 GB, free: 1.059 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0009076/0.5852, allocations: 0.8327 MB / 0.8429 GB, free: 224 kB / 0.6075 GB Notification: Performance of Backend: time 2.91e-07/0.5852, allocations: 0 / 0.8429 GB, free: 224 kB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.002509/0.5877, allocations: 1.215 MB / 0.8441 GB, free: 14.98 MB / 0.6231 GB Notification: Performance of SimCode: time 0.003646/0.5914, allocations: 2.768 MB / 0.8468 GB, free: 12.17 MB / 0.6231 GB Notification: Performance of Templates: time 0.0312/0.6226, allocations: 22 MB / 0.8683 GB, free: 6.418 MB / 0.6387 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.sim & ./IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.pipe 2>&1)