Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.Examples.PumpsSeries.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.PumpsSeries,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.Examples.PumpsSeries") translateModel(BuildSysPro.IBPSA.Fluid.Movers.Examples.PumpsSeries,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.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/BuildSysPro 3.5.0/package.mo): time 0.7122/0.7122, 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.001249/0.001249, allocations: 177.3 kB / 164.4 MB, free: 6.891 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.8/1.8, allocations: 205.1 MB / 399.1 MB, free: 6.148 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.0009369/0.0009369, allocations: 87.33 kB / 476.3 MB, free: 8.902 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 8.376e-06/8.495e-06, allocations: 0 / 0.546 GB, free: 42.79 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.166/0.166, allocations: 76.75 MB / 0.6209 GB, free: 13.96 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.132/1.298, allocations: 397.6 MB / 1.009 GB, free: 85.44 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002609/1.299, allocations: 88.48 kB / 1.009 GB, free: 85.4 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.65/3.949, allocations: 0.6628 GB / 1.672 GB, free: 103.1 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0004266/3.949, allocations: 51.91 kB / 1.672 GB, free: 103.1 MB / 0.6511 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.00717/3.957, allocations: 1.945 MB / 1.674 GB, free: 102.2 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.823e-05/3.957, allocations: 6.656 kB / 1.674 GB, free: 102.2 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004803/3.961, allocations: 0.6769 MB / 1.675 GB, free: 102.1 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03986/4.001, allocations: 13.72 MB / 1.688 GB, free: 101.2 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001608/4.002, allocations: 34.09 kB / 1.688 GB, free: 101.2 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007145/4.002, allocations: 68.56 kB / 1.688 GB, free: 101.2 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003006/4.005, allocations: 0.8619 MB / 1.689 GB, free: 101.2 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00317/4.009, allocations: 1.113 MB / 1.69 GB, free: 101 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.665e-05/4.009, allocations: 6.812 kB / 1.69 GB, free: 101 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000129/4.009, allocations: 5.719 kB / 1.69 GB, free: 101 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.593e-05/4.009, allocations: 22 kB / 1.69 GB, free: 101 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01001/4.019, allocations: 6.03 MB / 1.696 GB, free: 97.74 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001088/4.02, allocations: 0.6905 MB / 1.697 GB, free: 97.71 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004311/4.02, allocations: 336.9 kB / 1.697 GB, free: 97.71 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002675/4.023, allocations: 1.558 MB / 1.699 GB, free: 97.01 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.701e-05/4.023, allocations: 37.94 kB / 1.699 GB, free: 96.97 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=57): time 2.235e-06/4.023, allocations: 0 / 1.699 GB, free: 96.97 MB / 0.6511 GB Notification: Performance of matching and sorting (n=57): time 0.003691/4.027, allocations: 1.156 MB / 1.7 GB, free: 96.82 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.492e-05/4.027, allocations: 212.8 kB / 1.7 GB, free: 96.57 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001839/4.029, allocations: 1.211 MB / 1.701 GB, free: 96.41 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 8.123e-05/4.029, allocations: 25.7 kB / 1.701 GB, free: 96.38 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003669/4.029, allocations: 0.5277 MB / 1.702 GB, free: 96.09 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.000184/4.029, allocations: 189 kB / 1.702 GB, free: 95.97 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.203e-05/4.029, allocations: 3.219 kB / 1.702 GB, free: 95.97 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001021/4.03, allocations: 342.8 kB / 1.702 GB, free: 95.66 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005354/4.03, allocations: 371.1 kB / 1.703 GB, free: 95.66 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007368/4.031, allocations: 0.7213 MB / 1.703 GB, free: 95.22 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001789/4.033, allocations: 0.5773 MB / 1.704 GB, free: 95.21 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.432e-06/4.033, allocations: 3.688 kB / 1.704 GB, free: 95.21 MB / 0.6511 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.003225/4.036, allocations: 1.421 MB / 1.705 GB, free: 95.06 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.000882/4.037, allocations: 3.333 MB / 1.708 GB, free: 91.56 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.252e-05/4.037, allocations: 16.88 kB / 1.708 GB, free: 91.56 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009451/4.038, allocations: 304.3 kB / 1.709 GB, free: 91.54 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000875/4.039, allocations: 200 kB / 1.709 GB, free: 91.54 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001494/4.04, allocations: 1.575 MB / 1.71 GB, free: 90.5 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001554/4.042, allocations: 134.6 kB / 1.711 GB, free: 90.45 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001727/4.042, allocations: 76.59 kB / 1.711 GB, free: 90.45 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.204e-05/4.042, allocations: 5.656 kB / 1.711 GB, free: 90.45 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002985/4.045, allocations: 1.165 MB / 1.712 GB, free: 90.41 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.287e-05/4.045, allocations: 17.95 kB / 1.712 GB, free: 90.41 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009227/4.046, allocations: 315 kB / 1.712 GB, free: 90.4 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007149/4.047, allocations: 187.3 kB / 1.712 GB, free: 90.4 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00611/4.053, allocations: 3.988 MB / 1.716 GB, free: 88.23 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001541/4.054, allocations: 102.1 kB / 1.716 GB, free: 88.2 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001415/4.054, allocations: 66.33 kB / 1.716 GB, free: 88.2 MB / 0.6511 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 (94): * Single equations (assignments): 86 * 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 8} Notification: Performance of prepare postOptimizeDAE: time 0.000437/4.055, allocations: 148.5 kB / 1.717 GB, free: 88.08 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002472/4.055, allocations: 158.4 kB / 1.717 GB, free: 87.99 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004008/4.059, allocations: 1.388 MB / 1.718 GB, free: 87.89 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.204e-05/4.059, allocations: 7.875 kB / 1.718 GB, free: 87.89 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.665e-06/4.059, allocations: 0 / 1.718 GB, free: 87.89 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.047e-05/4.059, allocations: 3.797 kB / 1.718 GB, free: 87.89 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001911/4.061, allocations: 1.041 MB / 1.719 GB, free: 87.7 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.26e-06/4.061, allocations: 3.938 kB / 1.719 GB, free: 87.7 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006241/4.062, allocations: 109.1 kB / 1.719 GB, free: 87.7 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005916/4.062, allocations: 232.2 kB / 1.719 GB, free: 87.69 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.544e-05/4.062, allocations: 16.86 kB / 1.719 GB, free: 87.69 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001128/4.064, allocations: 1.458 MB / 1.721 GB, free: 86.64 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.482e-06/4.064, allocations: 10.66 kB / 1.721 GB, free: 86.64 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003493/4.067, allocations: 1.616 MB / 1.722 GB, free: 86.38 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007307/4.068, allocations: 332 kB / 1.723 GB, free: 86.19 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002097/4.068, allocations: 7.469 kB / 1.723 GB, free: 86.19 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000927/4.069, allocations: 70.62 kB / 1.723 GB, free: 86.18 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001063/4.069, allocations: 46.61 kB / 1.723 GB, free: 86.18 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.179e-05/4.069, allocations: 31.39 kB / 1.723 GB, free: 86.18 MB / 0.6511 GB Notification: Performance of sort global known variables: time 0.001467/4.071, allocations: 0.9233 MB / 1.724 GB, free: 86.07 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.003908/4.075, allocations: 1.011 MB / 1.725 GB, free: 85.89 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (48): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.002591/4.077, allocations: 1.33 MB / 1.726 GB, free: 85.56 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.003381/4.081, allocations: 1.762 MB / 1.728 GB, free: 85.3 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 6.161e-06/4.081, allocations: 0 / 1.728 GB, free: 85.3 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0006819/4.081, allocations: 386.7 kB / 1.728 GB, free: 85.29 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002944/4.084, allocations: 0.6331 MB / 1.729 GB, free: 85.27 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004836/4.089, allocations: 2.177 MB / 1.731 GB, free: 84.7 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001202/4.09, allocations: 1.553 MB / 1.732 GB, free: 83.97 MB / 0.6511 GB Notification: Performance of SimCode: time 8.02e-07/4.09, allocations: 0 / 1.732 GB, free: 83.97 MB / 0.6511 GB Notification: Performance of Templates: time 0.1016/4.192, allocations: 43.83 MB / 1.775 GB, free: 73.78 MB / 0.6511 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.Examples.PumpsSeries.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.Examples.PumpsSeries.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.Examples.PumpsSeries.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.Examples.PumpsSeries.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.Examples.PumpsSeries.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.Examples.PumpsSeries -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.Examples.PumpsSeries.pipe 2>&1)