Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Movers.Validation.ControlledFlowMachineDynamic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Fluid.Movers.Validation.ControlledFlowMachineDynamic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Movers.Validation.ControlledFlowMachineDynamic") translateModel(BuildingSystems.Fluid.Movers.Validation.ControlledFlowMachineDynamic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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/BuildingSystems 2.0.0-master/package.mo): time 0.7792/0.7792, allocations: 141.8 MB / 149.1 MB, free: 4.352 MB / 122.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001208/0.001208, allocations: 180.1 kB / 181.9 MB, free: 32 kB / 138.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.508/1.508, allocations: 221.3 MB / 436 MB, free: 9.18 MB / 330.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009754/0.0009754, allocations: 106.9 kB / 0.507 GB, free: 24.2 MB / 394.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001869/0.00187, allocations: 278.2 kB / 0.5884 GB, free: 12.21 MB / 442.9 MB Notification: Performance of FrontEnd - loaded program: time 9.037e-06/9.047e-06, allocations: 4 kB / 0.6759 GB, free: 2.555 MB / 0.5107 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5097/0.5097, allocations: 82.75 MB / 0.7567 GB, free: 112.8 MB / 0.5263 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.229/4.739, allocations: 1.91 GB / 2.666 GB, free: 116.3 MB / 0.6982 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002521/4.739, allocations: 90.27 kB / 2.666 GB, free: 116.3 MB / 0.6982 GB Notification: Performance of FrontEnd: time 17.17/21.9, allocations: 4.402 GB / 7.069 GB, free: 49.2 MB / 0.8544 GB Notification: Performance of Transformations before backend: time 0.001714/21.91, allocations: 146.7 kB / 7.069 GB, free: 49.18 MB / 0.8544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 813 * Number of variables: 813 Notification: Performance of Generate backend data structure: time 0.03042/21.94, allocations: 5.963 MB / 7.075 GB, free: 46.26 MB / 0.8544 GB Notification: Performance of prepare preOptimizeDAE: time 5.777e-05/21.94, allocations: 10.19 kB / 7.075 GB, free: 46.26 MB / 0.8544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01638/21.95, allocations: 1.765 MB / 7.076 GB, free: 45.88 MB / 0.8544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03602/21.99, allocations: 11.3 MB / 7.087 GB, free: 44.66 MB / 0.8544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003678/21.99, allocations: 102.2 kB / 7.087 GB, free: 44.66 MB / 0.8544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002465/21.99, allocations: 233.5 kB / 7.088 GB, free: 44.65 MB / 0.8544 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01124/22, allocations: 3.735 MB / 7.091 GB, free: 44.63 MB / 0.8544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01458/22.02, allocations: 3.887 MB / 7.095 GB, free: 44.31 MB / 0.8544 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002513/22.02, allocations: 7.188 kB / 7.095 GB, free: 44.3 MB / 0.8544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001762/22.02, allocations: 6.312 kB / 7.095 GB, free: 44.3 MB / 0.8544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001766/22.02, allocations: 120.6 kB / 7.095 GB, free: 44.29 MB / 0.8544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05339/22.07, allocations: 20.6 MB / 7.115 GB, free: 36.2 MB / 0.8544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006809/22.08, allocations: 3.483 MB / 7.119 GB, free: 36.11 MB / 0.8544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004045/22.08, allocations: 1.961 MB / 7.121 GB, free: 36.09 MB / 0.8544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008245/22.09, allocations: 0.5529 MB / 7.121 GB, free: 35.52 MB / 0.8544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004214/22.09, allocations: 1.892 MB / 7.123 GB, free: 35.45 MB / 0.8544 GB Notification: Performance of pre-optimization done (n=211): time 5.69e-06/22.09, allocations: 0 / 7.123 GB, free: 35.45 MB / 0.8544 GB Notification: Performance of matching and sorting (n=211): time 0.01328/22.1, allocations: 4.103 MB / 7.127 GB, free: 35.02 MB / 0.8544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.267e-05/22.1, allocations: 75.84 kB / 7.127 GB, free: 34.96 MB / 0.8544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01629/22.12, allocations: 5.953 MB / 7.133 GB, free: 32.6 MB / 0.8544 GB Notification: Performance of collectPreVariables (initialization): time 0.001238/22.12, allocations: 32.36 kB / 7.133 GB, free: 32.57 MB / 0.8544 GB Notification: Performance of collectInitialEqns (initialization): time 0.002814/22.12, allocations: 1.499 MB / 7.134 GB, free: 31.62 MB / 0.8544 GB Notification: Performance of collectInitialBindings (initialization): time 0.002523/22.13, allocations: 0.7041 MB / 7.135 GB, free: 31.06 MB / 0.8544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000851/22.13, allocations: 0 / 7.135 GB, free: 31.06 MB / 0.8544 GB Notification: Performance of setup shared object (initialization): time 0.0003858/22.13, allocations: 433.2 kB / 7.136 GB, free: 30.7 MB / 0.8544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003164/22.13, allocations: 1.616 MB / 7.137 GB, free: 30.07 MB / 0.8544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003805/22.13, allocations: 2.831 MB / 7.14 GB, free: 27.89 MB / 0.8544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004564/22.14, allocations: 2.068 MB / 7.142 GB, free: 27.11 MB / 0.8544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.376e-05/22.14, allocations: 6.344 kB / 7.142 GB, free: 27.11 MB / 0.8544 GB Notification: Performance of matching and sorting (n=408) (initialization): time 0.01183/22.15, allocations: 5.119 MB / 7.147 GB, free: 25.21 MB / 0.8544 GB Notification: Performance of prepare postOptimizeDAE: time 0.003013/22.15, allocations: 14.57 MB / 7.161 GB, free: 10.22 MB / 0.8544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.995e-05/22.15, allocations: 35 kB / 7.161 GB, free: 10.22 MB / 0.8544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001121/22.16, allocations: 442.7 kB / 7.162 GB, free: 10.1 MB / 0.8544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004596/22.16, allocations: 0.7711 MB / 7.162 GB, free: 10.04 MB / 0.8544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004681/22.16, allocations: 4.58 MB / 7.167 GB, free: 6.605 MB / 0.8544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007535/22.17, allocations: 461.3 kB / 7.167 GB, free: 6.438 MB / 0.8544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001317/22.17, allocations: 270 kB / 7.168 GB, free: 6.41 MB / 0.8544 GB Notification: Performance of prepare postOptimizeDAE: time 1.524e-05/22.17, allocations: 5.844 kB / 7.168 GB, free: 6.41 MB / 0.8544 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01127/22.18, allocations: 3.97 MB / 7.171 GB, free: 4.355 MB / 0.8544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000126/22.19, allocations: 28 kB / 7.171 GB, free: 4.328 MB / 0.8544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001309/22.19, allocations: 0.5439 MB / 7.172 GB, free: 3.875 MB / 0.8544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003569/22.19, allocations: 0.7594 MB / 7.173 GB, free: 3.223 MB / 0.8544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01186/22.2, allocations: 7.178 MB / 7.18 GB, free: 12.74 MB / 0.87 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007301/22.21, allocations: 385.6 kB / 7.18 GB, free: 12.44 MB / 0.87 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001101/22.21, allocations: 232.8 kB / 7.18 GB, free: 12.23 MB / 0.87 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 133 * 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 (357): * Single equations (assignments): 347 * Array equations: 4 * Algorithm blocks: 1 * Record equations: 0 * 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.00188/22.21, allocations: 207.6 kB / 7.181 GB, free: 12.02 MB / 0.87 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002162/22.21, allocations: 0.5283 MB / 7.181 GB, free: 11.48 MB / 0.87 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009494/22.22, allocations: 3.37 MB / 7.184 GB, free: 8.656 MB / 0.87 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.412e-05/22.22, allocations: 27.52 kB / 7.184 GB, free: 8.633 MB / 0.87 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.119e-06/22.22, allocations: 3.938 kB / 7.184 GB, free: 8.629 MB / 0.87 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004536/22.23, allocations: 2.794 MB / 7.187 GB, free: 6.051 MB / 0.87 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0194/22.25, allocations: 8.387 MB / 7.195 GB, free: 15.7 MB / 0.8857 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.291e-05/22.25, allocations: 7.609 kB / 7.195 GB, free: 15.69 MB / 0.8857 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003297/22.25, allocations: 0.563 MB / 7.196 GB, free: 15.22 MB / 0.8857 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005013/22.25, allocations: 174.2 kB / 7.196 GB, free: 15.07 MB / 0.8857 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002203/22.25, allocations: 49.08 kB / 7.196 GB, free: 15.04 MB / 0.8857 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003392/22.26, allocations: 3.393 MB / 7.199 GB, free: 11.63 MB / 0.8857 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.925e-06/22.26, allocations: 4 kB / 7.199 GB, free: 11.62 MB / 0.8857 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.009798/22.27, allocations: 5.084 MB / 7.204 GB, free: 6.848 MB / 0.8857 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005077/22.27, allocations: 1.23 MB / 7.206 GB, free: 5.734 MB / 0.8857 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002249/22.27, allocations: 23.75 kB / 7.206 GB, free: 5.715 MB / 0.8857 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004992/22.28, allocations: 246.1 kB / 7.206 GB, free: 5.559 MB / 0.8857 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000343/22.28, allocations: 130.7 kB / 7.206 GB, free: 5.484 MB / 0.8857 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003024/22.28, allocations: 108.2 kB / 7.206 GB, free: 5.391 MB / 0.8857 GB Notification: Performance of sort global known variables: time 0.01144/22.29, allocations: 4.449 MB / 7.21 GB, free: 1.414 MB / 0.8857 GB Notification: Performance of remove unused functions: time 0.6669/22.96, allocations: 3.369 MB / 7.214 GB, free: 125.2 MB / 0.8857 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 20 (fan1.vol.dynBal.U,fan1.vol.dynBal.m,fan1.vol.dynBal.mXi[1],fan1.filter.s[1],fan1.filter.s[2],fan3.vol.dynBal.U,fan3.vol.dynBal.m,fan3.vol.dynBal.mXi[1],fan3.filter.s[1],fan3.filter.s[2],fan2.vol.dynBal.U,fan2.vol.dynBal.m,fan2.vol.dynBal.mXi[1],fan2.filter.s[1],fan2.filter.s[2],fan4.vol.dynBal.U,fan4.vol.dynBal.m,fan4.vol.dynBal.mXi[1],fan4.filter.s[1],fan4.filter.s[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 (211): * Single equations (assignments): 204 * 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.01838/22.98, allocations: 11.35 MB / 7.225 GB, free: 119.5 MB / 0.8857 GB Notification: Performance of simCode: created initialization part: time 0.01387/22.99, allocations: 6.339 MB / 7.231 GB, free: 119.2 MB / 0.8857 GB Notification: Performance of simCode: created event and clocks part: time 1.285e-05/22.99, allocations: 0 / 7.231 GB, free: 119.2 MB / 0.8857 GB Notification: Performance of simCode: created simulation system equations: time 0.002795/22.99, allocations: 1.374 MB / 7.232 GB, free: 119.2 MB / 0.8857 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01633/23.01, allocations: 2.819 MB / 7.235 GB, free: 119.1 MB / 0.8857 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02723/23.04, allocations: 9.032 MB / 7.244 GB, free: 117.2 MB / 0.8857 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007432/23.04, allocations: 4.05 MB / 7.248 GB, free: 116.4 MB / 0.8857 GB Notification: Performance of SimCode: time 1.142e-06/23.04, allocations: 0 / 7.248 GB, free: 116.4 MB / 0.8857 GB Notification: Performance of Templates: time 0.3172/23.36, allocations: 175.2 MB / 7.419 GB, free: 105.6 MB / 0.8857 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Movers.Validation.ControlledFlowMachineDynamic.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Movers.Validation.ControlledFlowMachineDynamic.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Movers.Validation.ControlledFlowMachineDynamic.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Movers.Validation.ControlledFlowMachineDynamic.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Movers.Validation.ControlledFlowMachineDynamic.sim & ./BuildingSystems_BuildingSystems.Fluid.Movers.Validation.ControlledFlowMachineDynamic -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Movers.Validation.ControlledFlowMachineDynamic.pipe 2>&1)