Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.Validation.ControlledFlowMachineDynamic.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.ControlledFlowMachineDynamic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.Validation.ControlledFlowMachineDynamic") translateModel(BuildSysPro.IBPSA.Fluid.Movers.Validation.ControlledFlowMachineDynamic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.Validation.ControlledFlowMachineDynamic") [: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.703/0.703, allocations: 127.4 MB / 134.6 MB, free: 4.086 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.001489/0.001489, allocations: 181.3 kB / 164.4 MB, free: 6.887 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.632/1.632, allocations: 205.1 MB / 399.1 MB, free: 6.062 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.001022/0.001022, allocations: 89.33 kB / 476.3 MB, free: 8.824 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 7.494e-06/7.524e-06, allocations: 0 / 0.546 GB, free: 42.75 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1771/0.1771, allocations: 76.75 MB / 0.6209 GB, free: 13.92 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.865/5.042, allocations: 2.195 GB / 2.816 GB, free: 13.77 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002337/5.043, allocations: 97.02 kB / 2.816 GB, free: 13.68 MB / 0.6355 GB Notification: Performance of FrontEnd: time 17.72/22.76, allocations: 4.346 GB / 7.163 GB, free: 43.26 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 0.001694/22.76, allocations: 164 kB / 7.163 GB, free: 43.23 MB / 0.8073 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 825 * Number of variables: 825 Notification: Performance of Generate backend data structure: time 0.02695/22.79, allocations: 6.074 MB / 7.169 GB, free: 40.17 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 5.274e-05/22.79, allocations: 11.31 kB / 7.169 GB, free: 40.17 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01784/22.81, allocations: 1.979 MB / 7.171 GB, free: 39.77 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04155/22.85, allocations: 11.73 MB / 7.182 GB, free: 38.44 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004566/22.85, allocations: 104.2 kB / 7.182 GB, free: 38.44 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002613/22.85, allocations: 223.8 kB / 7.182 GB, free: 38.44 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01312/22.87, allocations: 3.754 MB / 7.186 GB, free: 37.74 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01576/22.88, allocations: 4.036 MB / 7.19 GB, free: 36.1 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002578/22.88, allocations: 5.375 kB / 7.19 GB, free: 36.1 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00175/22.88, allocations: 3.375 kB / 7.19 GB, free: 36.1 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001415/22.88, allocations: 116.7 kB / 7.19 GB, free: 36.09 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04943/22.93, allocations: 20.63 MB / 7.21 GB, free: 21.19 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007041/22.94, allocations: 3.515 MB / 7.214 GB, free: 18.04 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003641/22.94, allocations: 1.921 MB / 7.216 GB, free: 16.31 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008175/22.95, allocations: 0.5463 MB / 7.216 GB, free: 15.68 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004697/22.95, allocations: 1.897 MB / 7.218 GB, free: 14.14 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=205): time 6.833e-06/22.95, allocations: 0 / 7.218 GB, free: 14.14 MB / 0.8073 GB Notification: Performance of matching and sorting (n=205): time 0.01742/22.97, allocations: 4.425 MB / 7.222 GB, free: 10.32 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001237/22.97, allocations: 330.4 kB / 7.223 GB, free: 9.918 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01746/22.98, allocations: 6.04 MB / 7.228 GB, free: 4.535 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 0.001583/22.99, allocations: 29.7 kB / 7.228 GB, free: 4.5 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.00288/22.99, allocations: 1.543 MB / 7.23 GB, free: 3.203 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 0.002495/22.99, allocations: 0.68 MB / 7.231 GB, free: 2.574 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001036/22.99, allocations: 4 kB / 7.231 GB, free: 2.57 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.000438/22.99, allocations: 432.4 kB / 7.231 GB, free: 2.18 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003523/23, allocations: 1.696 MB / 7.233 GB, free: 0.625 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006474/23, allocations: 3.029 MB / 7.236 GB, free: 13.47 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00639/23.01, allocations: 2.147 MB / 7.238 GB, free: 11.31 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.425e-05/23.01, allocations: 8 kB / 7.238 GB, free: 11.3 MB / 0.823 GB Notification: Performance of matching and sorting (n=418) (initialization): time 0.01986/23.03, allocations: 5.622 MB / 7.243 GB, free: 5.633 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 0.6148/23.64, allocations: 14.46 MB / 7.257 GB, free: 99.34 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001418/23.64, allocations: 39.75 kB / 7.257 GB, free: 99.34 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001387/23.65, allocations: 476.4 kB / 7.258 GB, free: 99.33 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00638/23.65, allocations: 0.9523 MB / 7.259 GB, free: 99.33 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005341/23.66, allocations: 4.729 MB / 7.263 GB, free: 96.55 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008231/23.67, allocations: 0.5225 MB / 7.264 GB, free: 96.55 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001304/23.67, allocations: 284.9 kB / 7.264 GB, free: 96.55 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.247e-05/23.67, allocations: 4.562 kB / 7.264 GB, free: 96.55 MB / 0.823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008347/23.68, allocations: 4.054 MB / 7.268 GB, free: 96.46 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001213/23.68, allocations: 38.61 kB / 7.268 GB, free: 96.46 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001275/23.68, allocations: 0.5472 MB / 7.269 GB, free: 96.45 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003481/23.68, allocations: 0.7333 MB / 7.269 GB, free: 96.45 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0111/23.69, allocations: 7.168 MB / 7.276 GB, free: 93.59 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008749/23.7, allocations: 389.1 kB / 7.277 GB, free: 93.59 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001266/23.7, allocations: 235.5 kB / 7.277 GB, free: 93.59 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 131 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.y.T_start,y.T_start,$PRE.y.count,y.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (359): * Single equations (assignments): 341 * Array equations: 8 * Algorithm blocks: 1 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 5,1 5} Notification: Performance of prepare postOptimizeDAE: time 0.001438/23.7, allocations: 205.4 kB / 7.277 GB, free: 93.48 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002215/23.71, allocations: 0.544 MB / 7.278 GB, free: 93.48 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01068/23.72, allocations: 3.678 MB / 7.281 GB, free: 93.32 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.905e-05/23.72, allocations: 20.5 kB / 7.281 GB, free: 93.32 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.606e-06/23.72, allocations: 0.9375 kB / 7.281 GB, free: 93.32 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006557/23.72, allocations: 3.101 MB / 7.284 GB, free: 92.82 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02176/23.75, allocations: 8.659 MB / 7.293 GB, free: 92.3 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.746e-06/23.75, allocations: 0 / 7.293 GB, free: 92.3 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004774/23.75, allocations: 0.7688 MB / 7.294 GB, free: 92.3 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005293/23.75, allocations: 216.6 kB / 7.294 GB, free: 92.28 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003265/23.75, allocations: 47.58 kB / 7.294 GB, free: 92.28 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005427/23.76, allocations: 4.499 MB / 7.298 GB, free: 88.81 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.901e-06/23.76, allocations: 0 / 7.298 GB, free: 88.81 MB / 0.823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01181/23.77, allocations: 5.363 MB / 7.304 GB, free: 87.93 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005023/23.77, allocations: 1.246 MB / 7.305 GB, free: 87.54 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002721/23.78, allocations: 18.11 kB / 7.305 GB, free: 87.54 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006216/23.78, allocations: 315.2 kB / 7.305 GB, free: 87.52 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003663/23.78, allocations: 131.9 kB / 7.305 GB, free: 87.52 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003198/23.78, allocations: 109.5 kB / 7.305 GB, free: 87.52 MB / 0.823 GB Notification: Performance of sort global known variables: time 0.01023/23.79, allocations: 4.501 MB / 7.31 GB, free: 87.31 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.01723/23.81, allocations: 3.29 MB / 7.313 GB, free: 87.15 MB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 20 (fan1.vol.dynBal.U,fan1.vol.dynBal.m,fan1.vol.dynBal.mXi[1],fan1.filter.x[1],fan1.filter.x[2],fan3.vol.dynBal.U,fan3.vol.dynBal.m,fan3.vol.dynBal.mXi[1],fan3.filter.x[1],fan3.filter.x[2],fan2.vol.dynBal.U,fan2.vol.dynBal.m,fan2.vol.dynBal.mXi[1],fan2.filter.x[1],fan2.filter.x[2],fan4.vol.dynBal.U,fan4.vol.dynBal.m,fan4.vol.dynBal.mXi[1],fan4.filter.x[1],fan4.filter.x[2]) * Number of discrete variables: 3 ($whenCondition1,y.T_start,y.count) * Number of discrete states: 1 (y.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (205): * Single equations (assignments): 198 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 6,1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.01828/23.83, allocations: 11.55 MB / 7.324 GB, free: 81.38 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.01638/23.85, allocations: 6.914 MB / 7.331 GB, free: 80.77 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.491e-05/23.85, allocations: 3.641 kB / 7.331 GB, free: 80.77 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.004937/23.85, allocations: 1.688 MB / 7.333 GB, free: 80.75 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01801/23.87, allocations: 2.879 MB / 7.335 GB, free: 80.68 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02885/23.9, allocations: 9.225 MB / 7.344 GB, free: 78.75 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008939/23.91, allocations: 4.135 MB / 7.348 GB, free: 77.94 MB / 0.823 GB Notification: Performance of SimCode: time 2.444e-06/23.91, allocations: 2.094 kB / 7.348 GB, free: 77.94 MB / 0.823 GB Notification: Performance of Templates: time 0.3386/24.24, allocations: 181 MB / 7.525 GB, free: 50 MB / 0.823 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.Validation.ControlledFlowMachineDynamic.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.Validation.ControlledFlowMachineDynamic.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.Validation.ControlledFlowMachineDynamic.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.Validation.ControlledFlowMachineDynamic.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.Validation.ControlledFlowMachineDynamic.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.Validation.ControlledFlowMachineDynamic -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.Validation.ControlledFlowMachineDynamic.pipe 2>&1)