Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.Validation.ControlledFlowMachine.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.ControlledFlowMachine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.Validation.ControlledFlowMachine") translateModel(BuildSysPro.IBPSA.Fluid.Movers.Validation.ControlledFlowMachine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.Validation.ControlledFlowMachine") [: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.7055/0.7055, allocations: 127.4 MB / 134.6 MB, free: 4.102 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.001427/0.001427, allocations: 181.3 kB / 164.4 MB, free: 6.918 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.747/1.747, allocations: 205.1 MB / 399.1 MB, free: 6.109 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.001214/0.001215, allocations: 85.41 kB / 476.3 MB, free: 8.871 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 7.454e-06/7.474e-06, allocations: 0 / 0.546 GB, free: 42.79 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2003/0.2004, allocations: 76.74 MB / 0.6209 GB, free: 13.98 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.678/4.878, allocations: 2.195 GB / 2.816 GB, free: 13.34 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002333/4.878, allocations: 92.7 kB / 2.816 GB, free: 13.25 MB / 0.6355 GB Notification: Performance of FrontEnd: time 17.66/22.54, allocations: 4.299 GB / 7.115 GB, free: 50.29 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 0.001622/22.54, allocations: 152.5 kB / 7.115 GB, free: 50.27 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: 752 * Number of variables: 752 Notification: Performance of Generate backend data structure: time 0.02702/22.57, allocations: 5.738 MB / 7.121 GB, free: 47.32 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 5.06e-05/22.57, allocations: 10.31 kB / 7.121 GB, free: 47.32 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01668/22.59, allocations: 1.549 MB / 7.123 GB, free: 46.95 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03868/22.63, allocations: 11.31 MB / 7.134 GB, free: 45.7 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003333/22.63, allocations: 95.53 kB / 7.134 GB, free: 45.7 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002349/22.63, allocations: 210.3 kB / 7.134 GB, free: 45.7 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01153/22.64, allocations: 3.506 MB / 7.137 GB, free: 45.67 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01276/22.65, allocations: 3.676 MB / 7.141 GB, free: 45.29 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001936/22.65, allocations: 6.078 kB / 7.141 GB, free: 45.29 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001239/22.66, allocations: 5.75 kB / 7.141 GB, free: 45.29 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001173/22.66, allocations: 104.7 kB / 7.141 GB, free: 45.28 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04713/22.7, allocations: 19.88 MB / 7.16 GB, free: 36.87 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006317/22.71, allocations: 3.159 MB / 7.164 GB, free: 36.73 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003257/22.71, allocations: 1.783 MB / 7.165 GB, free: 36.13 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007803/22.71, allocations: 0.5525 MB / 7.166 GB, free: 35.55 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003822/22.72, allocations: 1.734 MB / 7.168 GB, free: 34.94 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=177): time 5.39e-06/22.72, allocations: 1.406 kB / 7.168 GB, free: 34.94 MB / 0.8073 GB Notification: Performance of matching and sorting (n=177): time 0.01602/22.73, allocations: 4.124 MB / 7.172 GB, free: 33.57 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.134e-05/22.73, allocations: 153.2 kB / 7.172 GB, free: 33.41 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02008/22.75, allocations: 5.844 MB / 7.177 GB, free: 31.08 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 0.001271/22.76, allocations: 29.36 kB / 7.177 GB, free: 31.05 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.003399/22.76, allocations: 1.464 MB / 7.179 GB, free: 30.11 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 0.002246/22.76, allocations: 0.5885 MB / 7.179 GB, free: 29.64 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009126/22.76, allocations: 3.812 kB / 7.179 GB, free: 29.64 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0004177/22.76, allocations: 421.6 kB / 7.18 GB, free: 29.28 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003522/22.77, allocations: 1.538 MB / 7.181 GB, free: 28.68 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005403/22.77, allocations: 2.728 MB / 7.184 GB, free: 26.54 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006764/22.78, allocations: 1.969 MB / 7.186 GB, free: 25.83 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.569e-05/22.78, allocations: 10.59 kB / 7.186 GB, free: 25.83 MB / 0.8073 GB Notification: Performance of matching and sorting (n=376) (initialization): time 0.01717/22.8, allocations: 5.046 MB / 7.191 GB, free: 22.67 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 0.003422/22.8, allocations: 14.7 MB / 7.205 GB, free: 7.406 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001345/22.8, allocations: 31.05 kB / 7.205 GB, free: 7.379 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001279/22.8, allocations: 487.5 kB / 7.206 GB, free: 6.973 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005827/22.81, allocations: 0.8562 MB / 7.207 GB, free: 6.277 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00634/22.81, allocations: 4.819 MB / 7.211 GB, free: 1.703 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008242/22.82, allocations: 499.7 kB / 7.212 GB, free: 1.312 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001298/22.82, allocations: 267.7 kB / 7.212 GB, free: 1.07 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.858e-05/22.82, allocations: 9.031 kB / 7.212 GB, free: 1.062 MB / 0.8073 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01368/22.84, allocations: 3.862 MB / 7.216 GB, free: 14.1 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001791/22.84, allocations: 32 kB / 7.216 GB, free: 14.07 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001612/22.84, allocations: 0.5443 MB / 7.216 GB, free: 13.62 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00362/22.84, allocations: 0.6618 MB / 7.217 GB, free: 13.05 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01434/22.86, allocations: 7.186 MB / 7.224 GB, free: 6.543 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007562/22.86, allocations: 375.1 kB / 7.224 GB, free: 6.234 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001294/22.86, allocations: 225 kB / 7.225 GB, free: 6.027 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 135 * 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 (323): * Single equations (assignments): 311 * Array equations: 5 * Algorithm blocks: 1 * Record equations: 1 * 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.002212/22.87, allocations: 196.5 kB / 7.225 GB, free: 5.828 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002646/22.87, allocations: 0.5128 MB / 7.225 GB, free: 5.312 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01381/22.88, allocations: 3.355 MB / 7.229 GB, free: 2.535 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.018e-05/22.88, allocations: 16 kB / 7.229 GB, free: 2.52 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.179e-05/22.88, allocations: 0 / 7.229 GB, free: 2.52 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.008866/22.89, allocations: 2.849 MB / 7.231 GB, free: 0 / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.7262/23.62, allocations: 8.006 MB / 7.239 GB, free: 111.4 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.048e-05/23.62, allocations: 3.656 kB / 7.239 GB, free: 111.4 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004387/23.62, allocations: 0.7025 MB / 7.24 GB, free: 111.4 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006956/23.62, allocations: 198.8 kB / 7.24 GB, free: 111.4 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002697/23.62, allocations: 42.33 kB / 7.24 GB, free: 111.4 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006544/23.63, allocations: 4.402 MB / 7.244 GB, free: 108 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.117e-06/23.63, allocations: 0 / 7.244 GB, free: 108 MB / 0.823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01187/23.64, allocations: 4.867 MB / 7.249 GB, free: 107.4 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005803/23.65, allocations: 1.186 MB / 7.25 GB, free: 107.3 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002414/23.65, allocations: 14.83 kB / 7.25 GB, free: 107.3 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005567/23.66, allocations: 298.7 kB / 7.251 GB, free: 107.3 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003343/23.66, allocations: 118.9 kB / 7.251 GB, free: 107.3 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002789/23.66, allocations: 100.5 kB / 7.251 GB, free: 107.3 MB / 0.823 GB Notification: Performance of sort global known variables: time 0.01168/23.67, allocations: 4.363 MB / 7.255 GB, free: 107.1 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0173/23.69, allocations: 3.163 MB / 7.258 GB, free: 106.9 MB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 14 (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],fan2.vol.dynBal.U,fan2.vol.dynBal.m,fan2.vol.dynBal.mXi[1],fan4.vol.dynBal.U,fan4.vol.dynBal.m,fan4.vol.dynBal.mXi[1]) * 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 (176): * Single equations (assignments): 169 * 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.01759/23.7, allocations: 11.54 MB / 7.269 GB, free: 101.2 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.01594/23.72, allocations: 6.29 MB / 7.276 GB, free: 100.8 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.371e-05/23.72, allocations: 1.969 kB / 7.276 GB, free: 100.8 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.004208/23.72, allocations: 1.449 MB / 7.277 GB, free: 100.8 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01745/23.74, allocations: 2.781 MB / 7.28 GB, free: 100.7 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03083/23.77, allocations: 8.53 MB / 7.288 GB, free: 98.92 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008547/23.78, allocations: 3.917 MB / 7.292 GB, free: 98.11 MB / 0.823 GB Notification: Performance of SimCode: time 1.503e-06/23.78, allocations: 2.188 kB / 7.292 GB, free: 98.11 MB / 0.823 GB Notification: Performance of Templates: time 0.3201/24.1, allocations: 174.6 MB / 7.462 GB, free: 84.33 MB / 0.823 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.Validation.ControlledFlowMachine.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.Validation.ControlledFlowMachine.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.Validation.ControlledFlowMachine.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.Validation.ControlledFlowMachine.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.Validation.ControlledFlowMachine.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.Validation.ControlledFlowMachine -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.Validation.ControlledFlowMachine.pipe 2>&1)