Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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_3.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_3.0.0_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.001044/0.001044, allocations: 91.53 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.008032/0.008032, allocations: 174.7 kB / 16.27 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.406/1.406, allocations: 223.3 MB / 240.3 MB, free: 5.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.902/2.902, allocations: 473.4 MB / 0.7469 GB, free: 6.156 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003234/0.0003235, allocations: 15.61 kB / 0.9158 GB, free: 33.11 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3229/0.3232, allocations: 162.1 MB / 1.074 GB, free: 7.625 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised): time 0.1891/0.5123, allocations: 163.4 MB / 1.234 GB, free: 3.629 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.005793/0.5182, allocations: 4.027 MB / 1.238 GB, free: 15.58 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004825/0.5187, allocations: 15.88 kB / 1.238 GB, free: 15.57 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0007613/0.5195, allocations: 206.9 kB / 1.238 GB, free: 15.36 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.001752/0.5212, allocations: 0.6381 MB / 1.238 GB, free: 14.72 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001317/0.5225, allocations: 425.6 kB / 1.239 GB, free: 14.31 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.003843/0.5264, allocations: 3.807 MB / 1.243 GB, free: 10.5 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003074/0.5295, allocations: 2.363 MB / 1.245 GB, free: 8.117 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002874/0.5324, allocations: 1.12 MB / 1.246 GB, free: 6.992 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001583/0.534, allocations: 0.8635 MB / 1.247 GB, free: 6.125 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001135/0.5341, allocations: 48 kB / 1.247 GB, free: 6.078 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002025/0.5362, allocations: 0.8964 MB / 1.248 GB, free: 5.18 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003548/0.5365, allocations: 330.8 kB / 1.248 GB, free: 4.855 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0007701/0.5373, allocations: 0.6001 MB / 1.249 GB, free: 4.246 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001791/0.5391, allocations: 1.581 MB / 1.25 GB, free: 2.66 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.5391, allocations: 0 / 1.25 GB, free: 2.66 MB / 0.9981 GB Notification: Performance of FrontEnd: time 4.298e-06/0.5391, allocations: 4 kB / 1.25 GB, free: 2.656 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.26e-05/0.5392, allocations: 0 / 1.25 GB, free: 2.656 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.002562/0.5417, allocations: 1.479 MB / 1.252 GB, free: 1.113 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.438e-05/0.5418, allocations: 8.031 kB / 1.252 GB, free: 1.105 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008106/0.5426, allocations: 202.3 kB / 1.252 GB, free: 0.9062 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.7149/1.258, allocations: 0.8839 MB / 1.253 GB, free: 17.81 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.769e-05/1.258, allocations: 47.02 kB / 1.253 GB, free: 17.81 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002951/1.258, allocations: 62.66 kB / 1.253 GB, free: 17.81 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002172/1.26, allocations: 0.9909 MB / 1.254 GB, free: 17.6 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.075e-05/1.26, allocations: 6.266 kB / 1.254 GB, free: 17.6 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.278e-05/1.26, allocations: 24.09 kB / 1.254 GB, free: 17.6 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.983e-05/1.26, allocations: 13.88 kB / 1.254 GB, free: 17.6 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001423/1.262, allocations: 0.8076 MB / 1.255 GB, free: 17.6 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.004713/1.266, allocations: 4.795 MB / 1.259 GB, free: 14.51 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001757/1.268, allocations: 4.019 MB / 1.263 GB, free: 10.26 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005537/1.269, allocations: 348.8 kB / 1.264 GB, free: 10.25 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002659/1.269, allocations: 199 kB / 1.264 GB, free: 10.06 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005387/1.27, allocations: 331 kB / 1.264 GB, free: 9.992 MB / 0.9981 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003916/1.27, allocations: 34.12 kB / 1.264 GB, free: 9.977 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=35): time 2.816e-06/1.27, allocations: 5.031 kB / 1.264 GB, free: 9.973 MB / 0.9981 GB Notification: Performance of matching and sorting (n=35): time 0.005485/1.276, allocations: 1.767 MB / 1.266 GB, free: 9.695 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.54e-05/1.276, allocations: 86.95 kB / 1.266 GB, free: 9.598 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001631/1.277, allocations: 1.187 MB / 1.267 GB, free: 9.445 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 6.169e-05/1.277, allocations: 38.55 kB / 1.267 GB, free: 9.414 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004016/1.278, allocations: 0.5199 MB / 1.268 GB, free: 9.234 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 9.216e-05/1.278, allocations: 122.1 kB / 1.268 GB, free: 9.16 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.331e-05/1.278, allocations: 45.75 kB / 1.268 GB, free: 9.145 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 7.899e-05/1.278, allocations: 330.7 kB / 1.268 GB, free: 8.84 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004019/1.278, allocations: 238.2 kB / 1.268 GB, free: 8.832 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005915/1.279, allocations: 0.5581 MB / 1.269 GB, free: 8.465 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009412/1.28, allocations: 0.694 MB / 1.27 GB, free: 8.227 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.77e-06/1.28, allocations: 2.75 kB / 1.27 GB, free: 8.227 MB / 0.9981 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.002341/1.282, allocations: 1.145 MB / 1.271 GB, free: 8.059 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001415/1.282, allocations: 282.6 kB / 1.271 GB, free: 7.742 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.184e-05/1.282, allocations: 7.719 kB / 1.271 GB, free: 7.742 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001384/1.284, allocations: 400.7 kB / 1.271 GB, free: 7.707 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003456/1.284, allocations: 76.16 kB / 1.271 GB, free: 7.707 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001076/1.285, allocations: 1.05 MB / 1.272 GB, free: 7.172 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001129/1.286, allocations: 96.36 kB / 1.272 GB, free: 7.164 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.145e-05/1.287, allocations: 26.33 kB / 1.273 GB, free: 7.164 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.102e-05/1.287, allocations: 4.094 kB / 1.273 GB, free: 7.164 MB / 0.9981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001559/1.288, allocations: 0.806 MB / 1.273 GB, free: 7.098 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.092e-05/1.288, allocations: 4.75 kB / 1.273 GB, free: 7.098 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000612/1.289, allocations: 262.5 kB / 1.274 GB, free: 7.082 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003083/1.289, allocations: 68.69 kB / 1.274 GB, free: 7.082 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003578/1.293, allocations: 3.106 MB / 1.277 GB, free: 5.688 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001083/1.294, allocations: 92.22 kB / 1.277 GB, free: 5.676 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.858e-05/1.294, allocations: 23.41 kB / 1.277 GB, free: 5.676 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.001138/1.295, allocations: 479.1 kB / 1.277 GB, free: 21.48 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002027/1.295, allocations: 107.4 kB / 1.277 GB, free: 21.43 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001625/1.297, allocations: 0.8223 MB / 1.278 GB, free: 21.32 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.791e-06/1.297, allocations: 8 kB / 1.278 GB, free: 21.31 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.067e-06/1.297, allocations: 2 kB / 1.278 GB, free: 21.31 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.843e-06/1.297, allocations: 4.516 kB / 1.278 GB, free: 21.31 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.003316/1.3, allocations: 2.179 MB / 1.28 GB, free: 20.49 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.714e-06/1.3, allocations: 2.406 kB / 1.28 GB, free: 20.49 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002704/1.3, allocations: 46.83 kB / 1.28 GB, free: 20.49 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004983/1.301, allocations: 210 kB / 1.281 GB, free: 20.46 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.993e-05/1.301, allocations: 13.55 kB / 1.281 GB, free: 20.46 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008463/1.302, allocations: 0.8827 MB / 1.281 GB, free: 19.94 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.681e-06/1.302, allocations: 7.453 kB / 1.281 GB, free: 19.93 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001627/1.303, allocations: 0.8844 MB / 1.282 GB, free: 19.64 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004805/1.304, allocations: 237.1 kB / 1.282 GB, free: 19.48 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001117/1.304, allocations: 16.94 kB / 1.283 GB, free: 19.48 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007032/1.305, allocations: 74 kB / 1.283 GB, free: 19.47 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001027/1.305, allocations: 35.12 kB / 1.283 GB, free: 19.46 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.906e-05/1.305, allocations: 13.67 kB / 1.283 GB, free: 19.46 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001171/1.306, allocations: 0.8336 MB / 1.283 GB, free: 19.36 MB / 1.014 GB Notification: Performance of sort global known variables: time 2.51e-07/1.306, allocations: 4 kB / 1.283 GB, free: 19.35 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001482/1.308, allocations: 0.5029 MB / 1.284 GB, free: 19.32 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.000474/1.308, allocations: 184.6 kB / 1.284 GB, free: 19.22 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.002072/1.31, allocations: 1.163 MB / 1.285 GB, free: 18.95 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/1.31, allocations: 4.062 kB / 1.285 GB, free: 18.94 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0005005/1.311, allocations: 269.5 kB / 1.286 GB, free: 18.93 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003597/1.314, allocations: 0.6424 MB / 1.286 GB, free: 18.88 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0032/1.318, allocations: 2.192 MB / 1.288 GB, free: 17.85 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001023/1.319, allocations: 1.215 MB / 1.289 GB, free: 17.13 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001301/1.32, allocations: 376.2 kB / 1.29 GB, free: 17.09 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001567/1.32, allocations: 73.78 kB / 1.29 GB, free: 17.08 MB / 1.014 GB Notification: Performance of SimCode: time 1.052e-06/1.32, allocations: 1.375 kB / 1.29 GB, free: 17.08 MB / 1.014 GB Notification: Performance of Templates: time 0.04244/1.363, allocations: 21.68 MB / 1.311 GB, free: 14.43 MB / 1.014 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.sim & ./Buildings_3.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.pipe 2>&1)