Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Movers.Validation.ControlledFlowMachineDynamic.conf.json 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/IDEAS 3.0.0/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) 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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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) Running command: translateModel(IDEAS.Fluid.Movers.Validation.ControlledFlowMachineDynamic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Movers.Validation.ControlledFlowMachineDynamic") translateModel(IDEAS.Fluid.Movers.Validation.ControlledFlowMachineDynamic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.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/Complex 4.0.0+maint.om/package.mo): time 0.002425/0.002425, allocations: 187.9 kB / 7.465 MB, free: 2.504 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6659/0.6659, allocations: 130.6 MB / 138.5 MB, free: 2.102 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.571/1.571, allocations: 221.3 MB / 391.4 MB, free: 13.02 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001183/0.001182, allocations: 102 kB / 473.5 MB, free: 14.36 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 1.025e-05/1.028e-05, allocations: 0.5312 kB / 0.5479 GB, free: 89 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1945/0.1946, allocations: 81.58 MB / 0.6276 GB, free: 18.16 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.374/4.569, allocations: 1.912 GB / 2.54 GB, free: 20.78 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002428/4.569, allocations: 97.17 kB / 2.54 GB, free: 20.73 MB / 0.6823 GB Notification: Performance of FrontEnd: time 17.25/21.82, allocations: 4.405 GB / 6.945 GB, free: 9.121 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.001742/21.82, allocations: 151.9 kB / 6.945 GB, free: 8.973 MB / 0.8698 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.02909/21.85, allocations: 5.965 MB / 6.951 GB, free: 2.93 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.895e-05/21.85, allocations: 8.031 kB / 6.951 GB, free: 2.922 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.017/21.87, allocations: 1.771 MB / 6.952 GB, free: 1.141 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.7445/22.61, allocations: 11.37 MB / 6.964 GB, free: 64.5 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000191/22.62, allocations: 102.4 kB / 6.964 GB, free: 64.5 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001447/22.62, allocations: 232.4 kB / 6.964 GB, free: 64.5 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00768/22.62, allocations: 3.73 MB / 6.967 GB, free: 64.48 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007737/22.63, allocations: 3.889 MB / 6.971 GB, free: 64.18 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.657e-05/22.63, allocations: 10.66 kB / 6.971 GB, free: 64.17 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004099/22.63, allocations: 3.688 kB / 6.971 GB, free: 64.17 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.115e-05/22.63, allocations: 119.3 kB / 6.971 GB, free: 64.16 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03743/22.67, allocations: 20.6 MB / 6.992 GB, free: 56.4 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005257/22.68, allocations: 3.483 MB / 6.995 GB, free: 56.35 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002577/22.68, allocations: 1.955 MB / 6.997 GB, free: 56.34 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005763/22.68, allocations: 0.5595 MB / 6.997 GB, free: 55.77 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002495/22.68, allocations: 1.885 MB / 6.999 GB, free: 55.7 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=211): time 4.288e-06/22.68, allocations: 0 / 6.999 GB, free: 55.7 MB / 0.8698 GB Notification: Performance of matching and sorting (n=211): time 0.01108/22.69, allocations: 4.103 MB / 7.003 GB, free: 55.31 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.608e-05/22.69, allocations: 76.31 kB / 7.003 GB, free: 55.25 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01347/22.71, allocations: 5.986 MB / 7.009 GB, free: 54.89 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.001108/22.71, allocations: 33.42 kB / 7.009 GB, free: 54.86 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.001845/22.71, allocations: 1.498 MB / 7.011 GB, free: 54.36 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.002042/22.71, allocations: 0.7041 MB / 7.011 GB, free: 53.99 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002269/22.71, allocations: 0 / 7.011 GB, free: 53.99 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.000238/22.71, allocations: 429.6 kB / 7.012 GB, free: 53.68 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002264/22.71, allocations: 1.625 MB / 7.013 GB, free: 53.67 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002757/22.72, allocations: 2.822 MB / 7.016 GB, free: 52.22 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003633/22.72, allocations: 2.068 MB / 7.018 GB, free: 52.16 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-05/22.72, allocations: 10 kB / 7.018 GB, free: 52.16 MB / 0.8698 GB Notification: Performance of matching and sorting (n=408) (initialization): time 0.01086/22.73, allocations: 5.124 MB / 7.023 GB, free: 51.73 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.002654/22.73, allocations: 14.6 MB / 7.037 GB, free: 36.45 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.817e-05/22.73, allocations: 30.69 kB / 7.037 GB, free: 36.45 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001007/22.73, allocations: 445 kB / 7.038 GB, free: 36.43 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004677/22.74, allocations: 0.7677 MB / 7.039 GB, free: 36.43 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004102/22.74, allocations: 4.587 MB / 7.043 GB, free: 33.63 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007884/22.75, allocations: 456.3 kB / 7.043 GB, free: 33.54 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001126/22.75, allocations: 272.1 kB / 7.044 GB, free: 33.54 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.516e-05/22.75, allocations: 6.688 kB / 7.044 GB, free: 33.54 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008067/22.76, allocations: 3.965 MB / 7.048 GB, free: 33.44 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.238e-05/22.76, allocations: 29.22 kB / 7.048 GB, free: 33.44 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001263/22.76, allocations: 0.5466 MB / 7.048 GB, free: 33.43 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003309/22.77, allocations: 0.7534 MB / 7.049 GB, free: 33.43 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01046/22.78, allocations: 7.2 MB / 7.056 GB, free: 30.45 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006729/22.78, allocations: 381.4 kB / 7.056 GB, free: 30.39 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009877/22.78, allocations: 229.5 kB / 7.057 GB, free: 30.39 MB / 0.8698 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.001135/22.78, allocations: 212.1 kB / 7.057 GB, free: 30.28 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00192/22.79, allocations: 0.5363 MB / 7.057 GB, free: 29.98 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009002/22.8, allocations: 3.376 MB / 7.061 GB, free: 29.8 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.03e-05/22.8, allocations: 19.94 kB / 7.061 GB, free: 29.8 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.121e-06/22.8, allocations: 4.688 kB / 7.061 GB, free: 29.8 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004054/22.8, allocations: 2.785 MB / 7.063 GB, free: 29.29 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01658/22.82, allocations: 8.326 MB / 7.071 GB, free: 28.74 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.347e-06/22.82, allocations: 3.625 kB / 7.071 GB, free: 28.74 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002976/22.82, allocations: 0.5533 MB / 7.072 GB, free: 28.74 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003858/22.82, allocations: 181.5 kB / 7.072 GB, free: 28.72 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002121/22.82, allocations: 57.86 kB / 7.072 GB, free: 28.72 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002121/22.82, allocations: 3.397 MB / 7.076 GB, free: 41.91 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.939e-06/22.82, allocations: 6.281 kB / 7.076 GB, free: 41.91 MB / 0.8855 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.008053/22.83, allocations: 5.076 MB / 7.08 GB, free: 40.92 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0042/22.83, allocations: 1.231 MB / 7.082 GB, free: 40.53 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002014/22.84, allocations: 21.25 kB / 7.082 GB, free: 40.53 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004602/22.84, allocations: 249.9 kB / 7.082 GB, free: 40.52 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002748/22.84, allocations: 124.1 kB / 7.082 GB, free: 40.52 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002269/22.84, allocations: 106 kB / 7.082 GB, free: 40.52 MB / 0.8855 GB Notification: Performance of sort global known variables: time 0.007935/22.85, allocations: 4.461 MB / 7.087 GB, free: 40.3 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.01446/22.86, allocations: 3.235 MB / 7.09 GB, free: 40 MB / 0.8855 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.01605/22.88, allocations: 11.33 MB / 7.101 GB, free: 34.21 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.01431/22.89, allocations: 6.337 MB / 7.107 GB, free: 33.84 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.627e-05/22.89, allocations: 3.5 kB / 7.107 GB, free: 33.84 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.003104/22.9, allocations: 1.366 MB / 7.108 GB, free: 33.83 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01711/22.92, allocations: 2.823 MB / 7.111 GB, free: 33.76 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02648/22.94, allocations: 9.053 MB / 7.12 GB, free: 31.83 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006803/22.95, allocations: 4.053 MB / 7.124 GB, free: 31.02 MB / 0.8855 GB Notification: Performance of SimCode: time 1.763e-06/22.95, allocations: 2.469 kB / 7.124 GB, free: 31.02 MB / 0.8855 GB Notification: Performance of Templates: time 1.014/23.96, allocations: 175.3 MB / 7.295 GB, free: 91.86 MB / 0.9011 GB make -j1 -f IDEAS_IDEAS.Fluid.Movers.Validation.ControlledFlowMachineDynamic.makefile (rm -f IDEAS_IDEAS.Fluid.Movers.Validation.ControlledFlowMachineDynamic.pipe ; mkfifo IDEAS_IDEAS.Fluid.Movers.Validation.ControlledFlowMachineDynamic.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Movers.Validation.ControlledFlowMachineDynamic.pipe >> ../files/IDEAS_IDEAS.Fluid.Movers.Validation.ControlledFlowMachineDynamic.sim & ./IDEAS_IDEAS.Fluid.Movers.Validation.ControlledFlowMachineDynamic -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Movers.Validation.ControlledFlowMachineDynamic.pipe 2>&1)