Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Movers.Examples.PumpsSeries.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.Movers.Examples.PumpsSeries,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Movers.Examples.PumpsSeries") translateModel(Buildings.Fluid.Movers.Examples.PumpsSeries,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Movers.Examples.PumpsSeries") [: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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.629/1.629, allocations: 289.8 MB / 297.1 MB, free: 6.688 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.001424/0.001424, allocations: 173.3 kB / 366.3 MB, free: 2.02 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.488/1.488, allocations: 205.1 MB / 0.6256 GB, free: 5.84 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008952/0.0008952, allocations: 94.64 kB / 0.7396 GB, free: 39.7 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 5.991e-06/6.011e-06, allocations: 0 / 0.859 GB, free: 13.39 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6886/0.6886, allocations: 116.3 MB / 0.9725 GB, free: 68.21 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8944/1.583, allocations: 436.8 MB / 1.399 GB, free: 52.43 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002348/1.583, allocations: 84.52 kB / 1.399 GB, free: 52.39 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.444/4.027, allocations: 0.6842 GB / 2.083 GB, free: 126.1 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 0.0002279/4.028, allocations: 51.23 kB / 2.083 GB, free: 126.1 MB / 0.9636 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 251 * Number of variables: 251 Notification: Performance of Generate backend data structure: time 0.004149/4.032, allocations: 1.948 MB / 2.085 GB, free: 125.2 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.785e-05/4.032, allocations: 11.12 kB / 2.085 GB, free: 125.2 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00308/4.035, allocations: 0.584 MB / 2.086 GB, free: 125.1 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03334/4.068, allocations: 14.16 MB / 2.1 GB, free: 124.2 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.333e-05/4.069, allocations: 34.94 kB / 2.1 GB, free: 124.2 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002484/4.069, allocations: 67.97 kB / 2.1 GB, free: 124.2 MB / 0.9636 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001741/4.071, allocations: 0.8626 MB / 2.101 GB, free: 124.2 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00178/4.072, allocations: 1.117 MB / 2.102 GB, free: 123.9 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.987e-05/4.072, allocations: 0 / 2.102 GB, free: 123.9 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001027/4.072, allocations: 3.875 kB / 2.102 GB, free: 123.9 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.445e-05/4.073, allocations: 22.66 kB / 2.102 GB, free: 123.9 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008284/4.081, allocations: 5.529 MB / 2.107 GB, free: 121.3 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001107/4.082, allocations: 0.8196 MB / 2.108 GB, free: 121.2 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004342/4.082, allocations: 368.9 kB / 2.108 GB, free: 121.2 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002906/4.085, allocations: 2.201 MB / 2.111 GB, free: 119.9 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.122e-05/4.085, allocations: 41.12 kB / 2.111 GB, free: 119.9 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=62): time 2.414e-06/4.085, allocations: 0 / 2.111 GB, free: 119.9 MB / 0.9636 GB Notification: Performance of matching and sorting (n=62): time 0.00358/4.089, allocations: 1.179 MB / 2.112 GB, free: 119.7 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.285e-05/4.089, allocations: 217.3 kB / 2.112 GB, free: 119.5 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001565/4.091, allocations: 1.194 MB / 2.113 GB, free: 119.3 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 7.762e-05/4.091, allocations: 25.7 kB / 2.113 GB, free: 119.3 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002867/4.091, allocations: 0.5088 MB / 2.114 GB, free: 119 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001803/4.091, allocations: 206.2 kB / 2.114 GB, free: 118.9 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.25e-05/4.091, allocations: 1.781 kB / 2.114 GB, free: 118.9 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 8.089e-05/4.091, allocations: 343.8 kB / 2.114 GB, free: 118.6 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004738/4.092, allocations: 368 kB / 2.114 GB, free: 118.6 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006343/4.092, allocations: 0.741 MB / 2.115 GB, free: 118.1 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001626/4.094, allocations: 0.5728 MB / 2.116 GB, free: 118.1 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.929e-06/4.094, allocations: 0 / 2.116 GB, free: 118.1 MB / 0.9636 GB Notification: Performance of matching and sorting (n=119) (initialization): time 0.003054/4.097, allocations: 1.417 MB / 2.117 GB, free: 118 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008279/4.098, allocations: 3.339 MB / 2.12 GB, free: 114.4 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.921e-05/4.098, allocations: 10.77 kB / 2.12 GB, free: 114.4 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009487/4.099, allocations: 301.4 kB / 2.121 GB, free: 114.4 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008117/4.1, allocations: 201.6 kB / 2.121 GB, free: 114.4 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001466/4.101, allocations: 1.572 MB / 2.122 GB, free: 113.4 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001401/4.103, allocations: 131.1 kB / 2.123 GB, free: 113.3 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001691/4.103, allocations: 71.91 kB / 2.123 GB, free: 113.3 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 9.548e-06/4.103, allocations: 3.906 kB / 2.123 GB, free: 113.3 MB / 0.9636 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002781/4.106, allocations: 1.146 MB / 2.124 GB, free: 113.3 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.137e-05/4.106, allocations: 11.38 kB / 2.124 GB, free: 113.3 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008797/4.107, allocations: 322.5 kB / 2.124 GB, free: 113.3 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006741/4.107, allocations: 182 kB / 2.124 GB, free: 113.3 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005776/4.113, allocations: 3.907 MB / 2.128 GB, free: 111.1 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001389/4.114, allocations: 101.9 kB / 2.128 GB, free: 111.1 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001199/4.115, allocations: 67.45 kB / 2.128 GB, free: 111.1 MB / 0.9636 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: floMac1.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real floMac2.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (96): * Single equations (assignments): 88 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 9,1 7} Notification: Performance of prepare postOptimizeDAE: time 0.0004284/4.115, allocations: 138.1 kB / 2.128 GB, free: 110.9 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002397/4.115, allocations: 156.3 kB / 2.129 GB, free: 110.9 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003548/4.119, allocations: 1.416 MB / 2.13 GB, free: 110.7 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.109e-05/4.119, allocations: 6.469 kB / 2.13 GB, free: 110.7 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.726e-06/4.119, allocations: 0 / 2.13 GB, free: 110.7 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.094e-05/4.119, allocations: 7.781 kB / 2.13 GB, free: 110.7 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004156/4.123, allocations: 2.354 MB / 2.132 GB, free: 110.4 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.005e-06/4.123, allocations: 3.938 kB / 2.132 GB, free: 110.4 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005947/4.124, allocations: 112.1 kB / 2.132 GB, free: 110.4 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005515/4.124, allocations: 232.7 kB / 2.133 GB, free: 110.4 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.902e-05/4.124, allocations: 18.45 kB / 2.133 GB, free: 110.4 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001056/4.125, allocations: 1.447 MB / 2.134 GB, free: 109.3 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.827e-06/4.125, allocations: 0 / 2.134 GB, free: 109.3 MB / 0.9636 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002688/4.128, allocations: 1.733 MB / 2.136 GB, free: 108.9 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000662/4.129, allocations: 346.3 kB / 2.136 GB, free: 108.7 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002087/4.129, allocations: 3.906 kB / 2.136 GB, free: 108.7 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008872/4.13, allocations: 67.92 kB / 2.136 GB, free: 108.7 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.847e-05/4.13, allocations: 49.59 kB / 2.136 GB, free: 108.7 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.628e-05/4.13, allocations: 40 kB / 2.136 GB, free: 108.7 MB / 0.9636 GB Notification: Performance of sort global known variables: time 0.001197/4.131, allocations: 0.9007 MB / 2.137 GB, free: 108.6 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.003379/4.135, allocations: 1.027 MB / 2.138 GB, free: 108.4 MB / 0.9636 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 4 (floMac1.filter.x[1],floMac1.filter.x[2],floMac2.filter.x[1],floMac2.filter.x[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (58): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 9,1 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.002166/4.137, allocations: 1.319 MB / 2.139 GB, free: 108.1 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.002962/4.14, allocations: 1.794 MB / 2.141 GB, free: 107.8 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 5.47e-06/4.14, allocations: 3.75 kB / 2.141 GB, free: 107.8 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0006506/4.14, allocations: 436.8 kB / 2.141 GB, free: 107.8 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002856/4.143, allocations: 0.6366 MB / 2.142 GB, free: 107.8 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004453/4.148, allocations: 2.248 MB / 2.144 GB, free: 107.2 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001054/4.149, allocations: 1.559 MB / 2.146 GB, free: 106.5 MB / 0.9636 GB Notification: Performance of SimCode: time 4.61e-07/4.149, allocations: 0 / 2.146 GB, free: 106.5 MB / 0.9636 GB Notification: Performance of Templates: time 0.07183/4.221, allocations: 43.54 MB / 2.188 GB, free: 99.89 MB / 0.9636 GB make -j1 -f Buildings_8_Buildings.Fluid.Movers.Examples.PumpsSeries.makefile (rm -f Buildings_8_Buildings.Fluid.Movers.Examples.PumpsSeries.pipe ; mkfifo Buildings_8_Buildings.Fluid.Movers.Examples.PumpsSeries.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Movers.Examples.PumpsSeries.pipe >> ../files/Buildings_8_Buildings.Fluid.Movers.Examples.PumpsSeries.sim & ./Buildings_8_Buildings.Fluid.Movers.Examples.PumpsSeries -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Movers.Examples.PumpsSeries.pipe 2>&1)