Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Movers.Validation.SpeedControlled_Nrpm.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.SpeedControlled_Nrpm,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Movers.Validation.SpeedControlled_Nrpm") translateModel(IDEAS.Fluid.Movers.Validation.SpeedControlled_Nrpm,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Movers.Validation.SpeedControlled_Nrpm") [: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.001817/0.001817, allocations: 173.7 kB / 7.458 MB, free: 2.488 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.6111/0.6111, allocations: 133.5 MB / 141.4 MB, free: 15.67 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.127/1.127, allocations: 221.3 MB / 395 MB, free: 10.2 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.0008248/0.0008247, allocations: 95.48 kB / 477.8 MB, free: 10.8 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 7.965e-06/8.055e-06, allocations: 2.906 kB / 0.5528 GB, free: 89.14 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1227/0.1227, allocations: 82.3 MB / 0.6332 GB, free: 14.11 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.825/2.948, allocations: 1.907 GB / 2.54 GB, free: 52.63 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001732/2.948, allocations: 87.95 kB / 2.541 GB, free: 52.55 MB / 0.6823 GB Notification: Performance of FrontEnd: time 4.036/6.984, allocations: 1.554 GB / 4.095 GB, free: 73.19 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 0.0001892/6.984, allocations: 63.27 kB / 4.095 GB, free: 73.18 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: 349 * Number of variables: 349 Notification: Performance of Generate backend data structure: time 0.004269/6.989, allocations: 2.584 MB / 4.097 GB, free: 71.86 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.117e-05/6.989, allocations: 19.22 kB / 4.097 GB, free: 71.86 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00495/6.994, allocations: 0.9025 MB / 4.098 GB, free: 71.71 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005632/6.999, allocations: 3.094 MB / 4.101 GB, free: 71.11 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.341e-05/6.999, allocations: 45.72 kB / 4.101 GB, free: 71.11 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001877/6.999, allocations: 95.03 kB / 4.101 GB, free: 71.11 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001922/7.001, allocations: 1.338 MB / 4.102 GB, free: 71.1 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00203/7.003, allocations: 1.495 MB / 4.104 GB, free: 70.91 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.286e-05/7.003, allocations: 7.125 kB / 4.104 GB, free: 70.91 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001217/7.004, allocations: 0 / 4.104 GB, free: 70.91 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.526e-05/7.004, allocations: 55.11 kB / 4.104 GB, free: 70.9 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007979/7.012, allocations: 7.846 MB / 4.112 GB, free: 66.98 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001152/7.013, allocations: 0.9762 MB / 4.113 GB, free: 66.95 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007304/7.014, allocations: 0.6068 MB / 4.113 GB, free: 66.94 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002437/7.014, allocations: 280.9 kB / 4.113 GB, free: 66.65 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.676e-05/7.014, allocations: 42.06 kB / 4.113 GB, free: 66.61 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=85): time 2.054e-06/7.014, allocations: 6.156 kB / 4.114 GB, free: 66.61 MB / 0.7292 GB Notification: Performance of matching and sorting (n=85): time 0.003596/7.017, allocations: 1.399 MB / 4.115 GB, free: 66.43 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.229e-05/7.017, allocations: 61.59 kB / 4.115 GB, free: 66.37 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001389/7.019, allocations: 1.379 MB / 4.116 GB, free: 66.16 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 7.915e-05/7.019, allocations: 29.3 kB / 4.116 GB, free: 66.13 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.000275/7.019, allocations: 0.6227 MB / 4.117 GB, free: 65.8 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002043/7.019, allocations: 290.2 kB / 4.117 GB, free: 65.61 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.005e-05/7.019, allocations: 0 / 4.117 GB, free: 65.61 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 6.191e-05/7.02, allocations: 353 kB / 4.118 GB, free: 65.3 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000513/7.02, allocations: 430.7 kB / 4.118 GB, free: 65.29 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008512/7.021, allocations: 0.8444 MB / 4.119 GB, free: 64.76 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00127/7.022, allocations: 0.5905 MB / 4.119 GB, free: 64.74 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.933e-06/7.022, allocations: 5.906 kB / 4.119 GB, free: 64.74 MB / 0.7292 GB Notification: Performance of matching and sorting (n=139) (initialization): time 0.003387/7.026, allocations: 1.636 MB / 4.121 GB, free: 64.52 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005211/7.026, allocations: 3.858 MB / 4.125 GB, free: 60.53 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.575e-05/7.026, allocations: 10.09 kB / 4.125 GB, free: 60.53 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009159/7.027, allocations: 312.9 kB / 4.125 GB, free: 60.5 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001094/7.028, allocations: 253 kB / 4.125 GB, free: 60.48 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003116/7.031, allocations: 3.647 MB / 4.129 GB, free: 57.64 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001605/7.033, allocations: 173.4 kB / 4.129 GB, free: 57.58 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001489/7.033, allocations: 83.48 kB / 4.129 GB, free: 57.58 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 6.472e-06/7.033, allocations: 3.719 kB / 4.129 GB, free: 57.58 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003234/7.036, allocations: 1.329 MB / 4.13 GB, free: 57.49 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.404e-05/7.036, allocations: 8.844 kB / 4.13 GB, free: 57.49 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001105/7.037, allocations: 311.8 kB / 4.131 GB, free: 57.46 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008825/7.038, allocations: 224.3 kB / 4.131 GB, free: 57.45 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005344/7.044, allocations: 4.945 MB / 4.136 GB, free: 54.05 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001427/7.045, allocations: 151.1 kB / 4.136 GB, free: 54.01 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001028/7.045, allocations: 66.34 kB / 4.136 GB, free: 54.01 MB / 0.7292 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: floMacSta.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (118): * Single equations (assignments): 112 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 3 * 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: 3 {1 4,1 8,1 5} Notification: Performance of prepare postOptimizeDAE: time 0.000298/7.046, allocations: 140.1 kB / 4.136 GB, free: 53.89 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002163/7.046, allocations: 193 kB / 4.136 GB, free: 53.79 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00314/7.049, allocations: 1.404 MB / 4.138 GB, free: 53.65 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.995e-06/7.049, allocations: 12.28 kB / 4.138 GB, free: 53.65 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.034e-06/7.049, allocations: 0 / 4.138 GB, free: 53.65 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002248/7.051, allocations: 1.167 MB / 4.139 GB, free: 53.43 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004738/7.056, allocations: 2.924 MB / 4.142 GB, free: 52.26 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.148e-06/7.056, allocations: 5.156 kB / 4.142 GB, free: 52.26 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009153/7.057, allocations: 182.7 kB / 4.142 GB, free: 52.25 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005378/7.057, allocations: 227.3 kB / 4.142 GB, free: 52.18 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.078e-05/7.058, allocations: 20.08 kB / 4.142 GB, free: 52.18 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002302/7.06, allocations: 3.479 MB / 4.145 GB, free: 49.06 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.925e-06/7.06, allocations: 2.5 kB / 4.145 GB, free: 49.06 MB / 0.7292 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003289/7.063, allocations: 1.994 MB / 4.147 GB, free: 48.11 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006056/7.064, allocations: 376.5 kB / 4.148 GB, free: 47.83 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000238/7.064, allocations: 2.656 kB / 4.148 GB, free: 47.83 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001143/7.065, allocations: 102.2 kB / 4.148 GB, free: 47.82 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001009/7.065, allocations: 55.12 kB / 4.148 GB, free: 47.82 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.186e-05/7.065, allocations: 40.72 kB / 4.148 GB, free: 47.81 MB / 0.7292 GB Notification: Performance of sort global known variables: time 0.001369/7.067, allocations: 1.041 MB / 4.149 GB, free: 47.34 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.004191/7.071, allocations: 1.441 MB / 4.15 GB, free: 46.94 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 3 (floMacDyn.vol.dynBal.U,floMacDyn.vol.dynBal.m,floMacDyn.vol.dynBal.mXi[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (73): * Single equations (assignments): 69 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 3 * 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: 3 {1 6,1 4,2 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.005097/7.076, allocations: 4.665 MB / 4.155 GB, free: 45.07 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.003795/7.08, allocations: 2.09 MB / 4.157 GB, free: 44.16 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.817e-06/7.08, allocations: 1.031 kB / 4.157 GB, free: 44.16 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0008888/7.081, allocations: 0.592 MB / 4.158 GB, free: 43.78 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003403/7.084, allocations: 0.8867 MB / 4.158 GB, free: 43.14 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004672/7.089, allocations: 2.908 MB / 4.161 GB, free: 40.57 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001478/7.09, allocations: 1.818 MB / 4.163 GB, free: 39.09 MB / 0.7292 GB Notification: Performance of SimCode: time 6.31e-07/7.09, allocations: 0 / 4.163 GB, free: 39.09 MB / 0.7292 GB Notification: Performance of Templates: time 0.323/7.413, allocations: 65.45 MB / 4.227 GB, free: 146.2 MB / 0.7448 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Movers.Validation.SpeedControlled_Nrpm.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Movers.Validation.SpeedControlled_Nrpm.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Movers.Validation.SpeedControlled_Nrpm.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Movers.Validation.SpeedControlled_Nrpm.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Movers.Validation.SpeedControlled_Nrpm.sim & ./IDEAS_dev_IDEAS.Fluid.Movers.Validation.SpeedControlled_Nrpm -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Movers.Validation.SpeedControlled_Nrpm.pipe 2>&1)