Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Movers.Validation.SpeedControlled_y.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_y,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Movers.Validation.SpeedControlled_y") translateModel(IDEAS.Fluid.Movers.Validation.SpeedControlled_y,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Movers.Validation.SpeedControlled_y") [: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.003095/0.003095, allocations: 180.7 kB / 7.455 MB, free: 2.34 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6805/0.6805, allocations: 130.6 MB / 138.5 MB, free: 2.207 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.695/1.695, 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.001032/0.001032, allocations: 97.25 kB / 473.4 MB, free: 14.33 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 9.167e-06/9.207e-06, allocations: 1.875 kB / 0.5479 GB, free: 89.05 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2171/0.2171, allocations: 81.58 MB / 0.6276 GB, free: 18.18 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.958/5.175, allocations: 1.907 GB / 2.535 GB, free: 236.9 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003127/5.176, allocations: 90.83 kB / 2.535 GB, free: 236.9 MB / 0.6667 GB Notification: Performance of FrontEnd: time 5.535/10.71, allocations: 1.554 GB / 4.089 GB, free: 79.09 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 0.0004619/10.71, allocations: 70.27 kB / 4.089 GB, free: 79.09 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.01291/10.72, allocations: 2.581 MB / 4.091 GB, free: 78.34 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.634e-05/10.72, allocations: 7.156 kB / 4.091 GB, free: 78.34 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007307/10.73, allocations: 0.8985 MB / 4.092 GB, free: 78.2 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009764/10.74, allocations: 3.109 MB / 4.095 GB, free: 77.77 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.124e-05/10.74, allocations: 48.41 kB / 4.095 GB, free: 77.77 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004405/10.74, allocations: 90.66 kB / 4.095 GB, free: 77.77 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00274/10.74, allocations: 1.336 MB / 4.097 GB, free: 77.76 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002491/10.75, allocations: 1.5 MB / 4.098 GB, free: 77.57 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.787e-05/10.75, allocations: 2.812 kB / 4.098 GB, free: 77.57 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001356/10.75, allocations: 7.188 kB / 4.098 GB, free: 77.57 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.931e-05/10.75, allocations: 47.42 kB / 4.098 GB, free: 77.57 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01283/10.76, allocations: 7.829 MB / 4.106 GB, free: 73.8 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001506/10.76, allocations: 0.9934 MB / 4.107 GB, free: 73.76 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008776/10.76, allocations: 0.6095 MB / 4.107 GB, free: 73.75 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003694/10.76, allocations: 280.8 kB / 4.108 GB, free: 73.46 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.145e-05/10.76, allocations: 46.12 kB / 4.108 GB, free: 73.43 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=85): time 3.246e-06/10.76, allocations: 3.844 kB / 4.108 GB, free: 73.43 MB / 0.7292 GB Notification: Performance of matching and sorting (n=85): time 0.00454/10.77, allocations: 1.402 MB / 4.109 GB, free: 73.25 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.198e-05/10.77, allocations: 59.38 kB / 4.109 GB, free: 73.18 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002609/10.77, allocations: 1.375 MB / 4.11 GB, free: 72.98 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0002158/10.77, allocations: 32.52 kB / 4.11 GB, free: 72.95 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005148/10.77, allocations: 0.628 MB / 4.111 GB, free: 72.7 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003973/10.77, allocations: 282 kB / 4.111 GB, free: 72.55 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.138e-05/10.77, allocations: 3.906 kB / 4.111 GB, free: 72.55 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001125/10.77, allocations: 350.3 kB / 4.112 GB, free: 72.24 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007267/10.77, allocations: 426.7 kB / 4.112 GB, free: 72.23 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008978/10.77, allocations: 0.8432 MB / 4.113 GB, free: 71.71 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001478/10.77, allocations: 0.5918 MB / 4.113 GB, free: 71.71 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-05/10.77, allocations: 6.844 kB / 4.113 GB, free: 71.71 MB / 0.7292 GB Notification: Performance of matching and sorting (n=139) (initialization): time 0.004928/10.78, allocations: 1.635 MB / 4.115 GB, free: 71.54 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.001589/10.78, allocations: 3.852 MB / 4.119 GB, free: 67.55 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.451e-05/10.78, allocations: 16.48 kB / 4.119 GB, free: 67.55 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00117/10.78, allocations: 305.3 kB / 4.119 GB, free: 67.52 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001357/10.78, allocations: 258.5 kB / 4.119 GB, free: 67.52 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003644/10.79, allocations: 3.639 MB / 4.123 GB, free: 64.7 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002533/10.79, allocations: 163.2 kB / 4.123 GB, free: 64.67 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002116/10.79, allocations: 84.94 kB / 4.123 GB, free: 64.67 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.225e-05/10.79, allocations: 11.44 kB / 4.123 GB, free: 64.67 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003613/10.79, allocations: 1.329 MB / 4.124 GB, free: 64.62 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.814e-05/10.79, allocations: 7.156 kB / 4.124 GB, free: 64.62 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001154/10.8, allocations: 320.1 kB / 4.125 GB, free: 64.6 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009419/10.8, allocations: 228.2 kB / 4.125 GB, free: 64.6 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006438/10.8, allocations: 4.939 MB / 4.13 GB, free: 61.26 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002583/10.81, allocations: 151.3 kB / 4.13 GB, free: 61.23 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002003/10.81, allocations: 65.16 kB / 4.13 GB, free: 61.23 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.0005828/10.81, allocations: 144.8 kB / 4.13 GB, free: 61.11 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004431/10.81, allocations: 194.5 kB / 4.13 GB, free: 61.01 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003892/10.81, allocations: 1.403 MB / 4.132 GB, free: 60.9 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.073e-05/10.81, allocations: 11.41 kB / 4.132 GB, free: 60.9 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.557e-06/10.81, allocations: 0 / 4.132 GB, free: 60.9 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002482/10.81, allocations: 1.168 MB / 4.133 GB, free: 60.69 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007503/10.82, allocations: 2.919 MB / 4.136 GB, free: 60.22 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.724e-06/10.82, allocations: 5.531 kB / 4.136 GB, free: 60.22 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009912/10.82, allocations: 190 kB / 4.136 GB, free: 60.22 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006253/10.82, allocations: 222.8 kB / 4.136 GB, free: 60.2 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.966e-05/10.82, allocations: 16.41 kB / 4.136 GB, free: 60.2 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002894/10.83, allocations: 3.486 MB / 4.14 GB, free: 57.36 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.539e-06/10.83, allocations: 3.312 kB / 4.14 GB, free: 57.36 MB / 0.7292 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004172/10.83, allocations: 1.995 MB / 4.142 GB, free: 56.93 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001446/10.83, allocations: 374.5 kB / 4.142 GB, free: 56.72 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000759/10.83, allocations: 0 / 4.142 GB, free: 56.72 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001898/10.83, allocations: 104.9 kB / 4.142 GB, free: 56.71 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001258/10.83, allocations: 54.98 kB / 4.142 GB, free: 56.71 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001108/10.83, allocations: 43.09 kB / 4.142 GB, free: 56.71 MB / 0.7292 GB Notification: Performance of sort global known variables: time 0.002616/10.84, allocations: 1.036 MB / 4.143 GB, free: 56.57 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.007204/10.84, allocations: 1.436 MB / 4.144 GB, free: 56.37 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.008858/10.85, allocations: 4.664 MB / 4.149 GB, free: 54.64 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.005791/10.86, allocations: 2.086 MB / 4.151 GB, free: 54.3 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.015e-05/10.86, allocations: 3.75 kB / 4.151 GB, free: 54.3 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.001224/10.86, allocations: 0.5893 MB / 4.152 GB, free: 54.2 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00496/10.86, allocations: 0.8842 MB / 4.153 GB, free: 54.17 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00667/10.87, allocations: 2.9 MB / 4.155 GB, free: 53.42 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001614/10.87, allocations: 1.817 MB / 4.157 GB, free: 52.68 MB / 0.7292 GB Notification: Performance of SimCode: time 2.024e-06/10.87, allocations: 0 / 4.157 GB, free: 52.68 MB / 0.7292 GB Notification: Performance of Templates: time 0.1114/10.98, allocations: 65.47 MB / 4.221 GB, free: 49.81 MB / 0.7292 GB make -j1 -f IDEAS_IDEAS.Fluid.Movers.Validation.SpeedControlled_y.makefile (rm -f IDEAS_IDEAS.Fluid.Movers.Validation.SpeedControlled_y.pipe ; mkfifo IDEAS_IDEAS.Fluid.Movers.Validation.SpeedControlled_y.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Movers.Validation.SpeedControlled_y.pipe >> ../files/IDEAS_IDEAS.Fluid.Movers.Validation.SpeedControlled_y.sim & ./IDEAS_IDEAS.Fluid.Movers.Validation.SpeedControlled_y -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Movers.Validation.SpeedControlled_y.pipe 2>&1)