Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow") translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.326/2.326, allocations: 284.9 MB / 292.2 MB, free: 10.74 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001677/0.001677, allocations: 181.3 kB / 360.4 MB, free: 7.523 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.865/1.865, allocations: 205.2 MB / 0.6188 GB, free: 12.42 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001299/0.001298, allocations: 91.67 kB / 0.7318 GB, free: 45 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.501e-05/3.519e-05, allocations: 4 kB / 0.8502 GB, free: 3.852 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6458/0.6459, allocations: 115.2 MB / 0.9628 GB, free: 78.36 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.172/5.818, allocations: 2.063 GB / 3.025 GB, free: 273.7 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003406/5.818, allocations: 91.81 kB / 3.025 GB, free: 273.7 MB / 0.9323 GB Notification: Performance of FrontEnd: time 4.386/10.2, allocations: 1.072 GB / 4.097 GB, free: 4.074 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0002119/10.21, allocations: 31.98 kB / 4.097 GB, free: 4.043 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 136 * Number of variables: 136 Notification: Performance of Generate backend data structure: time 0.007576/10.21, allocations: 1.353 MB / 4.099 GB, free: 2.633 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.511e-05/10.21, allocations: 12.52 kB / 4.099 GB, free: 2.621 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001742/10.21, allocations: 206.3 kB / 4.099 GB, free: 2.418 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006747/10.22, allocations: 1.422 MB / 4.1 GB, free: 0.9414 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.261e-05/10.22, allocations: 20 kB / 4.1 GB, free: 0.9219 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00022/10.22, allocations: 40 kB / 4.1 GB, free: 0.8828 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001825/10.22, allocations: 0.7209 MB / 4.101 GB, free: 164 kB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3542/10.58, allocations: 0.865 MB / 4.102 GB, free: 337.4 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.823e-05/10.58, allocations: 3.656 kB / 4.102 GB, free: 337.4 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.099e-05/10.58, allocations: 7.219 kB / 4.102 GB, free: 337.4 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.803e-05/10.58, allocations: 14.72 kB / 4.102 GB, free: 337.4 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006794/10.58, allocations: 4.712 MB / 4.107 GB, free: 334.3 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001139/10.59, allocations: 0.5243 MB / 4.107 GB, free: 334.3 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007445/10.59, allocations: 452.2 kB / 4.107 GB, free: 334.3 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004142/10.59, allocations: 204.1 kB / 4.108 GB, free: 334.1 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005679/10.59, allocations: 303.3 kB / 4.108 GB, free: 334 MB / 0.948 GB Notification: Performance of pre-optimization done (n=35): time 3.306e-06/10.59, allocations: 0 / 4.108 GB, free: 334 MB / 0.948 GB Notification: Performance of matching and sorting (n=35): time 0.003597/10.59, allocations: 0.9503 MB / 4.109 GB, free: 333.9 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.396e-05/10.59, allocations: 88.27 kB / 4.109 GB, free: 333.8 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001916/10.59, allocations: 0.9167 MB / 4.11 GB, free: 333.7 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001477/10.59, allocations: 29.2 kB / 4.11 GB, free: 333.7 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003162/10.59, allocations: 355.2 kB / 4.11 GB, free: 333.5 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001284/10.59, allocations: 119.7 kB / 4.11 GB, free: 333.4 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.836e-05/10.59, allocations: 3.75 kB / 4.11 GB, free: 333.4 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.824e-05/10.59, allocations: 334.9 kB / 4.111 GB, free: 333.1 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000491/10.59, allocations: 219.3 kB / 4.111 GB, free: 333.1 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007251/10.6, allocations: 0.5532 MB / 4.111 GB, free: 332.8 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006336/10.6, allocations: 326.5 kB / 4.112 GB, free: 332.7 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.241e-06/10.6, allocations: 3.844 kB / 4.112 GB, free: 332.7 MB / 0.948 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.003484/10.6, allocations: 1.082 MB / 4.113 GB, free: 332.6 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004818/10.6, allocations: 2.097 MB / 4.115 GB, free: 330.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.785e-05/10.6, allocations: 7.531 kB / 4.115 GB, free: 330.5 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001314/10.6, allocations: 371 kB / 4.115 GB, free: 330.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004788/10.6, allocations: 65.78 kB / 4.115 GB, free: 330.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003459/10.61, allocations: 1.422 MB / 4.117 GB, free: 329.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002077/10.61, allocations: 115.3 kB / 4.117 GB, free: 329.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001106/10.61, allocations: 25.59 kB / 4.117 GB, free: 329.9 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.144e-05/10.61, allocations: 6.875 kB / 4.117 GB, free: 329.9 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002326/10.61, allocations: 0.7559 MB / 4.118 GB, free: 329.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.274e-05/10.61, allocations: 11.16 kB / 4.118 GB, free: 329.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001339/10.61, allocations: 309.5 kB / 4.118 GB, free: 329.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004434/10.61, allocations: 63.42 kB / 4.118 GB, free: 329.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00725/10.62, allocations: 3.479 MB / 4.121 GB, free: 328.5 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001945/10.62, allocations: 111.1 kB / 4.121 GB, free: 328.5 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.224e-05/10.62, allocations: 23.06 kB / 4.121 GB, free: 328.5 MB / 0.948 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (34): * Single equations (assignments): 32 * 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 13} Notification: Performance of prepare postOptimizeDAE: time 0.0002326/10.62, allocations: 129 kB / 4.122 GB, free: 328.4 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002067/10.62, allocations: 99.69 kB / 4.122 GB, free: 328.4 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002341/10.62, allocations: 0.857 MB / 4.122 GB, free: 328.3 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.182e-05/10.62, allocations: 4.75 kB / 4.123 GB, free: 328.3 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/10.62, allocations: 0 / 4.123 GB, free: 328.3 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.257e-06/10.62, allocations: 3.656 kB / 4.123 GB, free: 328.3 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004312/10.63, allocations: 1.789 MB / 4.124 GB, free: 327.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.873e-06/10.63, allocations: 0 / 4.124 GB, free: 327.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002274/10.63, allocations: 27.67 kB / 4.124 GB, free: 327.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001011/10.63, allocations: 334.9 kB / 4.125 GB, free: 327.8 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.276e-05/10.63, allocations: 3.969 kB / 4.125 GB, free: 327.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002107/10.63, allocations: 1.254 MB / 4.126 GB, free: 327.3 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.834e-06/10.63, allocations: 3.844 kB / 4.126 GB, free: 327.3 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002258/10.63, allocations: 1.052 MB / 4.127 GB, free: 326.9 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007272/10.64, allocations: 230.6 kB / 4.127 GB, free: 326.8 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000223/10.64, allocations: 3.906 kB / 4.127 GB, free: 326.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001435/10.64, allocations: 86.75 kB / 4.127 GB, free: 326.8 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001344/10.64, allocations: 32.42 kB / 4.127 GB, free: 326.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.121e-05/10.64, allocations: 14.12 kB / 4.127 GB, free: 326.8 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.001329/10.64, allocations: 0.7133 MB / 4.128 GB, free: 326.7 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002631/10.64, allocations: 0.5547 MB / 4.128 GB, free: 326.6 MB / 0.948 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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 9 * 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 13} Notification: Performance of Backend phase and start with SimCode phase: time 0.002026/10.64, allocations: 1.208 MB / 4.13 GB, free: 326.4 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.004173/10.65, allocations: 1.181 MB / 4.131 GB, free: 326.2 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 6.422e-06/10.65, allocations: 3.844 kB / 4.131 GB, free: 326.2 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.00109/10.65, allocations: 319.8 kB / 4.131 GB, free: 326.2 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005828/10.65, allocations: 0.5682 MB / 4.132 GB, free: 326.2 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004074/10.66, allocations: 1.482 MB / 4.133 GB, free: 325.8 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001118/10.66, allocations: 1.297 MB / 4.134 GB, free: 325.1 MB / 0.948 GB Notification: Performance of SimCode: time 2.395e-06/10.66, allocations: 0 / 4.134 GB, free: 325.1 MB / 0.948 GB Notification: Performance of Templates: time 0.06841/10.73, allocations: 26.95 MB / 4.161 GB, free: 324.7 MB / 0.948 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.sim & ./Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.pipe 2>&1)