Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Movers.Validation.Pump_Nrpm_stratos.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.Validation.Pump_Nrpm_stratos,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Movers.Validation.Pump_Nrpm_stratos") translateModel(BuildingSystems.Fluid.Movers.Validation.Pump_Nrpm_stratos,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Movers.Validation.Pump_Nrpm_stratos") [: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.7997/0.7997, allocations: 141.8 MB / 149.1 MB, free: 12.95 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.00124/0.00124, allocations: 190.3 kB / 181.9 MB, free: 9.656 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.641/1.641, allocations: 221.3 MB / 436 MB, free: 2.16 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.001026/0.001026, allocations: 93.17 kB / 0.507 GB, free: 10.86 MB / 394.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001966/0.001966, allocations: 274.8 kB / 0.5884 GB, free: 7.676 MB / 474.9 MB Notification: Performance of FrontEnd - loaded program: time 1.097e-05/1.099e-05, allocations: 4 kB / 0.6759 GB, free: 14.04 MB / 0.5575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5347/0.5347, allocations: 82.77 MB / 0.7567 GB, free: 138.9 MB / 0.5575 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7451/1.28, allocations: 358.2 MB / 1.107 GB, free: 12.23 MB / 0.6513 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003068/1.28, allocations: 87.8 kB / 1.107 GB, free: 12.19 MB / 0.6513 GB Notification: Performance of FrontEnd: time 11.2/12.48, allocations: 2.71 GB / 3.817 GB, free: 49.83 MB / 0.8544 GB Notification: Performance of Transformations before backend: time 0.002593/12.48, allocations: 245.1 kB / 3.817 GB, free: 49.8 MB / 0.8544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1224 * Number of variables: 1224 Notification: Performance of Generate backend data structure: time 0.03459/12.52, allocations: 8.428 MB / 3.826 GB, free: 46.01 MB / 0.8544 GB Notification: Performance of prepare preOptimizeDAE: time 5.834e-05/12.52, allocations: 12 kB / 3.826 GB, free: 46.01 MB / 0.8544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02101/12.54, allocations: 3.052 MB / 3.829 GB, free: 45.38 MB / 0.8544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1935/12.73, allocations: 61.22 MB / 3.888 GB, free: 41.74 MB / 0.8544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005887/12.73, allocations: 161.5 kB / 3.888 GB, free: 41.74 MB / 0.8544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003349/12.74, allocations: 338.4 kB / 3.889 GB, free: 41.73 MB / 0.8544 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01637/12.75, allocations: 4.935 MB / 3.894 GB, free: 41.71 MB / 0.8544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02229/12.77, allocations: 5.584 MB / 3.899 GB, free: 40.95 MB / 0.8544 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003026/12.78, allocations: 11.06 kB / 3.899 GB, free: 40.95 MB / 0.8544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00218/12.78, allocations: 7.188 kB / 3.899 GB, free: 40.95 MB / 0.8544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002176/12.78, allocations: 191.8 kB / 3.899 GB, free: 40.93 MB / 0.8544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07519/12.85, allocations: 29.71 MB / 3.928 GB, free: 30.09 MB / 0.8544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005573/12.86, allocations: 2.784 MB / 3.931 GB, free: 30.05 MB / 0.8544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004074/12.86, allocations: 2.244 MB / 3.933 GB, free: 30.02 MB / 0.8544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03253/12.9, allocations: 11.46 MB / 3.944 GB, free: 26.27 MB / 0.8544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.375e-05/12.9, allocations: 64.44 kB / 3.944 GB, free: 26.23 MB / 0.8544 GB Notification: Performance of pre-optimization done (n=277): time 7.434e-06/12.9, allocations: 1.469 kB / 3.944 GB, free: 26.23 MB / 0.8544 GB Notification: Performance of matching and sorting (n=277): time 0.0276/12.92, allocations: 6.536 MB / 3.951 GB, free: 25.55 MB / 0.8544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.484e-05/12.92, allocations: 82.28 kB / 3.951 GB, free: 25.49 MB / 0.8544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02824/12.95, allocations: 9.669 MB / 3.96 GB, free: 24.92 MB / 0.8544 GB Notification: Performance of collectPreVariables (initialization): time 0.001784/12.95, allocations: 30.14 kB / 3.96 GB, free: 24.89 MB / 0.8544 GB Notification: Performance of collectInitialEqns (initialization): time 0.00458/12.96, allocations: 2.458 MB / 3.963 GB, free: 23.82 MB / 0.8544 GB Notification: Performance of collectInitialBindings (initialization): time 0.004607/12.96, allocations: 0.9273 MB / 3.964 GB, free: 23.2 MB / 0.8544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001497/12.96, allocations: 3.516 kB / 3.964 GB, free: 23.2 MB / 0.8544 GB Notification: Performance of setup shared object (initialization): time 0.0006575/12.96, allocations: 0.4915 MB / 3.964 GB, free: 22.89 MB / 0.8544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005196/12.97, allocations: 2.338 MB / 3.966 GB, free: 22.87 MB / 0.8544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006598/12.98, allocations: 4.461 MB / 3.971 GB, free: 20.22 MB / 0.8544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01229/12.99, allocations: 3.414 MB / 3.974 GB, free: 20.16 MB / 0.8544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002081/12.99, allocations: 21.14 kB / 3.974 GB, free: 20.16 MB / 0.8544 GB Notification: Performance of matching and sorting (n=637) (initialization): time 0.02768/13.02, allocations: 8.191 MB / 3.982 GB, free: 19.51 MB / 0.8544 GB Notification: Performance of prepare postOptimizeDAE: time 0.01037/13.03, allocations: 34.17 MB / 4.016 GB, free: 16.75 MB / 0.8857 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002915/13.03, allocations: 55.5 kB / 4.016 GB, free: 16.75 MB / 0.8857 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002903/13.03, allocations: 0.9021 MB / 4.016 GB, free: 16.71 MB / 0.8857 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006743/13.04, allocations: 1.251 MB / 4.018 GB, free: 16.71 MB / 0.8857 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004944/13.04, allocations: 4.1 MB / 4.022 GB, free: 14.11 MB / 0.8857 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01194/13.05, allocations: 0.6805 MB / 4.022 GB, free: 13.83 MB / 0.8857 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002403/13.06, allocations: 436.1 kB / 4.023 GB, free: 13.83 MB / 0.8857 GB Notification: Performance of prepare postOptimizeDAE: time 1.626e-05/13.06, allocations: 5.75 kB / 4.023 GB, free: 13.83 MB / 0.8857 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02091/13.08, allocations: 6.32 MB / 4.029 GB, free: 13.57 MB / 0.8857 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002509/13.08, allocations: 56.88 kB / 4.029 GB, free: 13.57 MB / 0.8857 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00258/13.08, allocations: 0.8976 MB / 4.03 GB, free: 13.53 MB / 0.8857 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005892/13.09, allocations: 1.179 MB / 4.031 GB, free: 13.45 MB / 0.8857 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005133/13.09, allocations: 4.09 MB / 4.035 GB, free: 10.81 MB / 0.8857 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01072/13.1, allocations: 0.5392 MB / 4.036 GB, free: 10.64 MB / 0.8857 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002237/13.1, allocations: 381.5 kB / 4.036 GB, free: 10.64 MB / 0.8857 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: pump5.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real forcedPump5.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: pump4.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real forcedPump4.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: pump3.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real forcedPump3.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: pump2.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real forcedPump2.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: pump1.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real forcedPump1.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: 266 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (532): * Single equations (assignments): 517 * Array equations: 10 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 5 {2 9,2 9,2 9,2 9,3 8} Notification: Performance of prepare postOptimizeDAE: time 0.004787/13.11, allocations: 303 kB / 4.036 GB, free: 10.41 MB / 0.8857 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005668/13.11, allocations: 0.8826 MB / 4.037 GB, free: 9.918 MB / 0.8857 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02548/13.14, allocations: 6.73 MB / 4.044 GB, free: 9.551 MB / 0.8857 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.97e-05/13.14, allocations: 43.38 kB / 4.044 GB, free: 9.551 MB / 0.8857 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.545e-05/13.14, allocations: 0 / 4.044 GB, free: 9.551 MB / 0.8857 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.345e-05/13.14, allocations: 14.11 kB / 4.044 GB, free: 9.551 MB / 0.8857 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04904/13.19, allocations: 12.86 MB / 4.056 GB, free: 7.914 MB / 0.8857 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.784e-05/13.19, allocations: 2.594 kB / 4.056 GB, free: 7.914 MB / 0.8857 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004424/13.19, allocations: 0.5975 MB / 4.057 GB, free: 7.871 MB / 0.8857 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002271/13.2, allocations: 0.7839 MB / 4.058 GB, free: 7.648 MB / 0.8857 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008963/13.2, allocations: 90.38 kB / 4.058 GB, free: 7.633 MB / 0.8857 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005203/13.2, allocations: 3.97 MB / 4.062 GB, free: 4.469 MB / 0.8857 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.516e-06/13.2, allocations: 3.969 kB / 4.062 GB, free: 4.469 MB / 0.8857 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.02245/13.23, allocations: 7.839 MB / 4.069 GB, free: 1.031 MB / 0.8857 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0103/13.24, allocations: 1.957 MB / 4.071 GB, free: 0 / 0.8857 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005499/13.24, allocations: 20.61 kB / 4.071 GB, free: 0 / 0.8857 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01151/13.25, allocations: 359.3 kB / 4.071 GB, free: 15.96 MB / 0.9013 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001205/13.25, allocations: 189.9 kB / 4.072 GB, free: 15.94 MB / 0.9013 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001276/13.26, allocations: 184.2 kB / 4.072 GB, free: 15.91 MB / 0.9013 GB Notification: Performance of sort global known variables: time 0.02115/13.28, allocations: 7.201 MB / 4.079 GB, free: 13 MB / 0.9013 GB Notification: Performance of remove unused functions: time 0.03035/13.31, allocations: 4.154 MB / 4.083 GB, free: 11.57 MB / 0.9013 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 20 (pump1.filter.s[1],pump1.filter.s[2],pump2.filter.s[1],pump2.filter.s[2],pump3.filter.s[1],pump3.filter.s[2],pump4.filter.s[1],pump4.filter.s[2],pump5.filter.s[1],pump5.filter.s[2],forcedPump1.filter.s[1],forcedPump1.filter.s[2],forcedPump2.filter.s[1],forcedPump2.filter.s[2],forcedPump3.filter.s[1],forcedPump3.filter.s[2],forcedPump4.filter.s[1],forcedPump4.filter.s[2],forcedPump5.filter.s[1],forcedPump5.filter.s[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (289): * Single equations (assignments): 262 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 22 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 5 {2 9,2 9,2 9,2 9,2 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.01099/13.32, allocations: 4.488 MB / 4.087 GB, free: 7.355 MB / 0.9013 GB Notification: Performance of simCode: created initialization part: time 0.5951/13.91, allocations: 8.726 MB / 4.096 GB, free: 129.3 MB / 0.9013 GB Notification: Performance of simCode: created event and clocks part: time 1.636e-05/13.91, allocations: 0.6562 kB / 4.096 GB, free: 129.3 MB / 0.9013 GB Notification: Performance of simCode: created simulation system equations: time 0.005457/13.92, allocations: 2.019 MB / 4.098 GB, free: 129.3 MB / 0.9013 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02327/13.94, allocations: 4.03 MB / 4.102 GB, free: 129.3 MB / 0.9013 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04041/13.98, allocations: 13.66 MB / 4.115 GB, free: 126.3 MB / 0.9013 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01381/14, allocations: 6.051 MB / 4.121 GB, free: 125.4 MB / 0.9013 GB Notification: Performance of SimCode: time 1.442e-06/14, allocations: 0 / 4.121 GB, free: 125.4 MB / 0.9013 GB Notification: Performance of Templates: time 0.4053/14.4, allocations: 228.5 MB / 4.344 GB, free: 99.09 MB / 0.9013 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Movers.Validation.Pump_Nrpm_stratos.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Movers.Validation.Pump_Nrpm_stratos.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Movers.Validation.Pump_Nrpm_stratos.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Movers.Validation.Pump_Nrpm_stratos.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Movers.Validation.Pump_Nrpm_stratos.sim & ./BuildingSystems_BuildingSystems.Fluid.Movers.Validation.Pump_Nrpm_stratos -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Movers.Validation.Pump_Nrpm_stratos.pipe 2>&1)