Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised") translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.712/2.712, allocations: 287.3 MB / 302.3 MB, free: 8.227 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001625/0.001625, allocations: 196.3 kB / 370.8 MB, free: 10.88 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.353/2.353, allocations: 205.4 MB / 0.6295 GB, free: 10.63 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001242/0.001242, allocations: 110.1 kB / 0.7428 GB, free: 6.633 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006551/0.0006553, allocations: 12 kB / 0.8656 GB, free: 140.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2285/0.2292, allocations: 115.3 MB / 0.9782 GB, free: 28.4 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised): time 0.9262/1.155, allocations: 140.5 MB / 1.115 GB, free: 0.957 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.007746/1.163, allocations: 3.594 MB / 1.119 GB, free: 0.6641 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007223/1.164, allocations: 13.81 kB / 1.119 GB, free: 0.6562 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.001198/1.165, allocations: 234.9 kB / 1.119 GB, free: 0.6211 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.00346/1.169, allocations: 0.6852 MB / 1.12 GB, free: 0.582 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.002496/1.171, allocations: 491.3 kB / 1.12 GB, free: 0.5625 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.00368/1.175, allocations: 1.649 MB / 1.122 GB, free: 0.4922 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004632/1.18, allocations: 2.319 MB / 1.124 GB, free: 240 kB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002835/1.183, allocations: 0.8578 MB / 1.125 GB, free: 100 kB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001735/1.184, allocations: 0.6066 MB / 1.126 GB, free: 15.98 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0003053/1.185, allocations: 50.88 kB / 1.126 GB, free: 15.98 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002301/1.187, allocations: 458.7 kB / 1.126 GB, free: 15.96 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.000785/1.188, allocations: 303.2 kB / 1.126 GB, free: 15.93 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.000756/1.189, allocations: 249.8 kB / 1.127 GB, free: 15.86 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.002524/1.191, allocations: 1.132 MB / 1.128 GB, free: 15.75 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/1.191, allocations: 0 / 1.128 GB, free: 15.75 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.086e-06/1.191, allocations: 0 / 1.128 GB, free: 15.75 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.732e-05/1.191, allocations: 0 / 1.128 GB, free: 15.75 MB / 0.698 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.005077/1.196, allocations: 1.502 MB / 1.129 GB, free: 14.91 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.521e-05/1.196, allocations: 8.781 kB / 1.129 GB, free: 14.91 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001459/1.198, allocations: 203.4 kB / 1.129 GB, free: 14.84 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002908/1.201, allocations: 0.8703 MB / 1.13 GB, free: 14.5 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.449e-05/1.201, allocations: 53.41 kB / 1.13 GB, free: 14.49 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001926/1.201, allocations: 60.53 kB / 1.13 GB, free: 14.49 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002425/1.204, allocations: 0.9828 MB / 1.131 GB, free: 14.26 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.322e-05/1.204, allocations: 7.188 kB / 1.131 GB, free: 14.25 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001057/1.204, allocations: 29.38 kB / 1.131 GB, free: 14.25 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.884e-05/1.204, allocations: 13.94 kB / 1.131 GB, free: 14.25 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002289/1.206, allocations: 0.8032 MB / 1.132 GB, free: 14.23 MB / 0.698 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.008362/1.215, allocations: 4.805 MB / 1.137 GB, free: 10.53 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003579/1.218, allocations: 4.023 MB / 1.141 GB, free: 6.137 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001327/1.218, allocations: 19.05 kB / 1.141 GB, free: 6.133 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001016/1.219, allocations: 336.3 kB / 1.141 GB, free: 5.977 MB / 0.698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006649/1.22, allocations: 34.81 kB / 1.141 GB, free: 5.957 MB / 0.698 GB Notification: Performance of pre-optimization done (n=35): time 4.178e-06/1.22, allocations: 1.25 kB / 1.141 GB, free: 5.957 MB / 0.698 GB Notification: Performance of matching and sorting (n=35): time 0.009751/1.23, allocations: 1.745 MB / 1.143 GB, free: 5.203 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.487e-05/1.23, allocations: 114.9 kB / 1.143 GB, free: 5.074 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002794/1.233, allocations: 1.181 MB / 1.144 GB, free: 4.703 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001864/1.233, allocations: 38.17 kB / 1.144 GB, free: 4.672 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006554/1.234, allocations: 0.5155 MB / 1.145 GB, free: 4.449 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001976/1.234, allocations: 124.3 kB / 1.145 GB, free: 4.363 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.2e-05/1.234, allocations: 8.406 kB / 1.145 GB, free: 4.363 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001492/1.234, allocations: 322.6 kB / 1.145 GB, free: 4.055 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007246/1.235, allocations: 206.3 kB / 1.145 GB, free: 4.008 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001052/1.236, allocations: 0.5378 MB / 1.146 GB, free: 3.566 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000877/1.237, allocations: 314.2 kB / 1.146 GB, free: 3.469 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.655e-06/1.237, allocations: 3.25 kB / 1.146 GB, free: 3.469 MB / 0.698 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.004238/1.241, allocations: 1.091 MB / 1.147 GB, free: 3.051 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009529/1.242, allocations: 2.144 MB / 1.149 GB, free: 0.8047 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.43e-05/1.242, allocations: 4.594 kB / 1.149 GB, free: 0.8047 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002596/1.245, allocations: 372.4 kB / 1.15 GB, free: 0.6836 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006253/1.245, allocations: 75.12 kB / 1.15 GB, free: 0.6641 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001946/1.247, allocations: 1.051 MB / 1.151 GB, free: 16 kB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002/1.249, allocations: 104.3 kB / 1.151 GB, free: 15.97 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001296/1.25, allocations: 25.41 kB / 1.151 GB, free: 15.97 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.593e-05/1.25, allocations: 3.531 kB / 1.151 GB, free: 15.97 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002649/1.252, allocations: 0.8111 MB / 1.152 GB, free: 15.72 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.852e-05/1.252, allocations: 10.08 kB / 1.152 GB, free: 15.71 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001152/1.253, allocations: 262.6 kB / 1.152 GB, free: 15.64 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005999/1.254, allocations: 77.48 kB / 1.152 GB, free: 15.62 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006536/1.261, allocations: 3.182 MB / 1.155 GB, free: 13.8 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00191/1.263, allocations: 103.8 kB / 1.155 GB, free: 13.75 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001138/1.263, allocations: 24.59 kB / 1.155 GB, free: 13.75 MB / 0.7136 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.001098/1.264, allocations: 479 kB / 1.156 GB, free: 13.48 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003887/1.264, allocations: 110.7 kB / 1.156 GB, free: 13.43 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00249/1.267, allocations: 0.7943 MB / 1.156 GB, free: 13.16 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.374e-05/1.267, allocations: 7.906 kB / 1.156 GB, free: 13.16 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/1.267, allocations: 1.25 kB / 1.156 GB, free: 13.16 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.319e-05/1.267, allocations: 9.109 kB / 1.157 GB, free: 13.15 MB / 0.7136 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.00658/1.273, allocations: 2.238 MB / 1.159 GB, free: 11.88 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.927e-06/1.274, allocations: 0.9062 kB / 1.159 GB, free: 11.88 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000472/1.274, allocations: 49.42 kB / 1.159 GB, free: 11.86 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009361/1.275, allocations: 215.8 kB / 1.159 GB, free: 11.79 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.043e-05/1.275, allocations: 10.88 kB / 1.159 GB, free: 11.79 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001297/1.276, allocations: 0.8798 MB / 1.16 GB, free: 11.18 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.751e-06/1.276, allocations: 6.5 kB / 1.16 GB, free: 11.18 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002608/1.279, allocations: 0.9783 MB / 1.161 GB, free: 10.63 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008579/1.28, allocations: 239 kB / 1.161 GB, free: 10.46 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002414/1.28, allocations: 9.656 kB / 1.161 GB, free: 10.46 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001401/1.282, allocations: 77.78 kB / 1.161 GB, free: 10.43 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001397/1.282, allocations: 37.83 kB / 1.161 GB, free: 10.41 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.397e-05/1.282, allocations: 13.81 kB / 1.161 GB, free: 10.41 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.001958/1.284, allocations: 0.8332 MB / 1.162 GB, free: 10.13 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4e-07/1.284, allocations: 0 / 1.162 GB, free: 10.13 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.002322/1.286, allocations: 0.5095 MB / 1.162 GB, free: 10.09 MB / 0.7136 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.0006216/1.287, allocations: 181.3 kB / 1.163 GB, free: 9.973 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.003145/1.29, allocations: 1.139 MB / 1.164 GB, free: 9.496 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 7.384e-06/1.29, allocations: 2.938 kB / 1.164 GB, free: 9.496 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0008593/1.291, allocations: 255.3 kB / 1.164 GB, free: 9.441 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00611/1.297, allocations: 0.6548 MB / 1.165 GB, free: 9.188 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005/1.302, allocations: 2.092 MB / 1.167 GB, free: 8.023 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001075/1.303, allocations: 1.242 MB / 1.168 GB, free: 7.105 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.001863/1.305, allocations: 330.4 kB / 1.168 GB, free: 6.961 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002624/1.305, allocations: 71.95 kB / 1.168 GB, free: 6.949 MB / 0.7136 GB Notification: Performance of SimCode: time 1.513e-06/1.305, allocations: 0 / 1.168 GB, free: 6.949 MB / 0.7136 GB Notification: Performance of Templates: time 0.05715/1.363, allocations: 21.13 MB / 1.189 GB, free: 8.832 MB / 0.7292 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.sim & ./Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.pipe 2>&1)