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.001075/0.001075, allocations: 93.41 kB / 15.7 MB, free: 472 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.001414/0.001414, allocations: 170.4 kB / 16.58 MB, free: 6.059 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.385/1.385, allocations: 223.3 MB / 240.6 MB, free: 5.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7027/0.7027, allocations: 115.5 MB / 407.2 MB, free: 2.852 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003118/0.0003119, allocations: 9.344 kB / 495.2 MB, free: 6.738 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1356/0.1359, allocations: 77.53 MB / 0.5593 GB, free: 9.41 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised): time 0.4044/0.5403, allocations: 152.4 MB / 0.7081 GB, free: 14.99 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.005067/0.5454, allocations: 3.789 MB / 0.7118 GB, free: 11.19 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003689/0.5458, allocations: 19.88 kB / 0.7119 GB, free: 11.17 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0005635/0.5464, allocations: 154.9 kB / 0.712 GB, free: 11.02 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.001313/0.5477, allocations: 0.5015 MB / 0.7125 GB, free: 10.51 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.001121/0.5489, allocations: 416.7 kB / 0.7129 GB, free: 10.11 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.00319/0.5521, allocations: 3.256 MB / 0.7161 GB, free: 6.848 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002917/0.555, allocations: 2.293 MB / 0.7183 GB, free: 4.555 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002119/0.5571, allocations: 1.062 MB / 0.7193 GB, free: 3.488 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001085/0.5582, allocations: 0.8521 MB / 0.7202 GB, free: 2.633 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.00013/0.5584, allocations: 48 kB / 0.7202 GB, free: 2.586 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001329/0.5597, allocations: 0.5964 MB / 0.7208 GB, free: 1.988 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0003422/0.5601, allocations: 330.8 kB / 0.7211 GB, free: 1.664 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0003223/0.5604, allocations: 249.1 kB / 0.7214 GB, free: 1.414 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.001183/0.5616, allocations: 1.173 MB / 0.7225 GB, free: 240 kB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 6.722e-06/0.5616, allocations: 4 kB / 0.7225 GB, free: 236 kB / 0.5294 GB Notification: Performance of FrontEnd: time 1.502e-06/0.5616, allocations: 3.938 kB / 0.7225 GB, free: 232 kB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.252e-05/0.5616, allocations: 0 / 0.7225 GB, free: 232 kB / 0.5294 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.00243/0.5641, allocations: 1.519 MB / 0.724 GB, free: 14.64 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.426e-05/0.5641, allocations: 12.03 kB / 0.724 GB, free: 14.63 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007911/0.5649, allocations: 198.3 kB / 0.7242 GB, free: 14.44 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001457/0.5664, allocations: 0.8679 MB / 0.725 GB, free: 13.52 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.777e-05/0.5664, allocations: 54.14 kB / 0.7251 GB, free: 13.46 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001084/0.5665, allocations: 64 kB / 0.7252 GB, free: 13.4 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001466/0.568, allocations: 0.9898 MB / 0.7261 GB, free: 12.34 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.897e-05/0.5681, allocations: 3.938 kB / 0.7261 GB, free: 12.33 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.995e-05/0.5681, allocations: 35.92 kB / 0.7262 GB, free: 12.3 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.339e-05/0.5682, allocations: 16 kB / 0.7262 GB, free: 12.28 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001292/0.5695, allocations: 0.7999 MB / 0.727 GB, free: 11.48 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 preOpt removeSimpleEquations (simulation): time 0.004377/0.5738, allocations: 4.805 MB / 0.7316 GB, free: 6.336 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002466/0.5763, allocations: 4.029 MB / 0.7356 GB, free: 1.484 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005112/0.5769, allocations: 345.2 kB / 0.7359 GB, free: 1.145 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000284/0.5772, allocations: 202.5 kB / 0.7361 GB, free: 0.9102 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005314/0.5777, allocations: 321.1 kB / 0.7364 GB, free: 0.5781 MB / 0.545 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0002594/0.578, allocations: 43.59 kB / 0.7365 GB, free: 0.5352 MB / 0.545 GB Notification: Performance of pre-optimization done (n=35): time 2.174e-06/0.578, allocations: 0 / 0.7365 GB, free: 0.5352 MB / 0.545 GB Notification: Performance of matching and sorting (n=35): time 0.004924/0.5829, allocations: 1.75 MB / 0.7382 GB, free: 14.75 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.696e-05/0.583, allocations: 89.06 kB / 0.7382 GB, free: 14.65 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001437/0.5844, allocations: 1.181 MB / 0.7394 GB, free: 13.45 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.719e-05/0.5845, allocations: 37.7 kB / 0.7394 GB, free: 13.41 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004285/0.5849, allocations: 0.5122 MB / 0.7399 GB, free: 12.89 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001072/0.585, allocations: 126.3 kB / 0.7401 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.767e-05/0.5851, allocations: 8 kB / 0.7401 GB, free: 12.76 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001077/0.5852, allocations: 329.9 kB / 0.7404 GB, free: 12.43 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003699/0.5856, allocations: 209 kB / 0.7406 GB, free: 12.23 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006175/0.5862, allocations: 0.5332 MB / 0.7411 GB, free: 11.56 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000471/0.5867, allocations: 322.6 kB / 0.7414 GB, free: 11.24 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.907e-06/0.5867, allocations: 0 / 0.7414 GB, free: 11.24 MB / 0.5606 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.002224/0.5889, allocations: 1.075 MB / 0.7425 GB, free: 10.14 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001822/0.5891, allocations: 283.5 kB / 0.7427 GB, free: 9.785 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.109e-05/0.5891, allocations: 4 kB / 0.7427 GB, free: 9.781 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001281/0.5904, allocations: 382.9 kB / 0.7431 GB, free: 9.406 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002927/0.5907, allocations: 71.83 kB / 0.7432 GB, free: 9.336 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001081/0.5918, allocations: 1.052 MB / 0.7442 GB, free: 8.258 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000882/0.5927, allocations: 103.7 kB / 0.7443 GB, free: 8.156 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.49e-05/0.5928, allocations: 27.98 kB / 0.7443 GB, free: 8.129 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 9.558e-06/0.5928, allocations: 6.031 kB / 0.7443 GB, free: 8.125 MB / 0.5606 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001439/0.5942, allocations: 0.8059 MB / 0.7451 GB, free: 7.309 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.476e-06/0.5943, allocations: 8.625 kB / 0.7451 GB, free: 7.301 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007355/0.595, allocations: 266.1 kB / 0.7454 GB, free: 7.039 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002852/0.5953, allocations: 67.89 kB / 0.7454 GB, free: 6.973 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00374/0.599, allocations: 3.126 MB / 0.7485 GB, free: 3.711 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008696/0.5999, allocations: 99.8 kB / 0.7486 GB, free: 3.613 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.239e-05/0.6, allocations: 24 kB / 0.7486 GB, free: 3.59 MB / 0.5606 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.0005734/0.6006, allocations: 487.7 kB / 0.7491 GB, free: 3.105 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001283/0.6007, allocations: 102.7 kB / 0.7492 GB, free: 3.004 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001453/0.6022, allocations: 0.8244 MB / 0.75 GB, free: 2.168 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.662e-06/0.6022, allocations: 7.984 kB / 0.75 GB, free: 2.16 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.347e-06/0.6022, allocations: 3.984 kB / 0.75 GB, free: 2.156 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.911e-06/0.6022, allocations: 3.938 kB / 0.75 GB, free: 2.152 MB / 0.5606 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.002884/0.6051, allocations: 2.176 MB / 0.7521 GB, free: 15.84 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.791e-06/0.6051, allocations: 4 kB / 0.7521 GB, free: 15.83 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002286/0.6053, allocations: 47.89 kB / 0.7522 GB, free: 15.79 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004616/0.6058, allocations: 208.9 kB / 0.7524 GB, free: 15.58 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.679e-05/0.6059, allocations: 12 kB / 0.7524 GB, free: 15.57 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007637/0.6066, allocations: 0.8925 MB / 0.7532 GB, free: 14.65 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.6066, allocations: 0 / 0.7532 GB, free: 14.65 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00129/0.6079, allocations: 0.8945 MB / 0.7541 GB, free: 13.71 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003434/0.6083, allocations: 235.7 kB / 0.7543 GB, free: 13.46 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001253/0.6084, allocations: 8 kB / 0.7544 GB, free: 13.46 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006443/0.6091, allocations: 75.75 kB / 0.7544 GB, free: 13.38 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.673e-05/0.6092, allocations: 35.91 kB / 0.7545 GB, free: 13.35 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.737e-05/0.6092, allocations: 12 kB / 0.7545 GB, free: 13.34 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001037/0.6103, allocations: 0.8328 MB / 0.7553 GB, free: 12.5 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2e-07/0.6103, allocations: 0 / 0.7553 GB, free: 12.5 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001419/0.6117, allocations: 0.5032 MB / 0.7558 GB, free: 11.99 MB / 0.5762 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.0003824/0.6121, allocations: 176.8 kB / 0.7559 GB, free: 11.82 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001914/0.614, allocations: 1.139 MB / 0.7571 GB, free: 10.64 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.614, allocations: 0 / 0.7571 GB, free: 10.64 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0004827/0.6145, allocations: 256.3 kB / 0.7573 GB, free: 10.39 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003071/0.6176, allocations: 0.6553 MB / 0.7579 GB, free: 9.746 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002969/0.6206, allocations: 2.123 MB / 0.76 GB, free: 7.574 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000708/0.6213, allocations: 1.209 MB / 0.7612 GB, free: 6.336 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0009863/0.6223, allocations: 332.6 kB / 0.7615 GB, free: 6.008 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001398/0.6225, allocations: 71.42 kB / 0.7616 GB, free: 5.938 MB / 0.5762 GB Notification: Performance of SimCode: time 5.61e-07/0.6225, allocations: 0 / 0.7616 GB, free: 5.938 MB / 0.5762 GB Notification: Performance of Templates: time 0.0332/0.6557, allocations: 21.12 MB / 0.7822 GB, free: 1.086 MB / 0.5919 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)