Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.Fluid.Movers.Validation.ControlledFlowMachine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) Running command: translateModel(Annex60.Fluid.Movers.Validation.ControlledFlowMachine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.Movers.Validation.ControlledFlowMachine") translateModel(Annex60.Fluid.Movers.Validation.ControlledFlowMachine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.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/Annex60 1.0.0/package.mo): time 0.2999/0.2999, allocations: 54.4 MB / 61.68 MB, free: 11.16 MB / 58.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001228/0.001228, allocations: 183.4 kB / 75.38 MB, free: 1.512 MB / 58.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.673/1.673, allocations: 194.2 MB / 283.2 MB, free: 3.484 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001725/0.001725, allocations: 126.2 kB / 341.3 MB, free: 9.359 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 7.274e-06/7.304e-06, allocations: 0 / 404.9 MB, free: 27.68 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1498/0.1498, allocations: 57.65 MB / 462.6 MB, free: 1.965 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.785/4.935, allocations: 2.173 GB / 2.625 GB, free: 25.32 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002086/4.936, allocations: 91.95 kB / 2.625 GB, free: 25.23 MB / 0.4948 GB Notification: Performance of FrontEnd: time 16.02/20.95, allocations: 3.686 GB / 6.311 GB, free: 32.48 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.002577/20.95, allocations: 152.9 kB / 6.311 GB, free: 32.46 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 770 * Number of variables: 770 Notification: Performance of Generate backend data structure: time 0.03224/20.99, allocations: 5.777 MB / 6.317 GB, free: 29.56 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 6.579e-05/20.99, allocations: 11.66 kB / 6.317 GB, free: 29.56 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01559/21, allocations: 1.533 MB / 6.318 GB, free: 29.2 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04139/21.04, allocations: 11.2 MB / 6.329 GB, free: 27.96 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003135/21.04, allocations: 101.3 kB / 6.329 GB, free: 27.96 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00242/21.05, allocations: 215.7 kB / 6.329 GB, free: 27.95 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01275/21.06, allocations: 3.59 MB / 6.333 GB, free: 27.93 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01512/21.07, allocations: 3.768 MB / 6.336 GB, free: 27.54 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002523/21.07, allocations: 5.906 kB / 6.336 GB, free: 27.54 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001621/21.08, allocations: 6.094 kB / 6.336 GB, free: 27.54 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001452/21.08, allocations: 105 kB / 6.337 GB, free: 27.53 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04809/21.12, allocations: 19.67 MB / 6.356 GB, free: 19.23 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006806/21.13, allocations: 3.222 MB / 6.359 GB, free: 18.11 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00373/21.13, allocations: 1.758 MB / 6.361 GB, free: 17.51 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000596/21.14, allocations: 376.2 kB / 6.361 GB, free: 17.12 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004696/21.14, allocations: 1.894 MB / 6.363 GB, free: 16.38 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=173): time 1.552e-05/21.14, allocations: 0 / 6.363 GB, free: 16.38 MB / 0.6511 GB Notification: Performance of matching and sorting (n=173): time 0.01941/21.16, allocations: 4.226 MB / 6.367 GB, free: 15.02 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002146/21.16, allocations: 462.1 kB / 6.367 GB, free: 14.48 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02377/21.18, allocations: 5.883 MB / 6.373 GB, free: 12.13 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.001348/21.18, allocations: 33.52 kB / 6.373 GB, free: 12.1 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.003673/21.19, allocations: 1.499 MB / 6.375 GB, free: 11.14 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.002278/21.19, allocations: 0.5749 MB / 6.375 GB, free: 10.68 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000939/21.19, allocations: 0 / 6.375 GB, free: 10.68 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0004621/21.19, allocations: 428.1 kB / 6.376 GB, free: 10.32 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003268/21.2, allocations: 1.555 MB / 6.377 GB, free: 8.934 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004177/21.2, allocations: 2.819 MB / 6.38 GB, free: 5.754 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004692/21.2, allocations: 1.983 MB / 6.382 GB, free: 4.07 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.639e-05/21.2, allocations: 8 kB / 6.382 GB, free: 4.062 MB / 0.6511 GB Notification: Performance of matching and sorting (n=382) (initialization): time 0.01406/21.22, allocations: 5.073 MB / 6.387 GB, free: 15.56 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.008312/21.23, allocations: 14.86 MB / 6.401 GB, free: 36 kB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001516/21.23, allocations: 35.98 kB / 6.401 GB, free: 0 / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001526/21.23, allocations: 489.6 kB / 6.402 GB, free: 15.6 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007566/21.24, allocations: 1.186 MB / 6.403 GB, free: 14.68 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007269/21.24, allocations: 4.821 MB / 6.408 GB, free: 10.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009297/21.25, allocations: 0.5665 MB / 6.408 GB, free: 9.656 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001947/21.26, allocations: 262.8 kB / 6.409 GB, free: 9.418 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 3.054e-05/21.26, allocations: 8 kB / 6.409 GB, free: 9.414 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01294/21.27, allocations: 3.772 MB / 6.412 GB, free: 6.078 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002042/21.27, allocations: 40.55 kB / 6.412 GB, free: 6.043 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001695/21.27, allocations: 0.5382 MB / 6.413 GB, free: 5.59 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003896/21.27, allocations: 0.6773 MB / 6.413 GB, free: 5.004 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.5868/21.86, allocations: 7.15 MB / 6.42 GB, free: 93.46 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008907/21.87, allocations: 379.7 kB / 6.421 GB, free: 93.46 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001199/21.87, allocations: 225.2 kB / 6.421 GB, free: 93.46 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 137 * 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 (329): * Single equations (assignments): 317 * 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.001338/21.87, allocations: 205.5 kB / 6.421 GB, free: 93.35 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002189/21.87, allocations: 0.5095 MB / 6.422 GB, free: 93.35 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008812/21.88, allocations: 3.268 MB / 6.425 GB, free: 93.22 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-05/21.88, allocations: 15.19 kB / 6.425 GB, free: 93.22 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.863e-06/21.88, allocations: 5.875 kB / 6.425 GB, free: 93.22 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005126/21.89, allocations: 2.761 MB / 6.428 GB, free: 92.73 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0143/21.9, allocations: 5.065 MB / 6.433 GB, free: 92.29 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.624e-05/21.9, allocations: 0 / 6.433 GB, free: 92.29 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006298/21.91, allocations: 0.9814 MB / 6.433 GB, free: 92.29 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006208/21.91, allocations: 219.8 kB / 6.434 GB, free: 92.27 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003429/21.91, allocations: 31.23 kB / 6.434 GB, free: 92.27 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0069/21.92, allocations: 4.783 MB / 6.438 GB, free: 88.83 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.063e-06/21.92, allocations: 0 / 6.438 GB, free: 88.83 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01022/21.93, allocations: 4.534 MB / 6.443 GB, free: 88.44 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004848/21.93, allocations: 1.188 MB / 6.444 GB, free: 88.07 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002866/21.94, allocations: 15.77 kB / 6.444 GB, free: 88.06 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006211/21.94, allocations: 346.7 kB / 6.444 GB, free: 88.05 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003985/21.94, allocations: 111.6 kB / 6.444 GB, free: 88.05 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003927/21.94, allocations: 99.98 kB / 6.445 GB, free: 88.05 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.01166/21.95, allocations: 4.387 MB / 6.449 GB, free: 87.84 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.01983/21.97, allocations: 3.209 MB / 6.452 GB, free: 87.69 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (172): * Single equations (assignments): 165 * 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.01995/21.99, allocations: 11.36 MB / 6.463 GB, free: 81.95 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.02045/22.01, allocations: 6.707 MB / 6.47 GB, free: 81.54 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.155e-05/22.01, allocations: 3.719 kB / 6.47 GB, free: 81.54 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.01006/22.02, allocations: 2.328 MB / 6.472 GB, free: 81.52 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01628/22.04, allocations: 2.774 MB / 6.475 GB, free: 81.47 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02274/22.06, allocations: 8.509 MB / 6.483 GB, free: 79.72 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005554/22.07, allocations: 3.93 MB / 6.487 GB, free: 78.9 MB / 0.6823 GB Notification: Performance of SimCode: time 8.71e-07/22.07, allocations: 0 / 6.487 GB, free: 78.9 MB / 0.6823 GB Notification: Performance of Templates: time 0.3097/22.38, allocations: 173.8 MB / 6.656 GB, free: 33.35 MB / 0.6823 GB make -j1 -f Annex60_1.0.0_Annex60.Fluid.Movers.Validation.ControlledFlowMachine.makefile (rm -f Annex60_1.0.0_Annex60.Fluid.Movers.Validation.ControlledFlowMachine.pipe ; mkfifo Annex60_1.0.0_Annex60.Fluid.Movers.Validation.ControlledFlowMachine.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Fluid.Movers.Validation.ControlledFlowMachine.pipe >> ../files/Annex60_1.0.0_Annex60.Fluid.Movers.Validation.ControlledFlowMachine.sim & ./Annex60_1.0.0_Annex60.Fluid.Movers.Validation.ControlledFlowMachine -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Fluid.Movers.Validation.ControlledFlowMachine.pipe 2>&1)