Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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-master/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-master/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_dev_IDEAS.Fluid.Movers.Validation.ControlledFlowMachineDynamic") translateModel(IDEAS.Fluid.Movers.Validation.ControlledFlowMachineDynamic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.002312/0.002312, allocations: 169.6 kB / 7.444 MB, free: 2.008 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.6019/0.6019, allocations: 133.5 MB / 141.4 MB, free: 15.7 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.136/1.136, allocations: 221.3 MB / 395 MB, free: 10.18 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.0007997/0.0007998, allocations: 94.09 kB / 477.8 MB, free: 10.81 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 6.001e-06/6.021e-06, allocations: 0 / 0.5528 GB, free: 89.17 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1209/0.1209, allocations: 82.3 MB / 0.6332 GB, free: 14.11 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.756/2.877, allocations: 1.912 GB / 2.545 GB, free: 31.81 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001998/2.877, allocations: 87.95 kB / 2.546 GB, free: 31.72 MB / 0.6823 GB Notification: Performance of FrontEnd: time 12.54/15.41, allocations: 4.405 GB / 6.951 GB, free: 52.2 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 0.0009601/15.41, allocations: 155.3 kB / 6.951 GB, free: 52.18 MB / 0.8386 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.01576/15.43, allocations: 5.974 MB / 6.957 GB, free: 49.62 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.451e-05/15.43, allocations: 7.719 kB / 6.957 GB, free: 49.62 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01207/15.44, allocations: 1.77 MB / 6.958 GB, free: 49.24 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02405/15.47, allocations: 11.37 MB / 6.969 GB, free: 48.06 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001028/15.47, allocations: 102.7 kB / 6.97 GB, free: 48.06 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006336/15.47, allocations: 226.6 kB / 6.97 GB, free: 48.06 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005265/15.47, allocations: 3.735 MB / 6.973 GB, free: 48.04 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005237/15.48, allocations: 3.886 MB / 6.977 GB, free: 47.72 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.842e-05/15.48, allocations: 6.375 kB / 6.977 GB, free: 47.72 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002981/15.48, allocations: 10.73 kB / 6.977 GB, free: 47.72 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.5e-05/15.48, allocations: 118.3 kB / 6.977 GB, free: 47.71 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0245/15.5, allocations: 20.6 MB / 6.997 GB, free: 39.8 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003808/15.51, allocations: 3.486 MB / 7.001 GB, free: 39.73 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002178/15.51, allocations: 1.956 MB / 7.003 GB, free: 39.7 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004791/15.51, allocations: 0.558 MB / 7.003 GB, free: 39.14 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002095/15.51, allocations: 1.882 MB / 7.005 GB, free: 39.07 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=211): time 3.287e-06/15.51, allocations: 3.094 kB / 7.005 GB, free: 39.07 MB / 0.8386 GB Notification: Performance of matching and sorting (n=211): time 0.008462/15.52, allocations: 4.106 MB / 7.009 GB, free: 38.67 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.779e-05/15.52, allocations: 74.25 kB / 7.009 GB, free: 38.61 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008702/15.53, allocations: 5.978 MB / 7.015 GB, free: 38.23 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 0.0005705/15.53, allocations: 36.39 kB / 7.015 GB, free: 38.2 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.001112/15.53, allocations: 1.497 MB / 7.017 GB, free: 37.52 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.001159/15.53, allocations: 0.7039 MB / 7.017 GB, free: 37.05 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001751/15.53, allocations: 0 / 7.017 GB, free: 37.05 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001333/15.53, allocations: 439.2 kB / 7.018 GB, free: 36.74 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001896/15.53, allocations: 1.622 MB / 7.019 GB, free: 36.73 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002255/15.54, allocations: 2.829 MB / 7.022 GB, free: 35.27 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003015/15.54, allocations: 2.066 MB / 7.024 GB, free: 35.21 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.457e-05/15.54, allocations: 8.906 kB / 7.024 GB, free: 35.21 MB / 0.8386 GB Notification: Performance of matching and sorting (n=408) (initialization): time 0.007698/15.55, allocations: 5.121 MB / 7.029 GB, free: 34.79 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.002195/15.55, allocations: 14.6 MB / 7.043 GB, free: 35.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.111e-05/15.55, allocations: 27.09 kB / 7.043 GB, free: 35.5 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008063/15.55, allocations: 448 kB / 7.044 GB, free: 35.48 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003678/15.55, allocations: 0.7791 MB / 7.044 GB, free: 35.48 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00408/15.56, allocations: 4.578 MB / 7.049 GB, free: 32.68 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005144/15.56, allocations: 459.3 kB / 7.049 GB, free: 32.52 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003804/15.56, allocations: 265.9 kB / 7.05 GB, free: 32.52 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 9.348e-06/15.56, allocations: 7.031 kB / 7.05 GB, free: 32.52 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005998/15.57, allocations: 3.966 MB / 7.054 GB, free: 32.41 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.134e-05/15.57, allocations: 33.36 kB / 7.054 GB, free: 32.41 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001145/15.57, allocations: 0.5449 MB / 7.054 GB, free: 32.4 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002845/15.57, allocations: 0.7514 MB / 7.055 GB, free: 32.4 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01046/15.58, allocations: 7.185 MB / 7.062 GB, free: 29.42 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005555/15.59, allocations: 386.9 kB / 7.062 GB, free: 29.3 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004217/15.59, allocations: 235.1 kB / 7.062 GB, free: 29.3 MB / 0.8542 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.0008385/15.59, allocations: 205.6 kB / 7.063 GB, free: 29.17 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009485/15.59, allocations: 0.5325 MB / 7.063 GB, free: 28.88 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006283/15.6, allocations: 3.375 MB / 7.066 GB, free: 28.7 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.574e-05/15.6, allocations: 22.5 kB / 7.066 GB, free: 28.7 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/15.6, allocations: 0 / 7.066 GB, free: 28.7 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0037/15.6, allocations: 2.779 MB / 7.069 GB, free: 28.18 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01278/15.61, allocations: 8.339 MB / 7.077 GB, free: 27.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.913e-06/15.61, allocations: 0 / 7.077 GB, free: 27.6 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00283/15.62, allocations: 0.5588 MB / 7.078 GB, free: 27.6 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003424/15.62, allocations: 177.8 kB / 7.078 GB, free: 27.58 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001548/15.62, allocations: 46.77 kB / 7.078 GB, free: 27.58 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002006/15.62, allocations: 3.394 MB / 7.081 GB, free: 24.78 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.328e-06/15.62, allocations: 6.906 kB / 7.081 GB, free: 24.78 MB / 0.8542 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.006657/15.63, allocations: 5.076 MB / 7.086 GB, free: 23.79 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003065/15.63, allocations: 1.234 MB / 7.088 GB, free: 23.38 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001215/15.63, allocations: 13.59 kB / 7.088 GB, free: 23.38 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003353/15.63, allocations: 251.9 kB / 7.088 GB, free: 23.36 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002557/15.63, allocations: 126.6 kB / 7.088 GB, free: 23.36 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001917/15.63, allocations: 107.7 kB / 7.088 GB, free: 23.36 MB / 0.8542 GB Notification: Performance of sort global known variables: time 0.006468/15.64, allocations: 4.465 MB / 7.092 GB, free: 23.14 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.01056/15.65, allocations: 3.219 MB / 7.096 GB, free: 22.79 MB / 0.8542 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.0124/15.66, allocations: 11.34 MB / 7.107 GB, free: 16.92 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0103/15.67, allocations: 6.335 MB / 7.113 GB, free: 16.55 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 7.715e-06/15.67, allocations: 1.25 kB / 7.113 GB, free: 16.55 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.002206/15.68, allocations: 1.372 MB / 7.114 GB, free: 16.53 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01196/15.69, allocations: 2.827 MB / 7.117 GB, free: 16.46 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01815/15.71, allocations: 9.058 MB / 7.126 GB, free: 13.8 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005071/15.71, allocations: 4.05 MB / 7.13 GB, free: 12.59 MB / 0.8542 GB Notification: Performance of SimCode: time 8.92e-07/15.71, allocations: 2.719 kB / 7.13 GB, free: 12.59 MB / 0.8542 GB Notification: Performance of Templates: time 0.5679/16.28, allocations: 175.4 MB / 7.301 GB, free: 122.7 MB / 0.8698 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Movers.Validation.ControlledFlowMachineDynamic.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Movers.Validation.ControlledFlowMachineDynamic.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Movers.Validation.ControlledFlowMachineDynamic.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Movers.Validation.ControlledFlowMachineDynamic.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Movers.Validation.ControlledFlowMachineDynamic.sim & ./IDEAS_dev_IDEAS.Fluid.Movers.Validation.ControlledFlowMachineDynamic -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Movers.Validation.ControlledFlowMachineDynamic.pipe 2>&1)