Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.Validation.Pump_stratos.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.Validation.Pump_stratos,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.Validation.Pump_stratos") translateModel(BuildSysPro.IBPSA.Fluid.Movers.Validation.Pump_stratos,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.Validation.Pump_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/BuildSysPro 3.5.0/package.mo): time 0.7471/0.7471, allocations: 127.4 MB / 134.6 MB, free: 4.145 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.001133/0.001133, allocations: 181.3 kB / 164.4 MB, free: 6.898 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.667/1.667, allocations: 205.1 MB / 399.1 MB, free: 6.09 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.001253/0.001253, allocations: 83.34 kB / 476.3 MB, free: 8.844 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 9.097e-06/9.117e-06, allocations: 0 / 0.546 GB, free: 42.76 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2021/0.2021, allocations: 76.75 MB / 0.6209 GB, free: 13.94 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.171/6.373, allocations: 2.435 GB / 3.056 GB, free: 175.4 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002609/6.374, allocations: 91.42 kB / 3.056 GB, free: 175.4 MB / 0.6355 GB Notification: Performance of FrontEnd: time 3.1/9.474, allocations: 0.8534 GB / 3.909 GB, free: 61.6 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 0.0003504/9.474, allocations: 66.66 kB / 3.909 GB, free: 61.59 MB / 0.6667 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 292 * Number of variables: 292 Notification: Performance of Generate backend data structure: time 0.0074/9.482, allocations: 2.521 MB / 3.912 GB, free: 60.25 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.981e-05/9.482, allocations: 6.812 kB / 3.912 GB, free: 60.25 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004612/9.486, allocations: 0.6713 MB / 3.912 GB, free: 60.09 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04419/9.53, allocations: 17.48 MB / 3.929 GB, free: 58.84 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001004/9.531, allocations: 40.75 kB / 3.929 GB, free: 58.84 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004121/9.531, allocations: 81.62 kB / 3.93 GB, free: 58.84 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002581/9.534, allocations: 1.242 MB / 3.931 GB, free: 58.82 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00231/9.536, allocations: 1.38 MB / 3.932 GB, free: 58.62 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.813e-05/9.536, allocations: 0 / 3.932 GB, free: 58.62 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001156/9.536, allocations: 0 / 3.932 GB, free: 58.62 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.637e-05/9.536, allocations: 40.42 kB / 3.932 GB, free: 58.61 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0149/9.551, allocations: 8.526 MB / 3.94 GB, free: 53.85 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00155/9.553, allocations: 1.172 MB / 3.942 GB, free: 53.42 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008692/9.554, allocations: 0.6533 MB / 3.942 GB, free: 53.2 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005509/9.559, allocations: 2.727 MB / 3.945 GB, free: 51.47 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.607e-05/9.559, allocations: 40.77 kB / 3.945 GB, free: 51.43 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=58): time 6.392e-06/9.559, allocations: 0 / 3.945 GB, free: 51.43 MB / 0.6667 GB Notification: Performance of matching and sorting (n=58): time 0.006513/9.566, allocations: 1.92 MB / 3.947 GB, free: 50.79 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.377e-05/9.566, allocations: 58.97 kB / 3.947 GB, free: 50.73 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005735/9.572, allocations: 2.789 MB / 3.95 GB, free: 49.6 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.0004979/9.572, allocations: 28.77 kB / 3.95 GB, free: 49.57 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006973/9.573, allocations: 0.6841 MB / 3.95 GB, free: 49.12 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003785/9.573, allocations: 200.1 kB / 3.951 GB, free: 48.96 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.362e-05/9.573, allocations: 0 / 3.951 GB, free: 48.96 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001226/9.573, allocations: 353.8 kB / 3.951 GB, free: 48.64 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001109/9.575, allocations: 0.607 MB / 3.951 GB, free: 48.41 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001417/9.576, allocations: 1.161 MB / 3.953 GB, free: 47.45 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002469/9.578, allocations: 0.8405 MB / 3.953 GB, free: 47.17 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.529e-05/9.578, allocations: 4.625 kB / 3.953 GB, free: 47.17 MB / 0.6667 GB Notification: Performance of matching and sorting (n=146) (initialization): time 0.00695/9.585, allocations: 2.263 MB / 3.956 GB, free: 46.36 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.002085/9.588, allocations: 6.28 MB / 3.962 GB, free: 39.72 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7e-05/9.588, allocations: 15.03 kB / 3.962 GB, free: 39.72 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001754/9.589, allocations: 0.5036 MB / 3.962 GB, free: 39.57 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00139/9.591, allocations: 236 kB / 3.962 GB, free: 39.55 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00352/9.594, allocations: 2.623 MB / 3.965 GB, free: 37.61 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003372/9.598, allocations: 202.4 kB / 3.965 GB, free: 37.54 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004268/9.598, allocations: 119.2 kB / 3.965 GB, free: 37.52 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.827e-05/9.598, allocations: 3.438 kB / 3.965 GB, free: 37.52 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005733/9.604, allocations: 1.743 MB / 3.967 GB, free: 36.96 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.087e-05/9.604, allocations: 14.22 kB / 3.967 GB, free: 36.96 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001926/9.606, allocations: 0.5816 MB / 3.968 GB, free: 36.81 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001143/9.607, allocations: 221.7 kB / 3.968 GB, free: 36.79 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01485/9.622, allocations: 7.953 MB / 3.976 GB, free: 32.07 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003485/9.626, allocations: 145.2 kB / 3.976 GB, free: 32.02 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005438/9.626, allocations: 101.9 kB / 3.976 GB, free: 32.02 MB / 0.6667 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: floMacSta.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: 66 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (110): * Single equations (assignments): 105 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 4,1 7,1 7} Notification: Performance of prepare postOptimizeDAE: time 0.0008698/9.627, allocations: 149.7 kB / 3.976 GB, free: 31.88 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001163/9.628, allocations: 242.1 kB / 3.976 GB, free: 31.74 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008118/9.636, allocations: 1.785 MB / 3.978 GB, free: 31.23 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.625e-05/9.637, allocations: 6.594 kB / 3.978 GB, free: 31.23 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.357e-06/9.637, allocations: 1.188 kB / 3.978 GB, free: 31.23 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00498/9.642, allocations: 1.48 MB / 3.979 GB, free: 30.53 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006769/9.648, allocations: 1.787 MB / 3.981 GB, free: 29.73 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.093e-05/9.648, allocations: 1.219 kB / 3.981 GB, free: 29.73 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008246/9.649, allocations: 114.2 kB / 3.981 GB, free: 29.73 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008053/9.65, allocations: 284.5 kB / 3.982 GB, free: 29.63 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001078/9.65, allocations: 19.06 kB / 3.982 GB, free: 29.63 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002542/9.653, allocations: 2.08 MB / 3.984 GB, free: 27.86 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.814e-06/9.653, allocations: 6.891 kB / 3.984 GB, free: 27.86 MB / 0.6667 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.008915/9.662, allocations: 2.115 MB / 3.986 GB, free: 26.98 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003368/9.665, allocations: 0.5666 MB / 3.986 GB, free: 26.59 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001626/9.667, allocations: 4.875 kB / 3.986 GB, free: 26.59 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002636/9.669, allocations: 88.2 kB / 3.986 GB, free: 26.58 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000185/9.67, allocations: 48.3 kB / 3.986 GB, free: 26.57 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001751/9.67, allocations: 41.41 kB / 3.986 GB, free: 26.57 MB / 0.6667 GB Notification: Performance of sort global known variables: time 0.006619/9.676, allocations: 2.097 MB / 3.988 GB, free: 25.68 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.01087/9.687, allocations: 1.294 MB / 3.99 GB, free: 25.06 MB / 0.6667 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (floMacDyn.vol.dynBal.U) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (52): * Single equations (assignments): 45 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 8,1 4,1 8} Notification: Performance of Backend phase and start with SimCode phase: time 0.003734/9.691, allocations: 1.347 MB / 3.991 GB, free: 23.96 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.005445/9.697, allocations: 2.416 MB / 3.993 GB, free: 21.7 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 5.991e-06/9.697, allocations: 0 / 3.993 GB, free: 21.7 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.001027/9.698, allocations: 474.3 kB / 3.994 GB, free: 21.28 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007859/9.706, allocations: 1.135 MB / 3.995 GB, free: 20.41 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01271/9.718, allocations: 3.334 MB / 3.998 GB, free: 17.35 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003504/9.722, allocations: 2.057 MB / 4 GB, free: 15.71 MB / 0.6667 GB Notification: Performance of SimCode: time 1.473e-06/9.722, allocations: 0 / 4 GB, free: 15.71 MB / 0.6667 GB Notification: Performance of Templates: time 0.6017/10.32, allocations: 68.64 MB / 4.067 GB, free: 154.6 MB / 0.698 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.Validation.Pump_stratos.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.Validation.Pump_stratos.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.Validation.Pump_stratos.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.Validation.Pump_stratos.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.Validation.Pump_stratos.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.Validation.Pump_stratos -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.Validation.Pump_stratos.pipe 2>&1)