Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp") translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.718/1.718, allocations: 288.4 MB / 303.4 MB, free: 8.176 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.001382/0.001382, allocations: 176.5 kB / 372 MB, free: 10.22 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.444/1.444, allocations: 205.4 MB / 0.6307 GB, free: 9.957 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.0007459/0.000746, allocations: 94.28 kB / 0.7441 GB, free: 5.883 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004479/0.000448, allocations: 11.81 kB / 0.867 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1962/0.1966, allocations: 115.3 MB / 0.9796 GB, free: 27.65 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp): time 0.5818/0.7785, allocations: 152.4 MB / 1.128 GB, free: 1.477 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.004507/0.7831, allocations: 3.773 MB / 1.132 GB, free: 1.148 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004365/0.7835, allocations: 10.81 kB / 1.132 GB, free: 1.145 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0006228/0.7842, allocations: 167 kB / 1.132 GB, free: 1.082 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.001434/0.7856, allocations: 0.4963 MB / 1.133 GB, free: 0.9609 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.001156/0.7868, allocations: 409 kB / 1.133 GB, free: 0.9219 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.002469/0.7892, allocations: 3.27 MB / 1.136 GB, free: 416 kB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002289/0.7915, allocations: 2.297 MB / 1.139 GB, free: 15.9 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001856/0.7934, allocations: 1.067 MB / 1.14 GB, free: 15.54 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009414/0.7944, allocations: 0.8391 MB / 1.14 GB, free: 15.16 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0001045/0.7945, allocations: 50.34 kB / 1.14 GB, free: 15.16 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001239/0.7957, allocations: 0.598 MB / 1.141 GB, free: 14.96 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0002948/0.796, allocations: 335.2 kB / 1.141 GB, free: 14.79 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0002432/0.7963, allocations: 247.5 kB / 1.142 GB, free: 14.72 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.001202/0.7975, allocations: 1.18 MB / 1.143 GB, free: 14.11 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.7975, allocations: 0 / 1.143 GB, free: 14.11 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.132e-06/0.7975, allocations: 0 / 1.143 GB, free: 14.11 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.614e-05/0.7975, allocations: 0 / 1.143 GB, free: 14.11 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.002642/0.8002, allocations: 1.528 MB / 1.144 GB, free: 13.06 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.193e-05/0.8002, allocations: 9.312 kB / 1.144 GB, free: 13.06 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007662/0.801, allocations: 203.5 kB / 1.144 GB, free: 12.97 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001521/0.8025, allocations: 0.8611 MB / 1.145 GB, free: 12.46 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.668e-05/0.8026, allocations: 46.91 kB / 1.145 GB, free: 12.46 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001303/0.8027, allocations: 65.75 kB / 1.145 GB, free: 12.45 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001453/0.8042, allocations: 0.9842 MB / 1.146 GB, free: 12.01 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.759e-05/0.8042, allocations: 10.06 kB / 1.146 GB, free: 12 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.891e-05/0.8043, allocations: 24 kB / 1.146 GB, free: 12 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.525e-05/0.8043, allocations: 15.34 kB / 1.146 GB, free: 12 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00129/0.8056, allocations: 0.8008 MB / 1.147 GB, free: 11.82 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.004588/0.8102, allocations: 4.818 MB / 1.152 GB, free: 8 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002525/0.8128, allocations: 4.024 MB / 1.156 GB, free: 3.605 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005181/0.8133, allocations: 353.9 kB / 1.156 GB, free: 3.539 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003002/0.8136, allocations: 196.1 kB / 1.156 GB, free: 3.34 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005571/0.8142, allocations: 335 kB / 1.157 GB, free: 3.191 MB / 0.698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000514/0.8147, allocations: 37.97 kB / 1.157 GB, free: 3.172 MB / 0.698 GB Notification: Performance of pre-optimization done (n=35): time 2.886e-06/0.8147, allocations: 0 / 1.157 GB, free: 3.172 MB / 0.698 GB Notification: Performance of matching and sorting (n=35): time 0.005853/0.8206, allocations: 1.684 MB / 1.158 GB, free: 2.438 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.139e-05/0.8207, allocations: 81.86 kB / 1.158 GB, free: 2.344 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001594/0.8223, allocations: 1.186 MB / 1.16 GB, free: 1.969 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 6.056e-05/0.8223, allocations: 40.77 kB / 1.16 GB, free: 1.934 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004471/0.8228, allocations: 0.5109 MB / 1.16 GB, free: 1.715 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001248/0.8229, allocations: 130.2 kB / 1.16 GB, free: 1.621 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.568e-05/0.823, allocations: 8.469 kB / 1.16 GB, free: 1.621 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001337/0.8231, allocations: 323.3 kB / 1.161 GB, free: 1.312 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004049/0.8235, allocations: 209.8 kB / 1.161 GB, free: 1.262 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006679/0.8242, allocations: 0.5409 MB / 1.161 GB, free: 0.8164 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004522/0.8246, allocations: 311.9 kB / 1.162 GB, free: 0.7227 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.009e-06/0.8247, allocations: 5.281 kB / 1.162 GB, free: 0.7188 MB / 0.698 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.002526/0.8272, allocations: 1.082 MB / 1.163 GB, free: 308 kB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002046/0.8274, allocations: 279.5 kB / 1.163 GB, free: 15.98 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.391e-05/0.8274, allocations: 8.688 kB / 1.163 GB, free: 15.98 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001692/0.8291, allocations: 439.8 kB / 1.163 GB, free: 15.85 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003135/0.8295, allocations: 75.7 kB / 1.163 GB, free: 15.83 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00147/0.8309, allocations: 1.136 MB / 1.165 GB, free: 15.13 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001175/0.8321, allocations: 95.28 kB / 1.165 GB, free: 15.1 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.367e-05/0.8322, allocations: 27.55 kB / 1.165 GB, free: 15.09 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.005e-05/0.8322, allocations: 5.406 kB / 1.165 GB, free: 15.09 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001576/0.8338, allocations: 0.8111 MB / 1.165 GB, free: 14.84 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.818e-06/0.8338, allocations: 5.469 kB / 1.165 GB, free: 14.84 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006667/0.8345, allocations: 251.5 kB / 1.166 GB, free: 14.77 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003312/0.8349, allocations: 75.67 kB / 1.166 GB, free: 14.75 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0037/0.8386, allocations: 3.153 MB / 1.169 GB, free: 12.92 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001127/0.8397, allocations: 102.5 kB / 1.169 GB, free: 12.88 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.683e-05/0.8398, allocations: 24.75 kB / 1.169 GB, free: 12.88 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 {11 12} Notification: Performance of prepare postOptimizeDAE: time 0.0006802/0.8405, allocations: 473.9 kB / 1.169 GB, free: 12.61 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002493/0.8407, allocations: 111.9 kB / 1.17 GB, free: 12.55 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001511/0.8422, allocations: 0.8303 MB / 1.17 GB, free: 12.26 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.731e-06/0.8423, allocations: 5.75 kB / 1.17 GB, free: 12.26 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.785e-06/0.8423, allocations: 0 / 1.17 GB, free: 12.26 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.254e-06/0.8423, allocations: 3.984 kB / 1.17 GB, free: 12.25 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.003084/0.8454, allocations: 2.157 MB / 1.172 GB, free: 11.05 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.953e-06/0.8454, allocations: 10.77 kB / 1.172 GB, free: 11.05 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002428/0.8457, allocations: 51.89 kB / 1.173 GB, free: 11.03 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004958/0.8462, allocations: 229.1 kB / 1.173 GB, free: 10.97 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.164e-05/0.8462, allocations: 17.02 kB / 1.173 GB, free: 10.96 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009685/0.8472, allocations: 0.9387 MB / 1.174 GB, free: 10.33 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.316e-06/0.8472, allocations: 5.203 kB / 1.174 GB, free: 10.33 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001403/0.8486, allocations: 0.8902 MB / 1.175 GB, free: 9.891 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005095/0.8491, allocations: 240.4 kB / 1.175 GB, free: 9.715 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001983/0.8493, allocations: 15.23 kB / 1.175 GB, free: 9.711 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000826/0.8502, allocations: 77.31 kB / 1.175 GB, free: 9.676 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.935e-05/0.8503, allocations: 34.89 kB / 1.175 GB, free: 9.66 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.069e-05/0.8503, allocations: 17.88 kB / 1.175 GB, free: 9.656 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.001184/0.8515, allocations: 0.8323 MB / 1.176 GB, free: 9.383 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8515, allocations: 0 / 1.176 GB, free: 9.383 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001607/0.8531, allocations: 0.5002 MB / 1.176 GB, free: 9.348 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 {11 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004104/0.8535, allocations: 182.5 kB / 1.176 GB, free: 9.227 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.00256/0.8561, allocations: 1.289 MB / 1.178 GB, free: 8.699 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.367e-06/0.8561, allocations: 0 / 1.178 GB, free: 8.699 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0006074/0.8567, allocations: 323.2 kB / 1.178 GB, free: 8.613 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003401/0.8602, allocations: 0.6631 MB / 1.179 GB, free: 8.363 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003194/0.8634, allocations: 2.201 MB / 1.181 GB, free: 7.137 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007282/0.8641, allocations: 1.223 MB / 1.182 GB, free: 6.223 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.001045/0.8652, allocations: 327.8 kB / 1.182 GB, free: 6.078 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000159/0.8653, allocations: 65.7 kB / 1.182 GB, free: 6.066 MB / 0.7136 GB Notification: Performance of SimCode: time 7.41e-07/0.8653, allocations: 1.75 kB / 1.182 GB, free: 6.066 MB / 0.7136 GB Notification: Performance of Templates: time 0.03273/0.8981, allocations: 20.81 MB / 1.203 GB, free: 4.445 MB / 0.7292 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.pipe 2>&1)