Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/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 BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves") translateModel(BuildSysPro.IBPSA.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves") [: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/BuildSysPro 3.5.0/package.mo): time 0.693/0.693, allocations: 127.4 MB / 134.6 MB, free: 4.094 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001254/0.001254, allocations: 181.3 kB / 164.4 MB, free: 6.883 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.728/1.728, allocations: 205.1 MB / 399.1 MB, free: 6.074 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009613/0.0009612, allocations: 94.81 kB / 476.3 MB, free: 8.828 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 7.374e-06/7.404e-06, allocations: 0 / 0.546 GB, free: 42.74 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1766/0.1766, allocations: 76.74 MB / 0.6209 GB, free: 13.92 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.073/1.25, allocations: 404.6 MB / 1.016 GB, free: 78.55 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000294/1.25, allocations: 92.39 kB / 1.016 GB, free: 78.51 MB / 0.6198 GB Notification: Performance of FrontEnd: time 5.728/6.979, allocations: 1.397 GB / 2.413 GB, free: 53.91 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0009367/6.98, allocations: 103.7 kB / 2.413 GB, free: 53.9 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 525 * Number of variables: 525 Notification: Performance of Generate backend data structure: time 0.01435/6.994, allocations: 3.687 MB / 2.417 GB, free: 52.41 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.842e-05/6.994, allocations: 9.719 kB / 2.417 GB, free: 52.41 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01034/7.004, allocations: 1.395 MB / 2.418 GB, free: 52.17 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.07425/7.079, allocations: 27.74 MB / 2.445 GB, free: 50.49 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002208/7.079, allocations: 71.81 kB / 2.446 GB, free: 50.49 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001236/7.08, allocations: 140.4 kB / 2.446 GB, free: 50.49 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005553/7.086, allocations: 1.91 MB / 2.448 GB, free: 50.47 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00691/7.093, allocations: 2.278 MB / 2.45 GB, free: 50.12 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.993e-05/7.093, allocations: 6.781 kB / 2.45 GB, free: 50.12 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005062/7.093, allocations: 3.281 kB / 2.45 GB, free: 50.12 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.469e-05/7.093, allocations: 50.91 kB / 2.45 GB, free: 50.12 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01866/7.112, allocations: 12.1 MB / 2.462 GB, free: 43.75 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002809/7.115, allocations: 1.997 MB / 2.464 GB, free: 43.71 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001015/7.116, allocations: 0.8032 MB / 2.464 GB, free: 43.71 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006452/7.122, allocations: 3.377 MB / 2.468 GB, free: 42.2 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.661e-05/7.123, allocations: 49.22 kB / 2.468 GB, free: 42.16 MB / 0.698 GB Notification: Performance of pre-optimization done (n=113): time 3.296e-06/7.123, allocations: 0 / 2.468 GB, free: 42.16 MB / 0.698 GB Notification: Performance of matching and sorting (n=113): time 0.01107/7.134, allocations: 3.088 MB / 2.471 GB, free: 41.87 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.167e-05/7.134, allocations: 63.22 kB / 2.471 GB, free: 41.8 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004738/7.138, allocations: 2.609 MB / 2.473 GB, free: 41.51 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0005842/7.139, allocations: 27.86 kB / 2.473 GB, free: 41.48 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006628/7.14, allocations: 1.032 MB / 2.474 GB, free: 40.98 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004477/7.14, allocations: 379.4 kB / 2.475 GB, free: 40.73 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001271/7.14, allocations: 0 / 2.475 GB, free: 40.73 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001204/7.14, allocations: 377.6 kB / 2.475 GB, free: 40.43 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001243/7.142, allocations: 0.8609 MB / 2.476 GB, free: 40.42 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001664/7.143, allocations: 1.612 MB / 2.478 GB, free: 39.5 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004052/7.147, allocations: 1.273 MB / 2.479 GB, free: 39.48 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-05/7.147, allocations: 4.812 kB / 2.479 GB, free: 39.48 MB / 0.698 GB Notification: Performance of matching and sorting (n=245) (initialization): time 0.009522/7.157, allocations: 3.446 MB / 2.482 GB, free: 39.17 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.001724/7.159, allocations: 8.057 MB / 2.49 GB, free: 30.84 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.324e-05/7.159, allocations: 18.91 kB / 2.49 GB, free: 30.84 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002115/7.161, allocations: 0.9185 MB / 2.491 GB, free: 30.78 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001917/7.163, allocations: 394.4 kB / 2.491 GB, free: 30.78 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004905/7.168, allocations: 6.019 MB / 2.497 GB, free: 26.61 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004875/7.173, allocations: 329.9 kB / 2.498 GB, free: 26.51 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005998/7.173, allocations: 180.9 kB / 2.498 GB, free: 26.51 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.481e-05/7.173, allocations: 5.312 kB / 2.498 GB, free: 26.51 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007576/7.181, allocations: 2.798 MB / 2.5 GB, free: 26.41 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.772e-05/7.181, allocations: 19.31 kB / 2.5 GB, free: 26.41 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002655/7.184, allocations: 1.026 MB / 2.501 GB, free: 26.34 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001415/7.185, allocations: 368 kB / 2.502 GB, free: 26.34 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01913/7.204, allocations: 13.91 MB / 2.515 GB, free: 34.67 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003746/7.208, allocations: 252 kB / 2.516 GB, free: 34.6 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003966/7.208, allocations: 148.9 kB / 2.516 GB, free: 34.6 MB / 0.7136 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: pum3.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: pum2.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: pum1.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: pum.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: 81 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (189): * Single equations (assignments): 177 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 8 {1 4,1 5,1 4,1 5,1 4,1 5,1 4,1 5} Notification: Performance of prepare postOptimizeDAE: time 0.0008549/7.209, allocations: 173.7 kB / 2.516 GB, free: 34.48 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006889/7.21, allocations: 338.5 kB / 2.516 GB, free: 34.3 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00926/7.219, allocations: 3.032 MB / 2.519 GB, free: 34.07 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.977e-05/7.219, allocations: 18 kB / 2.519 GB, free: 34.07 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.08e-06/7.219, allocations: 0 / 2.519 GB, free: 34.07 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.487e-05/7.219, allocations: 7.219 kB / 2.519 GB, free: 34.07 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004529/7.224, allocations: 2.104 MB / 2.521 GB, free: 33.84 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.554e-06/7.224, allocations: 0 / 2.521 GB, free: 33.84 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001106/7.225, allocations: 203.6 kB / 2.521 GB, free: 33.84 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001328/7.226, allocations: 0.611 MB / 2.522 GB, free: 33.77 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001103/7.226, allocations: 29.23 kB / 2.522 GB, free: 33.77 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004416/7.231, allocations: 5.261 MB / 2.527 GB, free: 29.61 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.599e-06/7.231, allocations: 0 / 2.527 GB, free: 29.61 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00851/7.239, allocations: 2.564 MB / 2.53 GB, free: 29.15 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002352/7.242, allocations: 0.6053 MB / 2.53 GB, free: 28.85 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006698/7.243, allocations: 5.641 kB / 2.53 GB, free: 28.85 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002301/7.245, allocations: 193.1 kB / 2.531 GB, free: 28.84 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001884/7.245, allocations: 77.98 kB / 2.531 GB, free: 28.84 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000177/7.245, allocations: 77.77 kB / 2.531 GB, free: 28.84 MB / 0.7136 GB Notification: Performance of sort global known variables: time 0.00386/7.249, allocations: 1.995 MB / 2.533 GB, free: 28.66 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.008353/7.257, allocations: 1.869 MB / 2.534 GB, free: 28.38 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (93): * Single equations (assignments): 81 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 8 {1 4,1 6,1 4,1 6,1 4,1 6,1 4,1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.003553/7.261, allocations: 2.331 MB / 2.537 GB, free: 27.71 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.007086/7.268, allocations: 3.847 MB / 2.54 GB, free: 27.25 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 9.067e-06/7.268, allocations: 3.625 kB / 2.54 GB, free: 27.25 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.001593/7.27, allocations: 0.7874 MB / 2.541 GB, free: 27.23 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008612/7.278, allocations: 1.515 MB / 2.543 GB, free: 27.2 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01573/7.294, allocations: 5.188 MB / 2.548 GB, free: 26.05 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002644/7.297, allocations: 2.585 MB / 2.55 GB, free: 25.29 MB / 0.7136 GB Notification: Performance of SimCode: time 1.552e-06/7.297, allocations: 0 / 2.55 GB, free: 25.29 MB / 0.7136 GB Notification: Performance of Templates: time 0.1757/7.473, allocations: 92.77 MB / 2.641 GB, free: 5.344 MB / 0.7136 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.pipe 2>&1)