Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.Fluid.Movers.Validation.ControlledFlowMachineDynamic.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.ControlledFlowMachineDynamic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.Movers.Validation.ControlledFlowMachineDynamic") translateModel(Annex60.Fluid.Movers.Validation.ControlledFlowMachineDynamic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.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/Annex60 1.0.0/package.mo): time 0.2973/0.2973, allocations: 54.39 MB / 61.67 MB, free: 11.17 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.001417/0.001417, allocations: 184.9 kB / 75.37 MB, free: 1.508 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.684/1.684, allocations: 194.2 MB / 283.2 MB, free: 3.488 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.001698/0.001698, allocations: 117.7 kB / 341.3 MB, free: 9.375 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 9.447e-06/9.468e-06, allocations: 0 / 404.9 MB, free: 27.7 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1478/0.1478, allocations: 57.64 MB / 462.6 MB, free: 1.98 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.87/5.018, allocations: 2.173 GB / 2.625 GB, free: 25.58 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002543/5.019, allocations: 87.95 kB / 2.625 GB, free: 25.49 MB / 0.4948 GB Notification: Performance of FrontEnd: time 16.02/21.04, allocations: 3.732 GB / 6.357 GB, free: 20.22 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.003048/21.04, allocations: 161.6 kB / 6.357 GB, free: 20.19 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: 843 * Number of variables: 843 Notification: Performance of Generate backend data structure: time 0.03708/21.08, allocations: 6.101 MB / 6.363 GB, free: 16.68 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 7.532e-05/21.08, allocations: 13.16 kB / 6.363 GB, free: 16.68 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0213/21.1, allocations: 1.963 MB / 6.365 GB, free: 16.19 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05015/21.15, allocations: 11.62 MB / 6.376 GB, free: 7.59 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000446/21.15, allocations: 107.9 kB / 6.376 GB, free: 7.484 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002969/21.16, allocations: 231 kB / 6.377 GB, free: 7.262 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0134/21.17, allocations: 3.848 MB / 6.38 GB, free: 3.762 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02082/21.19, allocations: 4.121 MB / 6.384 GB, free: 180 kB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003201/21.19, allocations: 0 / 6.384 GB, free: 180 kB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00227/21.19, allocations: 7.906 kB / 6.384 GB, free: 172 kB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001495/21.19, allocations: 121.8 kB / 6.385 GB, free: 52 kB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6846/21.88, allocations: 20.42 MB / 6.405 GB, free: 73.2 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00574/21.88, allocations: 3.584 MB / 6.408 GB, free: 73.17 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002464/21.89, allocations: 1.882 MB / 6.41 GB, free: 73.15 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003928/21.89, allocations: 376.5 kB / 6.41 GB, free: 72.78 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002688/21.89, allocations: 2.071 MB / 6.412 GB, free: 72.61 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=201): time 6.092e-06/21.89, allocations: 3.938 kB / 6.412 GB, free: 72.61 MB / 0.6667 GB Notification: Performance of matching and sorting (n=201): time 0.01388/21.9, allocations: 4.524 MB / 6.417 GB, free: 72.52 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002499/21.9, allocations: 0.6375 MB / 6.417 GB, free: 71.76 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01331/21.92, allocations: 6.081 MB / 6.423 GB, free: 71.43 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.00148/21.92, allocations: 32.23 kB / 6.423 GB, free: 71.4 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.002272/21.92, allocations: 1.589 MB / 6.425 GB, free: 71.06 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.001876/21.92, allocations: 0.6721 MB / 6.425 GB, free: 70.7 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002378/21.92, allocations: 3.594 kB / 6.425 GB, free: 70.7 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0002298/21.92, allocations: 441.2 kB / 6.426 GB, free: 70.39 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002448/21.93, allocations: 1.715 MB / 6.428 GB, free: 70.39 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003326/21.93, allocations: 3.038 MB / 6.431 GB, free: 68.81 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004408/21.93, allocations: 2.166 MB / 6.433 GB, free: 68.77 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.012e-05/21.93, allocations: 11.75 kB / 6.433 GB, free: 68.76 MB / 0.6667 GB Notification: Performance of matching and sorting (n=428) (initialization): time 0.013/21.95, allocations: 5.674 MB / 6.438 GB, free: 68.33 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.003643/21.95, allocations: 15.08 MB / 6.453 GB, free: 52.57 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001231/21.95, allocations: 41.28 kB / 6.453 GB, free: 52.57 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001175/21.95, allocations: 493.6 kB / 6.453 GB, free: 52.55 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007961/21.96, allocations: 1.276 MB / 6.455 GB, free: 52.55 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006747/21.97, allocations: 4.822 MB / 6.459 GB, free: 49.75 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01107/21.98, allocations: 0.6048 MB / 6.46 GB, free: 49.66 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001621/21.98, allocations: 279.3 kB / 6.46 GB, free: 49.66 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.72e-05/21.98, allocations: 4.906 kB / 6.46 GB, free: 49.66 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01256/21.99, allocations: 4.114 MB / 6.464 GB, free: 49.56 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001944/21.99, allocations: 42.64 kB / 6.464 GB, free: 49.56 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001451/21.99, allocations: 0.543 MB / 6.465 GB, free: 49.55 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003854/22, allocations: 0.7518 MB / 6.466 GB, free: 49.55 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01235/22.01, allocations: 7.16 MB / 6.473 GB, free: 46.6 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009561/22.02, allocations: 398.1 kB / 6.473 GB, free: 46.53 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001748/22.02, allocations: 237.9 kB / 6.473 GB, free: 46.53 MB / 0.6667 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 (369): * Single equations (assignments): 351 * 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.003267/22.02, allocations: 218.6 kB / 6.473 GB, free: 46.42 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003304/22.03, allocations: 0.5426 MB / 6.474 GB, free: 46.12 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01314/22.04, allocations: 3.599 MB / 6.477 GB, free: 45.95 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.188e-05/22.04, allocations: 20.09 kB / 6.477 GB, free: 45.95 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.7e-05/22.04, allocations: 3 kB / 6.477 GB, free: 45.95 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007887/22.05, allocations: 3.025 MB / 6.48 GB, free: 45.43 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01648/22.07, allocations: 5.383 MB / 6.486 GB, free: 44.95 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.035e-05/22.07, allocations: 0 / 6.486 GB, free: 44.95 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006512/22.07, allocations: 1.041 MB / 6.487 GB, free: 44.95 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006228/22.07, allocations: 219.5 kB / 6.487 GB, free: 44.93 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00062/22.07, allocations: 47.12 kB / 6.487 GB, free: 44.93 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006293/22.08, allocations: 4.61 MB / 6.491 GB, free: 57.46 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.365e-06/22.08, allocations: 2.969 kB / 6.491 GB, free: 57.46 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01309/22.09, allocations: 5.025 MB / 6.496 GB, free: 56.85 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005497/22.1, allocations: 1.265 MB / 6.498 GB, free: 56.45 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003425/22.1, allocations: 20.88 kB / 6.498 GB, free: 56.45 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006949/22.11, allocations: 351.7 kB / 6.498 GB, free: 56.44 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000568/22.11, allocations: 130.5 kB / 6.498 GB, free: 56.44 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005253/22.11, allocations: 109.5 kB / 6.498 GB, free: 56.44 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.01222/22.12, allocations: 4.53 MB / 6.503 GB, free: 56.22 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.01923/22.14, allocations: 3.335 MB / 6.506 GB, free: 56.06 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (201): * Single equations (assignments): 194 * 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.02178/22.16, allocations: 11.36 MB / 6.517 GB, free: 50.32 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.022/22.19, allocations: 7.46 MB / 6.524 GB, free: 49.7 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.288e-05/22.19, allocations: 3.812 kB / 6.524 GB, free: 49.7 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.009797/22.2, allocations: 2.347 MB / 6.527 GB, free: 49.68 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01846/22.21, allocations: 2.862 MB / 6.529 GB, free: 49.64 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03393/22.25, allocations: 9.204 MB / 6.538 GB, free: 47.72 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008394/22.26, allocations: 4.155 MB / 6.542 GB, free: 46.9 MB / 0.6823 GB Notification: Performance of SimCode: time 1.252e-06/22.26, allocations: 2.719 kB / 6.542 GB, free: 46.9 MB / 0.6823 GB Notification: Performance of Templates: time 0.9188/23.18, allocations: 180.7 MB / 6.719 GB, free: 68.9 MB / 0.6823 GB make -j1 -f Annex60_1.0.0_Annex60.Fluid.Movers.Validation.ControlledFlowMachineDynamic.makefile (rm -f Annex60_1.0.0_Annex60.Fluid.Movers.Validation.ControlledFlowMachineDynamic.pipe ; mkfifo Annex60_1.0.0_Annex60.Fluid.Movers.Validation.ControlledFlowMachineDynamic.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Fluid.Movers.Validation.ControlledFlowMachineDynamic.pipe >> ../files/Annex60_1.0.0_Annex60.Fluid.Movers.Validation.ControlledFlowMachineDynamic.sim & ./Annex60_1.0.0_Annex60.Fluid.Movers.Validation.ControlledFlowMachineDynamic -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Fluid.Movers.Validation.ControlledFlowMachineDynamic.pipe 2>&1)