Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.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/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised") translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.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.0008065/0.0008065, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.005406/0.005406, allocations: 170 kB / 16.26 MB, free: 6.613 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.378/1.378, allocations: 223.2 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.844/2.844, allocations: 473.4 MB / 0.7469 GB, free: 6.109 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004065/0.0004066, allocations: 12.41 kB / 0.9158 GB, free: 33.13 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.376/0.3764, allocations: 162.2 MB / 1.074 GB, free: 7.562 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised): time 0.184/0.5605, allocations: 163.4 MB / 1.234 GB, free: 3.57 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.005337/0.5659, allocations: 4.025 MB / 1.238 GB, free: 15.53 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003903/0.5663, allocations: 15.88 kB / 1.238 GB, free: 15.52 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0007644/0.5671, allocations: 202.9 kB / 1.238 GB, free: 15.32 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.00168/0.5688, allocations: 0.6497 MB / 1.238 GB, free: 14.66 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001218/0.57, allocations: 421 kB / 1.239 GB, free: 14.26 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.003563/0.5736, allocations: 3.813 MB / 1.243 GB, free: 10.44 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002752/0.5764, allocations: 2.356 MB / 1.245 GB, free: 8.066 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002191/0.5786, allocations: 1.121 MB / 1.246 GB, free: 6.941 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001051/0.5796, allocations: 0.8635 MB / 1.247 GB, free: 6.074 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001026/0.5797, allocations: 48 kB / 1.247 GB, free: 6.027 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001593/0.5813, allocations: 0.8925 MB / 1.248 GB, free: 5.133 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003227/0.5817, allocations: 334.7 kB / 1.248 GB, free: 4.805 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0006549/0.5823, allocations: 0.6001 MB / 1.249 GB, free: 4.195 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.00165/0.584, allocations: 1.577 MB / 1.25 GB, free: 2.613 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.584, allocations: 0 / 1.25 GB, free: 2.613 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.726e-06/0.584, allocations: 4 kB / 1.25 GB, free: 2.609 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.408e-05/0.584, allocations: 0 / 1.25 GB, free: 2.609 MB / 0.9981 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.002471/0.5865, allocations: 1.479 MB / 1.252 GB, free: 1.066 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.963e-05/0.5866, allocations: 8.031 kB / 1.252 GB, free: 1.059 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008418/0.5874, allocations: 202.3 kB / 1.252 GB, free: 0.8594 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.6819/1.269, allocations: 0.8806 MB / 1.253 GB, free: 17.46 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.023e-05/1.269, allocations: 49.12 kB / 1.253 GB, free: 17.46 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000228/1.27, allocations: 61.31 kB / 1.253 GB, free: 17.46 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00203/1.272, allocations: 0.9928 MB / 1.254 GB, free: 17.25 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.167e-05/1.272, allocations: 7.031 kB / 1.254 GB, free: 17.25 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.681e-05/1.272, allocations: 25.36 kB / 1.254 GB, free: 17.25 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.42e-05/1.272, allocations: 13.81 kB / 1.254 GB, free: 17.25 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001693/1.274, allocations: 0.8092 MB / 1.255 GB, free: 17.25 MB / 0.9981 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.004956/1.279, allocations: 4.795 MB / 1.259 GB, free: 14.16 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001775/1.28, allocations: 4.024 MB / 1.263 GB, free: 9.91 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005406/1.281, allocations: 347.4 kB / 1.264 GB, free: 9.902 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002773/1.281, allocations: 198.1 kB / 1.264 GB, free: 9.711 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005718/1.282, allocations: 333.7 kB / 1.264 GB, free: 9.645 MB / 0.9981 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004458/1.282, allocations: 34.28 kB / 1.264 GB, free: 9.629 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=35): time 2.014e-06/1.282, allocations: 0 / 1.264 GB, free: 9.629 MB / 0.9981 GB Notification: Performance of matching and sorting (n=35): time 0.005544/1.288, allocations: 1.769 MB / 1.266 GB, free: 9.352 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.254e-05/1.288, allocations: 91.34 kB / 1.266 GB, free: 9.25 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001821/1.29, allocations: 1.183 MB / 1.267 GB, free: 9.098 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 6.631e-05/1.29, allocations: 38.92 kB / 1.267 GB, free: 9.066 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004281/1.29, allocations: 0.5203 MB / 1.268 GB, free: 8.887 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001044/1.29, allocations: 121.5 kB / 1.268 GB, free: 8.812 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.353e-05/1.29, allocations: 46.89 kB / 1.268 GB, free: 8.797 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 6.151e-05/1.29, allocations: 326.7 kB / 1.268 GB, free: 8.492 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004243/1.291, allocations: 242.4 kB / 1.268 GB, free: 8.484 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006051/1.292, allocations: 0.5565 MB / 1.269 GB, free: 8.117 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008967/1.292, allocations: 0.6906 MB / 1.27 GB, free: 7.879 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.982e-06/1.292, allocations: 6.938 kB / 1.27 GB, free: 7.875 MB / 0.9981 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0024/1.295, allocations: 1.151 MB / 1.271 GB, free: 7.707 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001402/1.295, allocations: 279.8 kB / 1.271 GB, free: 7.391 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.171e-05/1.295, allocations: 5.531 kB / 1.271 GB, free: 7.391 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001357/1.296, allocations: 397.3 kB / 1.271 GB, free: 7.359 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003233/1.297, allocations: 76.56 kB / 1.271 GB, free: 7.359 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001056/1.298, allocations: 1.049 MB / 1.272 GB, free: 6.824 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001107/1.299, allocations: 95.06 kB / 1.272 GB, free: 6.816 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.529e-05/1.299, allocations: 25.61 kB / 1.273 GB, free: 6.816 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 9.918e-06/1.299, allocations: 3 kB / 1.273 GB, free: 6.816 MB / 0.9981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001484/1.3, allocations: 0.8063 MB / 1.273 GB, free: 6.75 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.234e-06/1.3, allocations: 4.656 kB / 1.273 GB, free: 6.75 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006538/1.301, allocations: 262.4 kB / 1.274 GB, free: 6.734 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003151/1.301, allocations: 70.98 kB / 1.274 GB, free: 6.734 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003758/1.305, allocations: 3.11 MB / 1.277 GB, free: 5.344 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001202/1.306, allocations: 95.33 kB / 1.277 GB, free: 5.332 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.262e-05/1.307, allocations: 23.98 kB / 1.277 GB, free: 5.332 MB / 0.9981 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 (35): * Single equations (assignments): 33 * 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,22)} Notification: Performance of prepare postOptimizeDAE: time 0.001192/1.308, allocations: 474.5 kB / 1.277 GB, free: 21.14 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002043/1.308, allocations: 107.3 kB / 1.277 GB, free: 21.09 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001721/1.31, allocations: 0.8286 MB / 1.278 GB, free: 20.97 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.536e-06/1.31, allocations: 4.344 kB / 1.278 GB, free: 20.97 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/1.31, allocations: 1.312 kB / 1.278 GB, free: 20.97 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.645e-06/1.31, allocations: 5.875 kB / 1.278 GB, free: 20.96 MB / 1.014 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.003724/1.313, allocations: 2.171 MB / 1.28 GB, free: 20.14 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.645e-06/1.313, allocations: 6.453 kB / 1.28 GB, free: 20.14 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002836/1.314, allocations: 47.08 kB / 1.28 GB, free: 20.14 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005889/1.314, allocations: 213.2 kB / 1.281 GB, free: 20.11 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.14e-05/1.314, allocations: 9.344 kB / 1.281 GB, free: 20.11 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001149/1.316, allocations: 0.8843 MB / 1.281 GB, free: 19.59 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.144e-06/1.316, allocations: 6.719 kB / 1.281 GB, free: 19.59 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001952/1.318, allocations: 0.8856 MB / 1.282 GB, free: 19.29 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005637/1.318, allocations: 236.3 kB / 1.282 GB, free: 19.14 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00011/1.318, allocations: 9.578 kB / 1.283 GB, free: 19.14 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007113/1.319, allocations: 75.72 kB / 1.283 GB, free: 19.12 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001161/1.319, allocations: 37.53 kB / 1.283 GB, free: 19.12 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.397e-05/1.319, allocations: 15.33 kB / 1.283 GB, free: 19.12 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001357/1.32, allocations: 0.8354 MB / 1.283 GB, free: 19.01 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.4e-07/1.32, allocations: 0 / 1.283 GB, free: 19.01 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.00165/1.322, allocations: 0.4977 MB / 1.284 GB, free: 18.97 MB / 1.014 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 (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,13)} Notification: Performance of Backend phase and start with SimCode phase: time 0.000542/1.323, allocations: 192.5 kB / 1.284 GB, free: 18.88 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.002511/1.325, allocations: 1.164 MB / 1.285 GB, free: 18.6 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.957e-06/1.325, allocations: 1.281 kB / 1.285 GB, free: 18.6 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0005766/1.326, allocations: 265.7 kB / 1.286 GB, free: 18.58 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003809/1.33, allocations: 0.6472 MB / 1.286 GB, free: 18.54 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003484/1.333, allocations: 2.197 MB / 1.288 GB, free: 17.5 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001132/1.334, allocations: 1.212 MB / 1.289 GB, free: 16.79 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001466/1.336, allocations: 378.8 kB / 1.29 GB, free: 16.74 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001749/1.336, allocations: 70.66 kB / 1.29 GB, free: 16.73 MB / 1.014 GB Notification: Performance of SimCode: time 1.022e-06/1.336, allocations: 0.9688 kB / 1.29 GB, free: 16.73 MB / 1.014 GB Notification: Performance of Templates: time 0.0403/1.376, allocations: 21.67 MB / 1.311 GB, free: 14.06 MB / 1.014 GB make -j1 -f Buildings_1.6_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.makefile (rm -f Buildings_1.6_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.pipe >> ../files/Buildings_1.6_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.sim & ./Buildings_1.6_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.pipe 2>&1)