Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Movers.Examples.PumpsSeries.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Fluid.Movers.Examples.PumpsSeries,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Movers.Examples.PumpsSeries") translateModel(BuildingSystems.Fluid.Movers.Examples.PumpsSeries,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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/BuildingSystems 2.0.0-master/package.mo): time 0.805/0.805, allocations: 141.8 MB / 149.1 MB, free: 11.94 MB / 138.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001134/0.001134, allocations: 176.2 kB / 181.9 MB, free: 8.684 MB / 154.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.462/1.462, allocations: 221.3 MB / 436 MB, free: 0.9375 MB / 330.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001084/0.001084, allocations: 97.44 kB / 0.507 GB, free: 9.914 MB / 394.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001918/0.001918, allocations: 273.2 kB / 0.5884 GB, free: 6.734 MB / 474.9 MB Notification: Performance of FrontEnd - loaded program: time 1.103e-05/1.105e-05, allocations: 4 kB / 0.6759 GB, free: 13.11 MB / 0.5575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4244/0.4244, allocations: 82.78 MB / 0.7567 GB, free: 137.9 MB / 0.5575 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7105/1.135, allocations: 393.4 MB / 1.141 GB, free: 9.176 MB / 0.6825 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002388/1.135, allocations: 89.86 kB / 1.141 GB, free: 9.133 MB / 0.6825 GB Notification: Performance of FrontEnd: time 2.534/3.669, allocations: 0.6886 GB / 1.83 GB, free: 102.8 MB / 0.6982 GB Notification: Performance of Transformations before backend: time 0.0003423/3.669, allocations: 48.12 kB / 1.83 GB, free: 102.8 MB / 0.6982 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 249 * Number of variables: 249 Notification: Performance of Generate backend data structure: time 0.005865/3.675, allocations: 1.882 MB / 1.831 GB, free: 101.9 MB / 0.6982 GB Notification: Performance of prepare preOptimizeDAE: time 4.709e-05/3.675, allocations: 16.16 kB / 1.831 GB, free: 101.9 MB / 0.6982 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004183/3.679, allocations: 0.5787 MB / 1.832 GB, free: 101.7 MB / 0.6982 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0379/3.717, allocations: 14.29 MB / 1.846 GB, free: 100.8 MB / 0.6982 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001211/3.718, allocations: 38.05 kB / 1.846 GB, free: 100.8 MB / 0.6982 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005625/3.718, allocations: 71.41 kB / 1.846 GB, free: 100.8 MB / 0.6982 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002034/3.72, allocations: 0.8596 MB / 1.847 GB, free: 100.8 MB / 0.6982 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001621/3.722, allocations: 1.049 MB / 1.848 GB, free: 100.7 MB / 0.6982 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.658e-05/3.722, allocations: 0.9375 kB / 1.848 GB, free: 100.7 MB / 0.6982 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.343e-05/3.722, allocations: 2.344 kB / 1.848 GB, free: 100.7 MB / 0.6982 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.123e-05/3.722, allocations: 45.03 kB / 1.848 GB, free: 100.7 MB / 0.6982 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009043/3.731, allocations: 5.602 MB / 1.853 GB, free: 97.36 MB / 0.6982 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007969/3.732, allocations: 477.2 kB / 1.854 GB, free: 97.17 MB / 0.6982 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005314/3.733, allocations: 369.8 kB / 1.854 GB, free: 97.03 MB / 0.6982 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004112/3.737, allocations: 2.315 MB / 1.856 GB, free: 95.32 MB / 0.6982 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.428e-05/3.737, allocations: 42.77 kB / 1.857 GB, free: 95.27 MB / 0.6982 GB Notification: Performance of pre-optimization done (n=66): time 3.126e-06/3.737, allocations: 0 / 1.857 GB, free: 95.27 MB / 0.6982 GB Notification: Performance of matching and sorting (n=66): time 0.003904/3.741, allocations: 1.215 MB / 1.858 GB, free: 94.87 MB / 0.6982 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.562e-05/3.741, allocations: 60.5 kB / 1.858 GB, free: 94.81 MB / 0.6982 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001723/3.742, allocations: 1.16 MB / 1.859 GB, free: 94.32 MB / 0.6982 GB Notification: Performance of collectPreVariables (initialization): time 9.49e-05/3.742, allocations: 25.7 kB / 1.859 GB, free: 94.29 MB / 0.6982 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002851/3.743, allocations: 0.4887 MB / 1.859 GB, free: 93.95 MB / 0.6982 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002345/3.743, allocations: 226.2 kB / 1.86 GB, free: 93.77 MB / 0.6982 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.02e-05/3.743, allocations: 0 / 1.86 GB, free: 93.77 MB / 0.6982 GB Notification: Performance of setup shared object (initialization): time 8.765e-05/3.743, allocations: 339.9 kB / 1.86 GB, free: 93.45 MB / 0.6982 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005496/3.744, allocations: 347.4 kB / 1.86 GB, free: 93.32 MB / 0.6982 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006129/3.744, allocations: 0.6853 MB / 1.861 GB, free: 92.75 MB / 0.6982 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001679/3.746, allocations: 0.5536 MB / 1.861 GB, free: 92.59 MB / 0.6982 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.253e-06/3.746, allocations: 3.812 kB / 1.861 GB, free: 92.59 MB / 0.6982 GB Notification: Performance of matching and sorting (n=114) (initialization): time 0.003133/3.749, allocations: 1.371 MB / 1.863 GB, free: 92.11 MB / 0.6982 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006627/3.75, allocations: 3.32 MB / 1.866 GB, free: 88.54 MB / 0.6982 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.556e-05/3.75, allocations: 7.688 kB / 1.866 GB, free: 88.54 MB / 0.6982 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000929/3.751, allocations: 302 kB / 1.866 GB, free: 88.46 MB / 0.6982 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009889/3.752, allocations: 226.1 kB / 1.867 GB, free: 88.45 MB / 0.6982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001415/3.753, allocations: 1.562 MB / 1.868 GB, free: 87.22 MB / 0.6982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001597/3.755, allocations: 130.4 kB / 1.868 GB, free: 87.18 MB / 0.6982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000154/3.755, allocations: 68.83 kB / 1.868 GB, free: 87.17 MB / 0.6982 GB Notification: Performance of prepare postOptimizeDAE: time 1.013e-05/3.755, allocations: 3.875 kB / 1.868 GB, free: 87.17 MB / 0.6982 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002903/3.758, allocations: 1.127 MB / 1.869 GB, free: 86.82 MB / 0.6982 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.078e-05/3.758, allocations: 5.188 kB / 1.869 GB, free: 86.82 MB / 0.6982 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009652/3.759, allocations: 302.5 kB / 1.87 GB, free: 86.75 MB / 0.6982 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008891/3.76, allocations: 214.8 kB / 1.87 GB, free: 86.73 MB / 0.6982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006425/3.766, allocations: 3.903 MB / 1.874 GB, free: 84.12 MB / 0.6982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001733/3.768, allocations: 110.3 kB / 1.874 GB, free: 84.08 MB / 0.6982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001432/3.768, allocations: 66.72 kB / 1.874 GB, free: 84.07 MB / 0.6982 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 (95): * Single equations (assignments): 91 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * 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.0004126/3.769, allocations: 129.2 kB / 1.874 GB, free: 83.95 MB / 0.6982 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002709/3.769, allocations: 163.4 kB / 1.874 GB, free: 83.86 MB / 0.6982 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00427/3.773, allocations: 1.453 MB / 1.876 GB, free: 83.38 MB / 0.6982 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.248e-05/3.773, allocations: 14.58 kB / 1.876 GB, free: 83.38 MB / 0.6982 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.998e-06/3.773, allocations: 0 / 1.876 GB, free: 83.38 MB / 0.6982 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.764e-05/3.773, allocations: 8.031 kB / 1.876 GB, free: 83.38 MB / 0.6982 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005828/3.779, allocations: 2.463 MB / 1.878 GB, free: 81.95 MB / 0.6982 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.087e-05/3.779, allocations: 1.312 kB / 1.878 GB, free: 81.95 MB / 0.6982 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008136/3.78, allocations: 128.7 kB / 1.878 GB, free: 81.91 MB / 0.6982 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007524/3.781, allocations: 233.2 kB / 1.878 GB, free: 81.8 MB / 0.6982 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.387e-05/3.781, allocations: 17.19 kB / 1.878 GB, free: 81.8 MB / 0.6982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00155/3.782, allocations: 1.449 MB / 1.88 GB, free: 80.54 MB / 0.6982 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.476e-06/3.782, allocations: 5.609 kB / 1.88 GB, free: 80.54 MB / 0.6982 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004777/3.787, allocations: 1.819 MB / 1.882 GB, free: 79.49 MB / 0.6982 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001165/3.788, allocations: 348 kB / 1.882 GB, free: 79.2 MB / 0.6982 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002397/3.789, allocations: 7.531 kB / 1.882 GB, free: 79.19 MB / 0.6982 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001083/3.79, allocations: 76.05 kB / 1.882 GB, free: 79.16 MB / 0.6982 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001236/3.79, allocations: 47.48 kB / 1.882 GB, free: 79.14 MB / 0.6982 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001169/3.79, allocations: 40.81 kB / 1.882 GB, free: 79.12 MB / 0.6982 GB Notification: Performance of sort global known variables: time 0.001821/3.792, allocations: 0.8738 MB / 1.883 GB, free: 78.66 MB / 0.6982 GB Notification: Performance of remove unused functions: time 0.004256/3.796, allocations: 0.9791 MB / 1.884 GB, free: 78.01 MB / 0.6982 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 4 (floMac1.filter.s[1],floMac1.filter.s[2],floMac2.filter.s[1],floMac2.filter.s[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (62): * Single equations (assignments): 54 * 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.002349/3.798, allocations: 1.255 MB / 1.885 GB, free: 76.97 MB / 0.6982 GB Notification: Performance of simCode: created initialization part: time 0.003048/3.801, allocations: 1.627 MB / 1.887 GB, free: 75.34 MB / 0.6982 GB Notification: Performance of simCode: created event and clocks part: time 6.502e-06/3.802, allocations: 3.938 kB / 1.887 GB, free: 75.34 MB / 0.6982 GB Notification: Performance of simCode: created simulation system equations: time 0.0007332/3.802, allocations: 457.6 kB / 1.887 GB, free: 74.89 MB / 0.6982 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003277/3.806, allocations: 0.6184 MB / 1.888 GB, free: 74.33 MB / 0.6982 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00483/3.81, allocations: 2.2 MB / 1.89 GB, free: 72.08 MB / 0.6982 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00117/3.812, allocations: 1.538 MB / 1.891 GB, free: 70.54 MB / 0.6982 GB Notification: Performance of SimCode: time 1.633e-06/3.812, allocations: 0 / 1.891 GB, free: 70.54 MB / 0.6982 GB Notification: Performance of Templates: time 0.06391/3.876, allocations: 42.34 MB / 1.933 GB, free: 29.4 MB / 0.6982 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Movers.Examples.PumpsSeries.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Movers.Examples.PumpsSeries.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Movers.Examples.PumpsSeries.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Movers.Examples.PumpsSeries.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Movers.Examples.PumpsSeries.sim & ./BuildingSystems_BuildingSystems.Fluid.Movers.Examples.PumpsSeries -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Movers.Examples.PumpsSeries.pipe 2>&1)