Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Movers.Validation.SpeedControlled_y.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) 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/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Fluid.Movers.Validation.SpeedControlled_y,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Movers.Validation.SpeedControlled_y") translateModel(BuildingSystems.Fluid.Movers.Validation.SpeedControlled_y,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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/BuildingSystems 2.0.0-master/package.mo): time 0.8201/0.8201, allocations: 141.8 MB / 149.1 MB, free: 2.277 MB / 122.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001171/0.001171, allocations: 173.2 kB / 181.9 MB, free: 1.797 MB / 154.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.625/1.625, allocations: 221.4 MB / 436 MB, free: 6.426 MB / 330.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001149/0.001149, allocations: 84.61 kB / 0.507 GB, free: 3.113 MB / 410.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002152/0.002152, allocations: 272.7 kB / 0.5884 GB, free: 48.09 MB / 410.9 MB Notification: Performance of FrontEnd - loaded program: time 1.098e-05/1.101e-05, allocations: 4 kB / 0.6759 GB, free: 6.457 MB / 458.9 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5969/0.5969, allocations: 82.76 MB / 0.7567 GB, free: 25.54 MB / 458.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.587/5.184, allocations: 1.905 GB / 2.661 GB, free: 107.7 MB / 0.6982 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002707/5.185, allocations: 87.89 kB / 2.661 GB, free: 107.6 MB / 0.6982 GB Notification: Performance of FrontEnd: time 5.821/11.01, allocations: 1.553 GB / 4.215 GB, free: 75.94 MB / 0.745 GB Notification: Performance of Transformations before backend: time 0.0006548/11.01, allocations: 65.5 kB / 4.215 GB, free: 75.93 MB / 0.745 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.01196/11.02, allocations: 2.584 MB / 4.217 GB, free: 74.86 MB / 0.745 GB Notification: Performance of prepare preOptimizeDAE: time 5.508e-05/11.02, allocations: 11.03 kB / 4.217 GB, free: 74.86 MB / 0.745 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007418/11.03, allocations: 0.9017 MB / 4.218 GB, free: 74.72 MB / 0.745 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01143/11.04, allocations: 3.067 MB / 4.221 GB, free: 74.18 MB / 0.745 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001413/11.04, allocations: 43.31 kB / 4.221 GB, free: 74.18 MB / 0.745 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007811/11.04, allocations: 91.66 kB / 4.221 GB, free: 74.18 MB / 0.745 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003846/11.04, allocations: 1.339 MB / 4.223 GB, free: 74.17 MB / 0.745 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004261/11.05, allocations: 1.498 MB / 4.224 GB, free: 73.99 MB / 0.745 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.281e-05/11.05, allocations: 0 / 4.224 GB, free: 73.99 MB / 0.745 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003092/11.05, allocations: 3.5 kB / 4.224 GB, free: 73.99 MB / 0.745 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.142e-05/11.05, allocations: 59.33 kB / 4.224 GB, free: 73.98 MB / 0.745 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01589/11.06, allocations: 7.831 MB / 4.232 GB, free: 70.17 MB / 0.745 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001819/11.06, allocations: 0.9922 MB / 4.233 GB, free: 70.11 MB / 0.745 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001008/11.07, allocations: 0.6113 MB / 4.234 GB, free: 70.1 MB / 0.745 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003758/11.07, allocations: 282.3 kB / 4.234 GB, free: 69.82 MB / 0.745 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.457e-05/11.07, allocations: 41.75 kB / 4.234 GB, free: 69.78 MB / 0.745 GB Notification: Performance of pre-optimization done (n=85): time 3.777e-06/11.07, allocations: 0 / 4.234 GB, free: 69.78 MB / 0.745 GB Notification: Performance of matching and sorting (n=85): time 0.005065/11.07, allocations: 1.402 MB / 4.235 GB, free: 69.6 MB / 0.745 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.193e-05/11.07, allocations: 63.78 kB / 4.235 GB, free: 69.54 MB / 0.745 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003626/11.08, allocations: 1.363 MB / 4.237 GB, free: 69.32 MB / 0.745 GB Notification: Performance of collectPreVariables (initialization): time 0.0002222/11.08, allocations: 28.73 kB / 4.237 GB, free: 69.29 MB / 0.745 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007261/11.08, allocations: 0.6233 MB / 4.237 GB, free: 68.96 MB / 0.745 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004259/11.08, allocations: 294.6 kB / 4.237 GB, free: 68.77 MB / 0.745 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.004e-05/11.08, allocations: 0 / 4.237 GB, free: 68.77 MB / 0.745 GB Notification: Performance of setup shared object (initialization): time 0.0001241/11.08, allocations: 347.4 kB / 4.238 GB, free: 68.47 MB / 0.745 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007554/11.08, allocations: 423.4 kB / 4.238 GB, free: 68.47 MB / 0.745 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009549/11.08, allocations: 0.847 MB / 4.239 GB, free: 67.95 MB / 0.745 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001592/11.08, allocations: 0.5897 MB / 4.24 GB, free: 67.95 MB / 0.745 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.611e-05/11.08, allocations: 3.062 kB / 4.24 GB, free: 67.95 MB / 0.745 GB Notification: Performance of matching and sorting (n=139) (initialization): time 0.004381/11.08, allocations: 1.652 MB / 4.241 GB, free: 67.77 MB / 0.745 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009691/11.09, allocations: 3.849 MB / 4.245 GB, free: 63.78 MB / 0.745 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.982e-05/11.09, allocations: 14.56 kB / 4.245 GB, free: 63.77 MB / 0.745 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001022/11.09, allocations: 306.8 kB / 4.245 GB, free: 63.75 MB / 0.745 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001224/11.09, allocations: 252 kB / 4.246 GB, free: 63.75 MB / 0.745 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003805/11.09, allocations: 3.634 MB / 4.249 GB, free: 60.93 MB / 0.745 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002447/11.09, allocations: 171.7 kB / 4.249 GB, free: 60.87 MB / 0.745 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002622/11.09, allocations: 77.94 kB / 4.249 GB, free: 60.87 MB / 0.745 GB Notification: Performance of prepare postOptimizeDAE: time 1.255e-05/11.09, allocations: 3.75 kB / 4.249 GB, free: 60.87 MB / 0.745 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003847/11.1, allocations: 1.326 MB / 4.251 GB, free: 60.82 MB / 0.745 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.487e-05/11.1, allocations: 13.42 kB / 4.251 GB, free: 60.82 MB / 0.745 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001207/11.1, allocations: 322.7 kB / 4.251 GB, free: 60.79 MB / 0.745 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009607/11.1, allocations: 229 kB / 4.251 GB, free: 60.79 MB / 0.745 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006531/11.11, allocations: 4.94 MB / 4.256 GB, free: 57.43 MB / 0.745 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002464/11.11, allocations: 143.7 kB / 4.256 GB, free: 57.39 MB / 0.745 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003413/11.11, allocations: 71.81 kB / 4.256 GB, free: 57.39 MB / 0.745 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.0006858/11.11, allocations: 145.4 kB / 4.256 GB, free: 57.29 MB / 0.745 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008741/11.11, allocations: 195.3 kB / 4.257 GB, free: 57.18 MB / 0.745 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004714/11.12, allocations: 1.393 MB / 4.258 GB, free: 57.05 MB / 0.745 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.272e-05/11.12, allocations: 6.844 kB / 4.258 GB, free: 57.05 MB / 0.745 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/11.12, allocations: 0 / 4.258 GB, free: 57.05 MB / 0.745 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002758/11.12, allocations: 1.184 MB / 4.259 GB, free: 56.83 MB / 0.745 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008642/11.13, allocations: 2.916 MB / 4.262 GB, free: 56.35 MB / 0.745 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.476e-06/11.13, allocations: 1.406 kB / 4.262 GB, free: 56.35 MB / 0.745 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001086/11.13, allocations: 186.7 kB / 4.262 GB, free: 56.35 MB / 0.745 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007212/11.13, allocations: 229.7 kB / 4.262 GB, free: 56.32 MB / 0.745 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001039/11.13, allocations: 17.53 kB / 4.262 GB, free: 56.32 MB / 0.745 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003355/11.13, allocations: 3.475 MB / 4.266 GB, free: 53.5 MB / 0.745 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.955e-06/11.13, allocations: 6.656 kB / 4.266 GB, free: 53.5 MB / 0.745 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004754/11.14, allocations: 1.996 MB / 4.268 GB, free: 53.06 MB / 0.745 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00166/11.14, allocations: 367.9 kB / 4.268 GB, free: 52.85 MB / 0.745 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007433/11.14, allocations: 13.5 kB / 4.268 GB, free: 52.85 MB / 0.745 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001926/11.14, allocations: 102.2 kB / 4.268 GB, free: 52.84 MB / 0.745 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001471/11.14, allocations: 53.72 kB / 4.268 GB, free: 52.84 MB / 0.745 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001149/11.14, allocations: 37.91 kB / 4.268 GB, free: 52.84 MB / 0.745 GB Notification: Performance of sort global known variables: time 0.002607/11.15, allocations: 1.035 MB / 4.269 GB, free: 52.7 MB / 0.745 GB Notification: Performance of remove unused functions: time 0.007495/11.15, allocations: 1.435 MB / 4.271 GB, free: 52.5 MB / 0.745 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.009867/11.16, allocations: 4.688 MB / 4.275 GB, free: 50.68 MB / 0.745 GB Notification: Performance of simCode: created initialization part: time 0.005379/11.17, allocations: 2.089 MB / 4.277 GB, free: 50.34 MB / 0.745 GB Notification: Performance of simCode: created event and clocks part: time 9.618e-06/11.17, allocations: 0 / 4.277 GB, free: 50.34 MB / 0.745 GB Notification: Performance of simCode: created simulation system equations: time 0.001448/11.17, allocations: 0.5963 MB / 4.278 GB, free: 50.24 MB / 0.745 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00648/11.18, allocations: 0.8709 MB / 4.279 GB, free: 50.21 MB / 0.745 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009861/11.19, allocations: 2.899 MB / 4.282 GB, free: 49.47 MB / 0.745 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003068/11.19, allocations: 1.807 MB / 4.283 GB, free: 48.73 MB / 0.745 GB Notification: Performance of SimCode: time 1.643e-06/11.19, allocations: 0 / 4.283 GB, free: 48.73 MB / 0.745 GB Notification: Performance of Templates: time 0.1244/11.31, allocations: 65.49 MB / 4.347 GB, free: 27.04 MB / 0.745 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Movers.Validation.SpeedControlled_y.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Movers.Validation.SpeedControlled_y.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Movers.Validation.SpeedControlled_y.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Movers.Validation.SpeedControlled_y.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Movers.Validation.SpeedControlled_y.sim & ./BuildingSystems_BuildingSystems.Fluid.Movers.Validation.SpeedControlled_y -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Movers.Validation.SpeedControlled_y.pipe 2>&1)