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.727/2.727, allocations: 287.5 MB / 302.4 MB, free: 8.156 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.001365/0.001365, allocations: 182.4 kB / 371 MB, free: 10.86 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.151/2.151, allocations: 205.4 MB / 0.6297 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.0009244/0.0009243, allocations: 89.89 kB / 0.743 GB, free: 6.641 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000475/0.0004753, allocations: 16.23 kB / 0.8658 GB, free: 140.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.217/0.2175, allocations: 115.3 MB / 0.9784 GB, free: 28.39 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised): time 0.9424/1.16, allocations: 152.4 MB / 1.127 GB, free: 0.8438 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.007364/1.167, allocations: 3.782 MB / 1.131 GB, free: 0.5078 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007282/1.168, allocations: 13.84 kB / 1.131 GB, free: 0.5039 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0008653/1.169, allocations: 161.2 kB / 1.131 GB, free: 456 kB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.002243/1.171, allocations: 0.5003 MB / 1.132 GB, free: 332 kB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.001957/1.173, allocations: 404.7 kB / 1.132 GB, free: 296 kB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.004981/1.178, allocations: 3.279 MB / 1.135 GB, free: 15.83 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004315/1.183, allocations: 2.298 MB / 1.137 GB, free: 15.45 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003377/1.186, allocations: 1.058 MB / 1.138 GB, free: 15.22 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002229/1.188, allocations: 0.8518 MB / 1.139 GB, free: 15.05 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0003729/1.189, allocations: 50.34 kB / 1.139 GB, free: 15.05 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002707/1.192, allocations: 0.5956 MB / 1.14 GB, free: 15 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0008219/1.192, allocations: 331.4 kB / 1.14 GB, free: 14.96 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0007314/1.193, allocations: 248.6 kB / 1.14 GB, free: 14.89 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.002751/1.196, allocations: 1.18 MB / 1.142 GB, free: 14.55 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 7.674e-06/1.196, allocations: 0 / 1.142 GB, free: 14.55 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.645e-06/1.196, allocations: 1.188 kB / 1.142 GB, free: 14.55 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.747e-05/1.196, allocations: 0 / 1.142 GB, free: 14.55 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.005067/1.201, allocations: 1.518 MB / 1.143 GB, free: 13.5 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.794e-05/1.201, allocations: 9.312 kB / 1.143 GB, free: 13.5 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001565/1.203, allocations: 204.7 kB / 1.143 GB, free: 13.41 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003104/1.206, allocations: 0.8748 MB / 1.144 GB, free: 12.89 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.752e-05/1.206, allocations: 45.94 kB / 1.144 GB, free: 12.89 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000194/1.206, allocations: 66.59 kB / 1.144 GB, free: 12.89 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002605/1.209, allocations: 0.9878 MB / 1.145 GB, free: 12.45 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.989e-05/1.209, allocations: 1.094 kB / 1.145 GB, free: 12.45 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001038/1.209, allocations: 23.58 kB / 1.145 GB, free: 12.45 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.216e-05/1.209, allocations: 13.34 kB / 1.145 GB, free: 12.45 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002331/1.211, allocations: 0.8132 MB / 1.146 GB, free: 12.26 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.008532/1.22, allocations: 4.807 MB / 1.151 GB, free: 8.445 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003717/1.224, allocations: 4.016 MB / 1.155 GB, free: 4.059 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009758/1.225, allocations: 345.6 kB / 1.155 GB, free: 4 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000424/1.225, allocations: 199.4 kB / 1.155 GB, free: 3.797 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009043/1.226, allocations: 336.5 kB / 1.155 GB, free: 3.648 MB / 0.698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007067/1.227, allocations: 39.84 kB / 1.156 GB, free: 3.625 MB / 0.698 GB Notification: Performance of pre-optimization done (n=35): time 3.697e-06/1.227, allocations: 0 / 1.156 GB, free: 3.625 MB / 0.698 GB Notification: Performance of matching and sorting (n=35): time 0.01004/1.237, allocations: 1.766 MB / 1.157 GB, free: 2.844 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.441e-05/1.237, allocations: 81.83 kB / 1.157 GB, free: 2.75 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002767/1.24, allocations: 1.181 MB / 1.158 GB, free: 2.379 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001659/1.24, allocations: 40.77 kB / 1.158 GB, free: 2.348 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006421/1.241, allocations: 0.5048 MB / 1.159 GB, free: 2.133 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002097/1.241, allocations: 127.3 kB / 1.159 GB, free: 2.039 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.276e-05/1.241, allocations: 10.47 kB / 1.159 GB, free: 2.039 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001415/1.241, allocations: 327.1 kB / 1.159 GB, free: 1.727 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006738/1.242, allocations: 205.3 kB / 1.16 GB, free: 1.68 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001023/1.243, allocations: 0.5332 MB / 1.16 GB, free: 1.246 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008799/1.244, allocations: 319.5 kB / 1.16 GB, free: 1.145 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.148e-05/1.244, allocations: 5.172 kB / 1.16 GB, free: 1.141 MB / 0.698 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.004371/1.248, allocations: 1.078 MB / 1.162 GB, free: 0.7305 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002723/1.249, allocations: 270.3 kB / 1.162 GB, free: 424 kB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.502e-05/1.249, allocations: 5.781 kB / 1.162 GB, free: 424 kB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002483/1.251, allocations: 382.7 kB / 1.162 GB, free: 288 kB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006823/1.252, allocations: 79.36 kB / 1.162 GB, free: 264 kB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002025/1.254, allocations: 1.054 MB / 1.163 GB, free: 15.61 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002192/1.256, allocations: 99.8 kB / 1.163 GB, free: 15.57 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001572/1.256, allocations: 27.62 kB / 1.163 GB, free: 15.57 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.624e-05/1.256, allocations: 5.594 kB / 1.163 GB, free: 15.57 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002597/1.259, allocations: 0.8201 MB / 1.164 GB, free: 15.3 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.509e-05/1.259, allocations: 6.062 kB / 1.164 GB, free: 15.3 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001164/1.26, allocations: 257 kB / 1.164 GB, free: 15.24 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005904/1.261, allocations: 75.55 kB / 1.164 GB, free: 15.22 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006292/1.267, allocations: 3.127 MB / 1.168 GB, free: 13.39 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001925/1.269, allocations: 100.9 kB / 1.168 GB, free: 13.36 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001082/1.269, allocations: 25.94 kB / 1.168 GB, free: 13.35 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.0009914/1.27, allocations: 477.7 kB / 1.168 GB, free: 13.09 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003527/1.271, allocations: 118.9 kB / 1.168 GB, free: 13.02 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002456/1.273, allocations: 0.8215 MB / 1.169 GB, free: 12.74 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.235e-05/1.273, allocations: 5.812 kB / 1.169 GB, free: 12.74 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.024e-06/1.273, allocations: 3.984 kB / 1.169 GB, free: 12.73 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.574e-06/1.273, allocations: 0 / 1.169 GB, free: 12.73 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.005339/1.279, allocations: 2.154 MB / 1.171 GB, free: 11.54 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.211e-05/1.279, allocations: 1.844 kB / 1.171 GB, free: 11.54 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000451/1.279, allocations: 53.42 kB / 1.171 GB, free: 11.52 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008672/1.28, allocations: 218.3 kB / 1.171 GB, free: 11.43 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.557e-05/1.28, allocations: 16.22 kB / 1.171 GB, free: 11.43 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001207/1.281, allocations: 0.8769 MB / 1.172 GB, free: 10.82 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.34e-06/1.281, allocations: 4.672 kB / 1.172 GB, free: 10.82 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002336/1.284, allocations: 0.8889 MB / 1.173 GB, free: 10.39 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008317/1.284, allocations: 237 kB / 1.173 GB, free: 10.22 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002197/1.285, allocations: 15.16 kB / 1.173 GB, free: 10.22 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00142/1.286, allocations: 77.75 kB / 1.173 GB, free: 10.18 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001391/1.286, allocations: 33.27 kB / 1.174 GB, free: 10.17 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.319e-05/1.286, allocations: 13.81 kB / 1.174 GB, free: 10.17 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.001915/1.288, allocations: 0.8291 MB / 1.174 GB, free: 9.898 MB / 0.7136 GB Notification: Performance of sort global known variables: time 8.32e-07/1.288, allocations: 0 / 1.174 GB, free: 9.898 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.002566/1.291, allocations: 0.5069 MB / 1.175 GB, free: 9.855 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.0006243/1.292, allocations: 187.9 kB / 1.175 GB, free: 9.73 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.003217/1.295, allocations: 1.145 MB / 1.176 GB, free: 9.246 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 7.494e-06/1.295, allocations: 0 / 1.176 GB, free: 9.246 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0008764/1.296, allocations: 259.6 kB / 1.176 GB, free: 9.188 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006533/1.302, allocations: 0.6543 MB / 1.177 GB, free: 8.945 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00516/1.308, allocations: 2.108 MB / 1.179 GB, free: 7.762 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001059/1.309, allocations: 1.213 MB / 1.18 GB, free: 6.871 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.001825/1.311, allocations: 329.4 kB / 1.181 GB, free: 6.723 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002859/1.311, allocations: 67.88 kB / 1.181 GB, free: 6.715 MB / 0.7136 GB Notification: Performance of SimCode: time 1.142e-06/1.311, allocations: 0 / 1.181 GB, free: 6.715 MB / 0.7136 GB Notification: Performance of Templates: time 0.05841/1.369, allocations: 21.13 MB / 1.201 GB, free: 5.383 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)