Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Movers.Validation.ControlledFlowMachineDynamic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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 Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Movers.Validation.ControlledFlowMachineDynamic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Movers.Validation.ControlledFlowMachineDynamic") translateModel(Buildings.Fluid.Movers.Validation.ControlledFlowMachineDynamic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.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/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.553/1.553, allocations: 285.5 MB / 292.8 MB, free: 10.47 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001164/0.001164, allocations: 181.2 kB / 361.1 MB, free: 7.121 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.478/1.478, allocations: 205.1 MB / 0.6195 GB, free: 11.98 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009276/0.0009277, allocations: 94.47 kB / 0.7325 GB, free: 44.53 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 8.886e-06/9.227e-06, allocations: 4 kB / 0.8511 GB, free: 3.277 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6461/0.6462, allocations: 115.3 MB / 0.9637 GB, free: 77.98 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.723/4.369, allocations: 2.117 GB / 3.081 GB, free: 24.43 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002166/4.369, allocations: 87.95 kB / 3.081 GB, free: 24.35 MB / 0.948 GB Notification: Performance of FrontEnd: time 15.54/19.91, allocations: 4.375 GB / 7.456 GB, free: 88.86 MB / 1.104 GB Notification: Performance of Transformations before backend: time 0.001215/19.91, allocations: 163.1 kB / 7.456 GB, free: 88.84 MB / 1.104 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 817 * Number of variables: 817 Notification: Performance of Generate backend data structure: time 0.02514/19.94, allocations: 6.076 MB / 7.462 GB, free: 86.37 MB / 1.104 GB Notification: Performance of prepare preOptimizeDAE: time 5.121e-05/19.94, allocations: 9 kB / 7.462 GB, free: 86.37 MB / 1.104 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01583/19.96, allocations: 1.785 MB / 7.464 GB, free: 85.98 MB / 1.104 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04015/20, allocations: 11.47 MB / 7.475 GB, free: 84.8 MB / 1.104 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000174/20, allocations: 102.6 kB / 7.475 GB, free: 84.8 MB / 1.104 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001274/20, allocations: 227.7 kB / 7.475 GB, free: 84.8 MB / 1.104 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006864/20, allocations: 3.747 MB / 7.479 GB, free: 84.77 MB / 1.104 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006743/20.01, allocations: 4.015 MB / 7.483 GB, free: 84.33 MB / 1.104 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.618e-05/20.01, allocations: 11.31 kB / 7.483 GB, free: 84.33 MB / 1.104 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003555/20.01, allocations: 3.188 kB / 7.483 GB, free: 84.33 MB / 1.104 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.217e-05/20.01, allocations: 115.3 kB / 7.483 GB, free: 84.32 MB / 1.104 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0334/20.04, allocations: 20.62 MB / 7.503 GB, free: 76.38 MB / 1.104 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004479/20.05, allocations: 3.482 MB / 7.507 GB, free: 76.32 MB / 1.104 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002387/20.05, allocations: 1.925 MB / 7.508 GB, free: 76.3 MB / 1.104 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005427/20.05, allocations: 0.5498 MB / 7.509 GB, free: 75.73 MB / 1.104 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002287/20.05, allocations: 1.88 MB / 7.511 GB, free: 75.66 MB / 1.104 GB Notification: Performance of pre-optimization done (n=207): time 4.569e-06/20.05, allocations: 0 / 7.511 GB, free: 75.66 MB / 1.104 GB Notification: Performance of matching and sorting (n=207): time 0.009882/20.06, allocations: 4.117 MB / 7.515 GB, free: 75.25 MB / 1.104 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001066/20.06, allocations: 335.3 kB / 7.515 GB, free: 74.88 MB / 1.104 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01203/20.08, allocations: 6.034 MB / 7.521 GB, free: 74.49 MB / 1.104 GB Notification: Performance of collectPreVariables (initialization): time 0.001192/20.08, allocations: 28.86 kB / 7.521 GB, free: 74.46 MB / 1.104 GB Notification: Performance of collectInitialEqns (initialization): time 0.001649/20.08, allocations: 1.529 MB / 7.523 GB, free: 73.79 MB / 1.104 GB Notification: Performance of collectInitialBindings (initialization): time 0.001923/20.08, allocations: 0.6896 MB / 7.523 GB, free: 73.32 MB / 1.104 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001884/20.08, allocations: 0 / 7.523 GB, free: 73.32 MB / 1.104 GB Notification: Performance of setup shared object (initialization): time 0.0002129/20.08, allocations: 440 kB / 7.524 GB, free: 73.01 MB / 1.104 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002497/20.08, allocations: 1.669 MB / 7.525 GB, free: 73 MB / 1.104 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002798/20.09, allocations: 2.938 MB / 7.528 GB, free: 71.48 MB / 1.104 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003654/20.09, allocations: 2.127 MB / 7.53 GB, free: 71.42 MB / 1.104 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-05/20.09, allocations: 9.656 kB / 7.53 GB, free: 71.42 MB / 1.104 GB Notification: Performance of matching and sorting (n=420) (initialization): time 0.009907/20.1, allocations: 5.253 MB / 7.535 GB, free: 70.98 MB / 1.104 GB Notification: Performance of prepare postOptimizeDAE: time 0.002957/20.1, allocations: 14.65 MB / 7.55 GB, free: 55.69 MB / 1.104 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.26e-05/20.1, allocations: 37.78 kB / 7.55 GB, free: 55.69 MB / 1.104 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001011/20.1, allocations: 455.4 kB / 7.55 GB, free: 55.67 MB / 1.104 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004136/20.11, allocations: 0.7444 MB / 7.551 GB, free: 55.67 MB / 1.104 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00453/20.11, allocations: 4.587 MB / 7.555 GB, free: 52.87 MB / 1.104 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007078/20.12, allocations: 477.8 kB / 7.556 GB, free: 52.69 MB / 1.104 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008182/20.12, allocations: 272.8 kB / 7.556 GB, free: 52.69 MB / 1.104 GB Notification: Performance of prepare postOptimizeDAE: time 1.218e-05/20.12, allocations: 1.562 kB / 7.556 GB, free: 52.69 MB / 1.104 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009571/20.13, allocations: 4.09 MB / 7.56 GB, free: 52.59 MB / 1.104 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001526/20.13, allocations: 38.14 kB / 7.56 GB, free: 52.59 MB / 1.104 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001315/20.13, allocations: 0.5444 MB / 7.561 GB, free: 52.57 MB / 1.104 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00327/20.14, allocations: 0.7252 MB / 7.561 GB, free: 52.57 MB / 1.104 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0115/20.15, allocations: 7.179 MB / 7.568 GB, free: 49.59 MB / 1.104 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009084/20.16, allocations: 393.3 kB / 7.569 GB, free: 49.47 MB / 1.104 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001445/20.16, allocations: 237.5 kB / 7.569 GB, free: 49.47 MB / 1.104 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 (361): * Single equations (assignments): 343 * 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.002229/20.16, allocations: 214.6 kB / 7.569 GB, free: 49.34 MB / 1.104 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002649/20.16, allocations: 0.5418 MB / 7.57 GB, free: 49.04 MB / 1.104 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0101/20.17, allocations: 3.366 MB / 7.573 GB, free: 48.86 MB / 1.104 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.099e-05/20.17, allocations: 22.31 kB / 7.573 GB, free: 48.86 MB / 1.104 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.313e-06/20.17, allocations: 0 / 7.573 GB, free: 48.86 MB / 1.104 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004581/20.18, allocations: 2.777 MB / 7.576 GB, free: 48.34 MB / 1.104 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02113/20.2, allocations: 8.283 MB / 7.584 GB, free: 47.78 MB / 1.104 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.276e-05/20.2, allocations: 6.156 kB / 7.584 GB, free: 47.78 MB / 1.104 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003153/20.2, allocations: 0.5586 MB / 7.584 GB, free: 47.77 MB / 1.104 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004371/20.2, allocations: 179.6 kB / 7.585 GB, free: 47.76 MB / 1.104 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002994/20.2, allocations: 47.09 kB / 7.585 GB, free: 47.76 MB / 1.104 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001875/20.2, allocations: 3.389 MB / 7.588 GB, free: 44.96 MB / 1.104 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.504e-06/20.2, allocations: 5.031 kB / 7.588 GB, free: 44.96 MB / 1.104 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.009101/20.21, allocations: 5.095 MB / 7.593 GB, free: 43.96 MB / 1.104 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004954/20.22, allocations: 1.234 MB / 7.594 GB, free: 43.54 MB / 1.104 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002976/20.22, allocations: 15.78 kB / 7.594 GB, free: 43.54 MB / 1.104 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005736/20.23, allocations: 244.8 kB / 7.594 GB, free: 43.52 MB / 1.104 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003891/20.23, allocations: 131 kB / 7.594 GB, free: 43.52 MB / 1.104 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003236/20.23, allocations: 104.5 kB / 7.595 GB, free: 43.52 MB / 1.104 GB Notification: Performance of sort global known variables: time 0.01024/20.24, allocations: 4.495 MB / 7.599 GB, free: 43.3 MB / 1.104 GB Notification: Performance of remove unused functions: time 0.01572/20.25, allocations: 3.277 MB / 7.602 GB, free: 42.93 MB / 1.104 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.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 (207): * Single equations (assignments): 200 * 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.01687/20.27, allocations: 11.39 MB / 7.613 GB, free: 37.06 MB / 1.104 GB Notification: Performance of simCode: created initialization part: time 0.01456/20.29, allocations: 6.694 MB / 7.62 GB, free: 36.44 MB / 1.104 GB Notification: Performance of simCode: created event and clocks part: time 1.238e-05/20.29, allocations: 4.062 kB / 7.62 GB, free: 36.44 MB / 1.104 GB Notification: Performance of simCode: created simulation system equations: time 0.003298/20.29, allocations: 1.359 MB / 7.621 GB, free: 36.43 MB / 1.104 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01764/20.31, allocations: 2.872 MB / 7.624 GB, free: 36.38 MB / 1.104 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03224/20.34, allocations: 9.128 MB / 7.633 GB, free: 34.42 MB / 1.104 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009095/20.35, allocations: 4.107 MB / 7.637 GB, free: 33.6 MB / 1.104 GB Notification: Performance of SimCode: time 1.162e-06/20.35, allocations: 0 / 7.637 GB, free: 33.6 MB / 1.104 GB Notification: Performance of Templates: time 1.026/21.37, allocations: 177.6 MB / 7.81 GB, free: 189.3 MB / 1.135 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Movers.Validation.ControlledFlowMachineDynamic.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Movers.Validation.ControlledFlowMachineDynamic.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Movers.Validation.ControlledFlowMachineDynamic.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Movers.Validation.ControlledFlowMachineDynamic.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Movers.Validation.ControlledFlowMachineDynamic.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.Movers.Validation.ControlledFlowMachineDynamic -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.Movers.Validation.ControlledFlowMachineDynamic.pipe 2>&1)