Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Movers.Validation.PumpCurveDerivatives.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Movers.Validation.PumpCurveDerivatives,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Movers.Validation.PumpCurveDerivatives") translateModel(Buildings.Fluid.Movers.Validation.PumpCurveDerivatives,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Movers.Validation.PumpCurveDerivatives") [: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/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.494/1.494, allocations: 285.5 MB / 292.8 MB, free: 10.41 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001217/0.001217, allocations: 173.3 kB / 361.1 MB, free: 7.062 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.374/1.374, allocations: 205.1 MB / 0.6195 GB, free: 10.34 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008786/0.0008784, allocations: 82.14 kB / 0.7325 GB, free: 44.23 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 7.384e-06/7.544e-06, allocations: 0 / 0.8511 GB, free: 2.953 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6314/0.6315, allocations: 115.3 MB / 0.9637 GB, free: 78.29 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9107/1.542, allocations: 404.4 MB / 1.359 GB, free: 157 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002781/1.543, allocations: 85.08 kB / 1.359 GB, free: 157 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.962/4.504, allocations: 0.9285 GB / 2.287 GB, free: 51.21 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0006713/4.505, allocations: 83.92 kB / 2.287 GB, free: 51.13 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 397 * Number of variables: 397 Notification: Performance of Generate backend data structure: time 0.009634/4.515, allocations: 3.188 MB / 2.29 GB, free: 47.88 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 6.328e-05/4.515, allocations: 8.031 kB / 2.29 GB, free: 47.88 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006025/4.521, allocations: 0.9643 MB / 2.291 GB, free: 46.91 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04807/4.569, allocations: 19.81 MB / 2.311 GB, free: 26.91 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001538/4.569, allocations: 52 kB / 2.311 GB, free: 26.86 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007962/4.57, allocations: 108 kB / 2.311 GB, free: 26.75 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003714/4.573, allocations: 1.634 MB / 2.312 GB, free: 25.12 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003759/4.577, allocations: 1.86 MB / 2.314 GB, free: 23.16 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.035e-05/4.577, allocations: 7.938 kB / 2.314 GB, free: 23.15 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001847/4.577, allocations: 4 kB / 2.314 GB, free: 23.14 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.027e-05/4.578, allocations: 36 kB / 2.314 GB, free: 23.11 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01507/4.593, allocations: 10.14 MB / 2.324 GB, free: 12.53 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001837/4.594, allocations: 1.621 MB / 2.326 GB, free: 10.89 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007812/4.595, allocations: 0.7294 MB / 2.326 GB, free: 10.16 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005725/4.601, allocations: 3.986 MB / 2.33 GB, free: 5.902 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.162e-05/4.601, allocations: 39.34 kB / 2.33 GB, free: 5.855 MB / 0.948 GB Notification: Performance of pre-optimization done (n=84): time 2.184e-06/4.601, allocations: 0 / 2.33 GB, free: 5.855 MB / 0.948 GB Notification: Performance of matching and sorting (n=84): time 0.00578/4.607, allocations: 2.265 MB / 2.333 GB, free: 3.566 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.966e-05/4.607, allocations: 64.17 kB / 2.333 GB, free: 3.492 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005528/4.612, allocations: 3.514 MB / 2.336 GB, free: 0 / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0004296/4.613, allocations: 33.75 kB / 2.336 GB, free: 15.96 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007683/4.614, allocations: 0.8925 MB / 2.337 GB, free: 15.05 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004555/4.614, allocations: 287.7 kB / 2.337 GB, free: 14.76 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.59e-05/4.614, allocations: 0 / 2.337 GB, free: 14.76 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0001663/4.614, allocations: 365.9 kB / 2.338 GB, free: 14.4 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001206/4.616, allocations: 0.777 MB / 2.338 GB, free: 13.62 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001796/4.617, allocations: 1.533 MB / 2.34 GB, free: 11.73 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003157/4.621, allocations: 1.121 MB / 2.341 GB, free: 10.61 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.456e-05/4.621, allocations: 4 kB / 2.341 GB, free: 10.61 MB / 0.9636 GB Notification: Performance of matching and sorting (n=207) (initialization): time 0.007073/4.628, allocations: 2.88 MB / 2.344 GB, free: 7.711 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 0.4409/5.069, allocations: 9.333 MB / 2.353 GB, free: 207.1 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.69e-05/5.069, allocations: 18.78 kB / 2.353 GB, free: 207.1 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001356/5.07, allocations: 460.1 kB / 2.353 GB, free: 207.1 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001824/5.072, allocations: 378.8 kB / 2.354 GB, free: 207.1 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002074/5.074, allocations: 2.433 MB / 2.356 GB, free: 205.6 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003321/5.077, allocations: 260.2 kB / 2.356 GB, free: 205.6 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002805/5.078, allocations: 158.9 kB / 2.356 GB, free: 205.6 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 9.458e-06/5.078, allocations: 3.406 kB / 2.356 GB, free: 205.6 MB / 0.9636 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005027/5.083, allocations: 2.227 MB / 2.359 GB, free: 205.5 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.029e-05/5.083, allocations: 21.97 kB / 2.359 GB, free: 205.5 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001345/5.084, allocations: 0.4989 MB / 2.359 GB, free: 205.5 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001185/5.085, allocations: 352.2 kB / 2.359 GB, free: 205.5 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007016/5.092, allocations: 5.243 MB / 2.365 GB, free: 202.9 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00298/5.095, allocations: 204.3 kB / 2.365 GB, free: 202.9 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002301/5.096, allocations: 133.1 kB / 2.365 GB, free: 202.9 MB / 0.9636 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: pump2.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: pump1.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real forcedPump1.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: 95 * 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): 161 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {2 9,1 4,1 5} Notification: Performance of prepare postOptimizeDAE: time 0.0005288/5.096, allocations: 183.9 kB / 2.365 GB, free: 202.8 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000533/5.097, allocations: 311.5 kB / 2.365 GB, free: 202.8 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005646/5.102, allocations: 2.275 MB / 2.368 GB, free: 202.7 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.605e-05/5.102, allocations: 9.906 kB / 2.368 GB, free: 202.7 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/5.102, allocations: 0 / 2.368 GB, free: 202.7 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.269e-05/5.102, allocations: 10.86 kB / 2.368 GB, free: 202.7 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007811/5.11, allocations: 4.416 MB / 2.372 GB, free: 202.3 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.101e-06/5.11, allocations: 1.812 kB / 2.372 GB, free: 202.3 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009711/5.111, allocations: 193.3 kB / 2.372 GB, free: 202.3 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006817/5.112, allocations: 312.1 kB / 2.372 GB, free: 202.3 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.36e-05/5.112, allocations: 31.55 kB / 2.372 GB, free: 202.3 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00146/5.114, allocations: 2.107 MB / 2.374 GB, free: 200.7 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.753e-06/5.114, allocations: 16.23 kB / 2.374 GB, free: 200.7 MB / 0.9636 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005505/5.119, allocations: 2.861 MB / 2.377 GB, free: 200.2 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001758/5.121, allocations: 0.7089 MB / 2.378 GB, free: 199.9 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004963/5.121, allocations: 0 / 2.378 GB, free: 199.9 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001621/5.123, allocations: 139.3 kB / 2.378 GB, free: 199.9 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001548/5.123, allocations: 67.31 kB / 2.378 GB, free: 199.9 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001189/5.123, allocations: 57.94 kB / 2.378 GB, free: 199.9 MB / 0.9636 GB Notification: Performance of sort global known variables: time 0.003751/5.127, allocations: 2.633 MB / 2.381 GB, free: 199.7 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.005262/5.132, allocations: 1.619 MB / 2.382 GB, free: 199.7 MB / 0.9636 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 3 (ddp_dm_flow.x,ddp_dNrpm.x,dm_flow_dNrpm.x) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (85): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {2 9,1 4,1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.002718/5.135, allocations: 1.692 MB / 2.384 GB, free: 199.4 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.004407/5.139, allocations: 3.006 MB / 2.387 GB, free: 199.2 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 6.181e-06/5.139, allocations: 3.188 kB / 2.387 GB, free: 199.2 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0009914/5.14, allocations: 0.6416 MB / 2.388 GB, free: 199.2 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006281/5.147, allocations: 1.452 MB / 2.389 GB, free: 199.2 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008806/5.156, allocations: 4.379 MB / 2.393 GB, free: 198.1 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002454/5.158, allocations: 2.487 MB / 2.396 GB, free: 197.4 MB / 0.9636 GB Notification: Performance of SimCode: time 1.152e-06/5.158, allocations: 0 / 2.396 GB, free: 197.4 MB / 0.9636 GB Notification: Performance of Templates: time 0.1343/5.292, allocations: 84.34 MB / 2.478 GB, free: 194.5 MB / 0.9636 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Movers.Validation.PumpCurveDerivatives.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Movers.Validation.PumpCurveDerivatives.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Movers.Validation.PumpCurveDerivatives.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Movers.Validation.PumpCurveDerivatives.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Movers.Validation.PumpCurveDerivatives.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.Movers.Validation.PumpCurveDerivatives -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.Movers.Validation.PumpCurveDerivatives.pipe 2>&1)