Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Movers.Examples.PumpsSeries.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.Movers.Examples.PumpsSeries,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Movers.Examples.PumpsSeries") translateModel(Buildings.Fluid.Movers.Examples.PumpsSeries,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.3/2.3, allocations: 284.9 MB / 292.2 MB, free: 10.77 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.001643/0.001642, allocations: 185.2 kB / 360.4 MB, free: 7.484 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.854/1.854, allocations: 205.1 MB / 0.6188 GB, free: 12.44 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.001728/0.001728, allocations: 88.77 kB / 0.7318 GB, free: 44.96 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 8.997e-06/9.087e-06, allocations: 0 / 0.8502 GB, free: 3.848 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6072/0.6073, allocations: 115.2 MB / 0.9628 GB, free: 78.11 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9895/1.597, allocations: 435.7 MB / 1.388 GB, free: 132.6 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002685/1.597, allocations: 96.44 kB / 1.388 GB, free: 132.5 MB / 0.8542 GB Notification: Performance of FrontEnd: time 3.194/4.791, allocations: 0.6842 GB / 2.073 GB, free: 140.5 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.0003017/4.792, allocations: 56.94 kB / 2.073 GB, free: 140.5 MB / 0.9323 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.00599/4.798, allocations: 1.947 MB / 2.074 GB, free: 139.7 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.344e-05/4.798, allocations: 8.188 kB / 2.074 GB, free: 139.7 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005784/4.803, allocations: 0.5902 MB / 2.075 GB, free: 139.6 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05007/4.854, allocations: 14.14 MB / 2.089 GB, free: 138.7 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.322e-05/4.854, allocations: 31.84 kB / 2.089 GB, free: 138.7 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003958/4.854, allocations: 70.44 kB / 2.089 GB, free: 138.7 MB / 0.9323 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002674/4.857, allocations: 0.8683 MB / 2.09 GB, free: 138.7 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002712/4.86, allocations: 1.115 MB / 2.091 GB, free: 138.5 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.995e-05/4.86, allocations: 0 / 2.091 GB, free: 138.5 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001654/4.86, allocations: 3.375 kB / 2.091 GB, free: 138.5 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.544e-05/4.86, allocations: 21.47 kB / 2.091 GB, free: 138.5 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01263/4.872, allocations: 5.539 MB / 2.096 GB, free: 135.9 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002038/4.875, allocations: 0.813 MB / 2.097 GB, free: 135.8 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000828/4.875, allocations: 374.9 kB / 2.097 GB, free: 135.7 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004954/4.88, allocations: 2.201 MB / 2.1 GB, free: 134.5 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.634e-05/4.88, allocations: 44.16 kB / 2.1 GB, free: 134.4 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=62): time 3.346e-06/4.881, allocations: 0 / 2.1 GB, free: 134.4 MB / 0.9323 GB Notification: Performance of matching and sorting (n=62): time 0.00649/4.887, allocations: 1.171 MB / 2.101 GB, free: 134.3 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.318e-05/4.887, allocations: 221.4 kB / 2.101 GB, free: 134 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002738/4.89, allocations: 1.193 MB / 2.102 GB, free: 133.9 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.0003433/4.89, allocations: 28.98 kB / 2.102 GB, free: 133.8 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003948/4.891, allocations: 0.514 MB / 2.103 GB, free: 133.6 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003085/4.891, allocations: 205.5 kB / 2.103 GB, free: 133.4 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.057e-05/4.891, allocations: 0 / 2.103 GB, free: 133.4 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 9.747e-05/4.891, allocations: 340.6 kB / 2.103 GB, free: 133.1 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009239/4.892, allocations: 375.8 kB / 2.104 GB, free: 133.1 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001216/4.893, allocations: 0.7375 MB / 2.104 GB, free: 132.7 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00288/4.896, allocations: 0.5741 MB / 2.105 GB, free: 132.7 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.23e-05/4.896, allocations: 3.938 kB / 2.105 GB, free: 132.7 MB / 0.9323 GB Notification: Performance of matching and sorting (n=119) (initialization): time 0.005565/4.902, allocations: 1.414 MB / 2.106 GB, free: 132.5 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.000823/4.903, allocations: 3.336 MB / 2.11 GB, free: 129 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.007e-05/4.903, allocations: 10.44 kB / 2.11 GB, free: 129 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001555/4.904, allocations: 297.6 kB / 2.11 GB, free: 129 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001721/4.906, allocations: 202.1 kB / 2.11 GB, free: 129 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002375/4.909, allocations: 1.569 MB / 2.112 GB, free: 127.9 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00236/4.911, allocations: 129.9 kB / 2.112 GB, free: 127.9 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000254/4.911, allocations: 77.81 kB / 2.112 GB, free: 127.9 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.167e-05/4.911, allocations: 3.938 kB / 2.112 GB, free: 127.9 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004849/4.916, allocations: 1.144 MB / 2.113 GB, free: 127.9 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.682e-05/4.916, allocations: 11.09 kB / 2.113 GB, free: 127.9 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001622/4.918, allocations: 314.2 kB / 2.113 GB, free: 127.8 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00143/4.919, allocations: 191.4 kB / 2.113 GB, free: 127.8 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01004/4.929, allocations: 3.894 MB / 2.117 GB, free: 125.7 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002069/4.931, allocations: 106.8 kB / 2.117 GB, free: 125.6 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001961/4.932, allocations: 65.25 kB / 2.117 GB, free: 125.6 MB / 0.9323 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.0004575/4.932, allocations: 138.8 kB / 2.117 GB, free: 125.5 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003839/4.933, allocations: 162.6 kB / 2.118 GB, free: 125.4 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006012/4.939, allocations: 1.418 MB / 2.119 GB, free: 125.3 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.257e-05/4.939, allocations: 12.53 kB / 2.119 GB, free: 125.3 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/4.939, allocations: 0 / 2.119 GB, free: 125.3 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.665e-05/4.939, allocations: 7.5 kB / 2.119 GB, free: 125.3 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007063/4.946, allocations: 2.347 MB / 2.121 GB, free: 125 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.081e-05/4.946, allocations: 6.906 kB / 2.121 GB, free: 125 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00117/4.947, allocations: 111.8 kB / 2.121 GB, free: 125 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009535/4.948, allocations: 235.2 kB / 2.122 GB, free: 125 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.832e-05/4.948, allocations: 18.55 kB / 2.122 GB, free: 125 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001823/4.95, allocations: 1.441 MB / 2.123 GB, free: 123.9 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.011e-06/4.95, allocations: 3.812 kB / 2.123 GB, free: 123.9 MB / 0.9323 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004832/4.955, allocations: 1.729 MB / 2.125 GB, free: 123.5 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001068/4.956, allocations: 344 kB / 2.125 GB, free: 123.3 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003534/4.956, allocations: 10.05 kB / 2.125 GB, free: 123.3 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001689/4.958, allocations: 67.97 kB / 2.125 GB, free: 123.3 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001368/4.958, allocations: 49.98 kB / 2.125 GB, free: 123.3 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001236/4.958, allocations: 34.62 kB / 2.125 GB, free: 123.3 MB / 0.9323 GB Notification: Performance of sort global known variables: time 0.001867/4.96, allocations: 0.908 MB / 2.126 GB, free: 123.2 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.005541/4.966, allocations: 1.031 MB / 2.127 GB, free: 123 MB / 0.9323 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.003324/4.969, allocations: 1.308 MB / 2.128 GB, free: 122.7 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.005478/4.975, allocations: 1.795 MB / 2.13 GB, free: 122.5 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 7.945e-06/4.975, allocations: 3.25 kB / 2.13 GB, free: 122.5 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.001357/4.976, allocations: 436.1 kB / 2.131 GB, free: 122.4 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005557/4.982, allocations: 0.6464 MB / 2.131 GB, free: 122.4 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008016/4.99, allocations: 2.243 MB / 2.133 GB, free: 121.8 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002166/4.992, allocations: 1.557 MB / 2.135 GB, free: 121.1 MB / 0.9323 GB Notification: Performance of SimCode: time 1.462e-06/4.992, allocations: 0 / 2.135 GB, free: 121.1 MB / 0.9323 GB Notification: Performance of Templates: time 0.1199/5.112, allocations: 43.52 MB / 2.177 GB, free: 118.6 MB / 0.9323 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.Movers.Examples.PumpsSeries.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.Movers.Examples.PumpsSeries.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Movers.Examples.PumpsSeries.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Movers.Examples.PumpsSeries.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Movers.Examples.PumpsSeries.sim & ./Buildings_8.0.0_Buildings.Fluid.Movers.Examples.PumpsSeries -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.Movers.Examples.PumpsSeries.pipe 2>&1)