Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/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.SpeedControlled_Nrpm,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Movers.Validation.SpeedControlled_Nrpm") translateModel(IDEAS.Fluid.Movers.Validation.SpeedControlled_Nrpm,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.004081/0.004081, allocations: 180.5 kB / 7.453 MB, free: 2.512 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6817/0.6817, allocations: 130.6 MB / 138.5 MB, free: 2.215 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.745/1.745, allocations: 221.3 MB / 391.4 MB, free: 13.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.001086/0.001085, allocations: 105.7 kB / 473.5 MB, free: 14.41 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 9.979e-06/1.023e-05, allocations: 1.75 kB / 0.5479 GB, free: 89 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2298/0.2298, allocations: 81.58 MB / 0.6276 GB, free: 18.23 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.861/5.091, allocations: 1.907 GB / 2.535 GB, free: 237.3 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002305/5.091, allocations: 92.73 kB / 2.535 GB, free: 237.2 MB / 0.6667 GB Notification: Performance of FrontEnd: time 5.932/11.02, allocations: 1.554 GB / 4.089 GB, free: 82.03 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 0.0004182/11.02, allocations: 55.53 kB / 4.089 GB, free: 82.03 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.009826/11.03, allocations: 2.591 MB / 4.091 GB, free: 81.29 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.112e-05/11.03, allocations: 7.625 kB / 4.091 GB, free: 81.29 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007159/11.04, allocations: 0.8925 MB / 4.092 GB, free: 81.15 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0109/11.05, allocations: 3.098 MB / 4.095 GB, free: 80.72 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001322/11.05, allocations: 44.62 kB / 4.095 GB, free: 80.72 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007593/11.05, allocations: 97.72 kB / 4.095 GB, free: 80.72 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003755/11.06, allocations: 1.336 MB / 4.097 GB, free: 80.71 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004143/11.06, allocations: 1.501 MB / 4.098 GB, free: 80.53 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.778e-05/11.06, allocations: 0 / 4.098 GB, free: 80.53 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002893/11.06, allocations: 7.5 kB / 4.098 GB, free: 80.52 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.283e-05/11.06, allocations: 48.8 kB / 4.098 GB, free: 80.52 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01426/11.07, allocations: 7.833 MB / 4.106 GB, free: 76.75 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00159/11.08, allocations: 0.9905 MB / 4.107 GB, free: 76.71 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009567/11.08, allocations: 0.6119 MB / 4.107 GB, free: 76.7 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003397/11.08, allocations: 281.4 kB / 4.108 GB, free: 76.42 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.486e-05/11.08, allocations: 40.56 kB / 4.108 GB, free: 76.38 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=85): time 3.877e-06/11.08, allocations: 0 / 4.108 GB, free: 76.38 MB / 0.7292 GB Notification: Performance of matching and sorting (n=85): time 0.004784/11.08, allocations: 1.406 MB / 4.109 GB, free: 76.21 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.672e-05/11.08, allocations: 59.62 kB / 4.109 GB, free: 76.14 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003335/11.09, allocations: 1.375 MB / 4.11 GB, free: 75.94 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0001845/11.09, allocations: 25.7 kB / 4.11 GB, free: 75.91 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006825/11.09, allocations: 0.6378 MB / 4.111 GB, free: 75.65 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004088/11.09, allocations: 288.7 kB / 4.111 GB, free: 75.5 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.902e-05/11.09, allocations: 0 / 4.111 GB, free: 75.5 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001254/11.09, allocations: 352.1 kB / 4.112 GB, free: 75.2 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007207/11.09, allocations: 426 kB / 4.112 GB, free: 75.19 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009526/11.09, allocations: 0.8437 MB / 4.113 GB, free: 74.67 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001556/11.09, allocations: 0.596 MB / 4.113 GB, free: 74.66 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-05/11.09, allocations: 7.312 kB / 4.113 GB, free: 74.66 MB / 0.7292 GB Notification: Performance of matching and sorting (n=139) (initialization): time 0.004498/11.1, allocations: 1.629 MB / 4.115 GB, free: 74.49 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.001088/11.1, allocations: 3.859 MB / 4.119 GB, free: 70.5 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.381e-05/11.1, allocations: 10.22 kB / 4.119 GB, free: 70.5 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00106/11.1, allocations: 306.3 kB / 4.119 GB, free: 70.48 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001261/11.1, allocations: 259.5 kB / 4.119 GB, free: 70.47 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003994/11.1, allocations: 3.637 MB / 4.123 GB, free: 67.65 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002654/11.11, allocations: 169.8 kB / 4.123 GB, free: 67.62 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002639/11.11, allocations: 79.02 kB / 4.123 GB, free: 67.62 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.241e-05/11.11, allocations: 6.359 kB / 4.123 GB, free: 67.62 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004056/11.11, allocations: 1.33 MB / 4.124 GB, free: 67.57 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.09e-05/11.11, allocations: 10.81 kB / 4.124 GB, free: 67.57 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001215/11.11, allocations: 313.1 kB / 4.125 GB, free: 67.55 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001017/11.11, allocations: 239.2 kB / 4.125 GB, free: 67.55 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007097/11.12, allocations: 4.943 MB / 4.13 GB, free: 64.21 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003169/11.12, allocations: 148.8 kB / 4.13 GB, free: 64.17 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004806/11.12, allocations: 68.7 kB / 4.13 GB, free: 64.17 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.001039/11.12, allocations: 145.2 kB / 4.13 GB, free: 64.06 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001161/11.13, allocations: 196.4 kB / 4.13 GB, free: 63.95 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005511/11.13, allocations: 1.409 MB / 4.132 GB, free: 63.84 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.319e-05/11.13, allocations: 6.969 kB / 4.132 GB, free: 63.84 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.412e-06/11.13, allocations: 0 / 4.132 GB, free: 63.84 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00283/11.13, allocations: 1.164 MB / 4.133 GB, free: 63.64 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009058/11.14, allocations: 2.908 MB / 4.136 GB, free: 63.17 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.907e-06/11.14, allocations: 3.75 kB / 4.136 GB, free: 63.17 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001085/11.14, allocations: 190.3 kB / 4.136 GB, free: 63.17 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006804/11.14, allocations: 218.7 kB / 4.136 GB, free: 63.15 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001052/11.14, allocations: 20.47 kB / 4.136 GB, free: 63.15 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003186/11.15, allocations: 3.496 MB / 4.14 GB, free: 60.31 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.053e-06/11.15, allocations: 2.781 kB / 4.14 GB, free: 60.31 MB / 0.7292 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004451/11.15, allocations: 1.99 MB / 4.142 GB, free: 59.88 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001548/11.15, allocations: 373.3 kB / 4.142 GB, free: 59.66 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008073/11.16, allocations: 7.906 kB / 4.142 GB, free: 59.66 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001929/11.16, allocations: 102.8 kB / 4.142 GB, free: 59.66 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001369/11.16, allocations: 54.48 kB / 4.142 GB, free: 59.66 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001203/11.16, allocations: 37.52 kB / 4.142 GB, free: 59.66 MB / 0.7292 GB Notification: Performance of sort global known variables: time 0.002778/11.16, allocations: 1.044 MB / 4.143 GB, free: 59.51 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.007628/11.17, allocations: 1.429 MB / 4.144 GB, free: 59.32 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.009203/11.18, allocations: 4.661 MB / 4.149 GB, free: 57.58 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.005568/11.18, allocations: 2.097 MB / 4.151 GB, free: 57.24 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 8.857e-06/11.18, allocations: 0 / 4.151 GB, free: 57.24 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.001312/11.18, allocations: 0.5913 MB / 4.152 GB, free: 57.14 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005774/11.19, allocations: 0.8846 MB / 4.153 GB, free: 57.11 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01044/11.2, allocations: 2.908 MB / 4.155 GB, free: 56.36 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00305/11.2, allocations: 1.811 MB / 4.157 GB, free: 55.62 MB / 0.7292 GB Notification: Performance of SimCode: time 1.633e-06/11.2, allocations: 3 kB / 4.157 GB, free: 55.62 MB / 0.7292 GB Notification: Performance of Templates: time 0.1213/11.32, allocations: 65.47 MB / 4.221 GB, free: 52.68 MB / 0.7292 GB make -j1 -f IDEAS_IDEAS.Fluid.Movers.Validation.SpeedControlled_Nrpm.makefile (rm -f IDEAS_IDEAS.Fluid.Movers.Validation.SpeedControlled_Nrpm.pipe ; mkfifo IDEAS_IDEAS.Fluid.Movers.Validation.SpeedControlled_Nrpm.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Movers.Validation.SpeedControlled_Nrpm.pipe >> ../files/IDEAS_IDEAS.Fluid.Movers.Validation.SpeedControlled_Nrpm.sim & ./IDEAS_IDEAS.Fluid.Movers.Validation.SpeedControlled_Nrpm -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Movers.Validation.SpeedControlled_Nrpm.pipe 2>&1)