Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Movers.Validation.PowerSimplified.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.PowerSimplified,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Movers.Validation.PowerSimplified") translateModel(IDEAS.Fluid.Movers.Validation.PowerSimplified,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Movers.Validation.PowerSimplified") [: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.002204/0.002204, allocations: 180.3 kB / 7.458 MB, free: 2.5 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.588/0.588, allocations: 133.5 MB / 141.4 MB, free: 15.63 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.114/1.114, allocations: 221.3 MB / 395 MB, free: 10.09 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.0007957/0.0007957, allocations: 94.73 kB / 477.8 MB, free: 10.71 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 6.071e-06/6.091e-06, allocations: 2.75 kB / 0.5528 GB, free: 89.45 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1058/0.1059, allocations: 82.29 MB / 0.6332 GB, free: 13.95 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7303/0.8362, allocations: 401.9 MB / 1.026 GB, free: 207.7 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001908/0.8365, allocations: 95.19 kB / 1.026 GB, free: 207.6 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.816/3.653, allocations: 1.026 GB / 2.052 GB, free: 75.64 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 0.0003159/3.653, allocations: 90.73 kB / 2.052 GB, free: 75.64 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 440 * Number of variables: 440 Notification: Performance of Generate backend data structure: time 0.004433/3.658, allocations: 3.129 MB / 2.055 GB, free: 74.43 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.188e-05/3.658, allocations: 7.906 kB / 2.055 GB, free: 74.43 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002531/3.66, allocations: 0.631 MB / 2.055 GB, free: 74.22 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04387/3.704, allocations: 23.21 MB / 2.078 GB, free: 72.93 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.087e-05/3.704, allocations: 55.62 kB / 2.078 GB, free: 72.93 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002404/3.704, allocations: 119.6 kB / 2.078 GB, free: 72.93 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002283/3.707, allocations: 1.528 MB / 2.08 GB, free: 72.92 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002418/3.709, allocations: 1.815 MB / 2.081 GB, free: 72.66 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.351e-05/3.709, allocations: 3.188 kB / 2.081 GB, free: 72.66 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001368/3.709, allocations: 3.344 kB / 2.081 GB, free: 72.66 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.712e-05/3.709, allocations: 59.64 kB / 2.081 GB, free: 72.66 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01108/3.72, allocations: 9.847 MB / 2.091 GB, free: 68.52 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001411/3.722, allocations: 1.295 MB / 2.092 GB, free: 68.49 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006607/3.722, allocations: 0.6502 MB / 2.093 GB, free: 68.47 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004313/3.727, allocations: 3.645 MB / 2.097 GB, free: 66.73 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.854e-05/3.727, allocations: 46.91 kB / 2.097 GB, free: 66.7 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=90): time 3.256e-06/3.727, allocations: 0 / 2.097 GB, free: 66.7 MB / 0.7292 GB Notification: Performance of matching and sorting (n=96): time 0.00918/3.736, allocations: 4.057 MB / 2.101 GB, free: 65.75 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.082e-05/3.736, allocations: 59.41 kB / 2.101 GB, free: 65.69 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00357/3.74, allocations: 2.958 MB / 2.103 GB, free: 65.45 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0001137/3.74, allocations: 28.48 kB / 2.104 GB, free: 65.42 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.000475/3.74, allocations: 0.9264 MB / 2.104 GB, free: 64.97 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002683/3.741, allocations: 326.3 kB / 2.105 GB, free: 64.75 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.204e-05/3.741, allocations: 0 / 2.105 GB, free: 64.75 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 7.241e-05/3.741, allocations: 366.2 kB / 2.105 GB, free: 64.45 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007167/3.741, allocations: 0.6148 MB / 2.106 GB, free: 64.45 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008931/3.742, allocations: 1.306 MB / 2.107 GB, free: 63.59 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00216/3.744, allocations: 0.9392 MB / 2.108 GB, free: 63.58 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.802e-06/3.744, allocations: 10.31 kB / 2.108 GB, free: 63.58 MB / 0.7292 GB Notification: Performance of matching and sorting (n=198) (initialization): time 0.004342/3.749, allocations: 2.422 MB / 2.11 GB, free: 63.33 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009738/3.75, allocations: 7.935 MB / 2.118 GB, free: 55.03 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.97e-05/3.75, allocations: 28.23 kB / 2.118 GB, free: 55.03 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007989/3.751, allocations: 391.9 kB / 2.118 GB, free: 54.99 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001369/3.752, allocations: 351.4 kB / 2.119 GB, free: 54.99 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00189/3.754, allocations: 3.502 MB / 2.122 GB, free: 52.33 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002221/3.756, allocations: 123 kB / 2.122 GB, free: 52.32 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000167/3.756, allocations: 122.4 kB / 2.122 GB, free: 52.32 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 7.605e-06/3.756, allocations: 3.938 kB / 2.122 GB, free: 52.32 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003632/3.76, allocations: 1.895 MB / 2.124 GB, free: 52.25 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.002e-05/3.76, allocations: 22.84 kB / 2.124 GB, free: 52.25 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009296/3.761, allocations: 436.1 kB / 2.125 GB, free: 52.22 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001019/3.762, allocations: 329.6 kB / 2.125 GB, free: 52.22 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005949/3.768, allocations: 5.63 MB / 2.131 GB, free: 49.04 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002096/3.77, allocations: 116 kB / 2.131 GB, free: 49.03 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000144/3.77, allocations: 106.2 kB / 2.131 GB, free: 49.03 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 81 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (167): * Single equations (assignments): 159 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 5,1 5,1 5,1 5} Notification: Performance of prepare postOptimizeDAE: time 0.0003871/3.771, allocations: 160.5 kB / 2.131 GB, free: 48.91 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006128/3.771, allocations: 308.9 kB / 2.131 GB, free: 48.74 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004077/3.775, allocations: 1.956 MB / 2.133 GB, free: 48.63 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-05/3.775, allocations: 23.11 kB / 2.133 GB, free: 48.63 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/3.775, allocations: 0 / 2.133 GB, free: 48.63 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002124/3.777, allocations: 1.537 MB / 2.135 GB, free: 48.16 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00691/3.784, allocations: 3.976 MB / 2.138 GB, free: 47.72 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.7e-06/3.784, allocations: 4.281 kB / 2.138 GB, free: 47.72 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001103/3.786, allocations: 234 kB / 2.139 GB, free: 47.72 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001778/3.786, allocations: 87.09 kB / 2.139 GB, free: 47.71 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.947e-05/3.786, allocations: 20.92 kB / 2.139 GB, free: 47.71 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005637/3.786, allocations: 1.308 MB / 2.14 GB, free: 46.61 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.937e-06/3.786, allocations: 2.469 kB / 2.14 GB, free: 46.61 MB / 0.7292 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003283/3.79, allocations: 2.48 MB / 2.143 GB, free: 46.1 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001253/3.791, allocations: 0.6017 MB / 2.143 GB, free: 45.84 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006728/3.792, allocations: 7.688 kB / 2.143 GB, free: 45.83 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001601/3.793, allocations: 96.95 kB / 2.143 GB, free: 45.82 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001171/3.793, allocations: 61.09 kB / 2.143 GB, free: 45.82 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001099/3.793, allocations: 63.39 kB / 2.143 GB, free: 45.82 MB / 0.7292 GB Notification: Performance of sort global known variables: time 0.002554/3.796, allocations: 2.229 MB / 2.145 GB, free: 45.68 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.004082/3.8, allocations: 1.482 MB / 2.147 GB, free: 45.57 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 3 (pump_Nrpm.port_a.h_outflow,pump_dp.port_a.h_outflow,pump_m_flow.port_a.h_outflow) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (110): * Single equations (assignments): 100 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.002151/3.802, allocations: 1.766 MB / 2.149 GB, free: 45.13 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.003522/3.806, allocations: 2.643 MB / 2.151 GB, free: 44.98 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.045e-06/3.806, allocations: 0 / 2.151 GB, free: 44.98 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.00075/3.807, allocations: 0.6198 MB / 2.152 GB, free: 44.97 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004789/3.811, allocations: 1.442 MB / 2.153 GB, free: 44.95 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006697/3.818, allocations: 4.515 MB / 2.158 GB, free: 43.89 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002036/3.82, allocations: 2.519 MB / 2.16 GB, free: 43.14 MB / 0.7292 GB Notification: Performance of SimCode: time 1.032e-06/3.82, allocations: 0 / 2.16 GB, free: 43.14 MB / 0.7292 GB Notification: Performance of Templates: time 0.1018/3.922, allocations: 77.85 MB / 2.236 GB, free: 38.41 MB / 0.7292 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Movers.Validation.PowerSimplified.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Movers.Validation.PowerSimplified.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Movers.Validation.PowerSimplified.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Movers.Validation.PowerSimplified.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Movers.Validation.PowerSimplified.sim & ./IDEAS_dev_IDEAS.Fluid.Movers.Validation.PowerSimplified -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Movers.Validation.PowerSimplified.pipe 2>&1)