Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Movers.Validation.PumpCurveDerivatives.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.Movers.Validation.PumpCurveDerivatives,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Movers.Validation.PumpCurveDerivatives") translateModel(Buildings.Fluid.Movers.Validation.PumpCurveDerivatives,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.61/1.61, allocations: 289.8 MB / 297.1 MB, free: 6.582 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.001285/0.001285, allocations: 173.3 kB / 366.3 MB, free: 1.945 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.824/1.824, allocations: 205.1 MB / 0.6256 GB, free: 5.809 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.00112/0.00112, allocations: 89.98 kB / 0.7395 GB, free: 39.64 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.171e-05/1.219e-05, allocations: 4 kB / 0.859 GB, free: 13.34 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7932/0.7933, allocations: 116.3 MB / 0.9726 GB, free: 68.64 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9588/1.752, allocations: 405.3 MB / 1.368 GB, free: 82.32 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002528/1.752, allocations: 94.67 kB / 1.368 GB, free: 82.27 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.917/4.669, allocations: 0.9284 GB / 2.297 GB, free: 14.48 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 0.0003664/4.669, allocations: 83.97 kB / 2.297 GB, free: 14.4 MB / 0.9636 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.009189/4.679, allocations: 3.181 MB / 2.3 GB, free: 11.16 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 5.525e-05/4.679, allocations: 8.031 kB / 2.3 GB, free: 11.15 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006023/4.685, allocations: 0.963 MB / 2.301 GB, free: 10.18 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.5152/5.2, allocations: 19.8 MB / 2.32 GB, free: 188.4 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.853e-05/5.2, allocations: 57.16 kB / 2.32 GB, free: 188.4 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004027/5.2, allocations: 113.3 kB / 2.321 GB, free: 188.4 MB / 0.9636 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002714/5.203, allocations: 1.632 MB / 2.322 GB, free: 188.3 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002621/5.206, allocations: 1.852 MB / 2.324 GB, free: 188.1 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.626e-05/5.206, allocations: 6.844 kB / 2.324 GB, free: 188.1 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001516/5.206, allocations: 7.188 kB / 2.324 GB, free: 188.1 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.999e-05/5.206, allocations: 43.27 kB / 2.324 GB, free: 188.1 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01468/5.221, allocations: 10.14 MB / 2.334 GB, free: 184.2 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001878/5.223, allocations: 1.62 MB / 2.336 GB, free: 184.1 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008054/5.223, allocations: 0.7311 MB / 2.336 GB, free: 184.1 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00577/5.229, allocations: 3.983 MB / 2.34 GB, free: 182.6 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.458e-05/5.229, allocations: 49.22 kB / 2.34 GB, free: 182.6 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=84): time 2.595e-06/5.229, allocations: 0 / 2.34 GB, free: 182.6 MB / 0.9636 GB Notification: Performance of matching and sorting (n=84): time 0.005613/5.235, allocations: 2.265 MB / 2.342 GB, free: 182.3 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.657e-05/5.235, allocations: 59.22 kB / 2.342 GB, free: 182.2 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005046/5.24, allocations: 3.517 MB / 2.346 GB, free: 182 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 0.0002622/5.24, allocations: 28.98 kB / 2.346 GB, free: 182 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005412/5.241, allocations: 0.8907 MB / 2.347 GB, free: 181.6 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003564/5.241, allocations: 283.2 kB / 2.347 GB, free: 181.5 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.898e-05/5.241, allocations: 0 / 2.347 GB, free: 181.5 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0001059/5.241, allocations: 368.8 kB / 2.347 GB, free: 181.2 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000941/5.242, allocations: 0.7753 MB / 2.348 GB, free: 181.2 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001217/5.244, allocations: 1.538 MB / 2.35 GB, free: 180.2 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002583/5.246, allocations: 1.119 MB / 2.351 GB, free: 180.2 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.06e-05/5.246, allocations: 7.75 kB / 2.351 GB, free: 180.2 MB / 0.9636 GB Notification: Performance of matching and sorting (n=207) (initialization): time 0.006137/5.252, allocations: 2.873 MB / 2.354 GB, free: 180 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 0.001834/5.254, allocations: 9.336 MB / 2.363 GB, free: 170.2 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.179e-05/5.254, allocations: 24.66 kB / 2.363 GB, free: 170.2 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001152/5.255, allocations: 459.8 kB / 2.363 GB, free: 170.2 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001567/5.257, allocations: 375.2 kB / 2.363 GB, free: 170.2 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002313/5.259, allocations: 2.434 MB / 2.366 GB, free: 168.7 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003696/5.263, allocations: 256.5 kB / 2.366 GB, free: 168.6 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002887/5.263, allocations: 158.7 kB / 2.366 GB, free: 168.6 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.345e-05/5.263, allocations: 4.031 kB / 2.366 GB, free: 168.6 MB / 0.9636 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00532/5.269, allocations: 2.228 MB / 2.368 GB, free: 168.6 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.944e-05/5.269, allocations: 23.59 kB / 2.368 GB, free: 168.6 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001358/5.27, allocations: 0.5061 MB / 2.369 GB, free: 168.5 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001193/5.271, allocations: 352.1 kB / 2.369 GB, free: 168.5 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006961/5.278, allocations: 5.235 MB / 2.374 GB, free: 165.9 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003181/5.281, allocations: 208.3 kB / 2.375 GB, free: 165.8 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003274/5.282, allocations: 138.6 kB / 2.375 GB, free: 165.8 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.0007037/5.283, allocations: 178.2 kB / 2.375 GB, free: 165.7 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007682/5.283, allocations: 313.6 kB / 2.375 GB, free: 165.5 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006014/5.289, allocations: 2.275 MB / 2.377 GB, free: 165.4 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.98e-05/5.289, allocations: 13.59 kB / 2.377 GB, free: 165.4 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/5.289, allocations: 0 / 2.377 GB, free: 165.4 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.543e-05/5.289, allocations: 14.66 kB / 2.377 GB, free: 165.4 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009144/5.299, allocations: 4.418 MB / 2.382 GB, free: 165 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.784e-06/5.299, allocations: 0 / 2.382 GB, free: 165 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009869/5.3, allocations: 192.8 kB / 2.382 GB, free: 165 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007386/5.3, allocations: 319.2 kB / 2.382 GB, free: 165 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.796e-05/5.3, allocations: 18.14 kB / 2.382 GB, free: 165 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001541/5.302, allocations: 2.122 MB / 2.384 GB, free: 163.4 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.149e-06/5.302, allocations: 6.156 kB / 2.384 GB, free: 163.4 MB / 0.9636 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005755/5.308, allocations: 2.865 MB / 2.387 GB, free: 162.9 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002481/5.31, allocations: 0.7108 MB / 2.388 GB, free: 162.6 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008264/5.311, allocations: 3.688 kB / 2.388 GB, free: 162.6 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001911/5.313, allocations: 135.7 kB / 2.388 GB, free: 162.6 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001633/5.313, allocations: 68.75 kB / 2.388 GB, free: 162.6 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001379/5.313, allocations: 63.62 kB / 2.388 GB, free: 162.6 MB / 0.9636 GB Notification: Performance of sort global known variables: time 0.004448/5.318, allocations: 2.624 MB / 2.391 GB, free: 162.5 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.006932/5.325, allocations: 1.621 MB / 2.392 GB, free: 162.4 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.003006/5.328, allocations: 1.682 MB / 2.394 GB, free: 162.1 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.004973/5.333, allocations: 3.016 MB / 2.397 GB, free: 161.9 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 6.202e-06/5.333, allocations: 6.25 kB / 2.397 GB, free: 161.9 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.001002/5.334, allocations: 0.6469 MB / 2.397 GB, free: 161.9 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006595/5.34, allocations: 1.439 MB / 2.399 GB, free: 161.9 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008829/5.349, allocations: 4.38 MB / 2.403 GB, free: 160.8 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002408/5.352, allocations: 2.478 MB / 2.406 GB, free: 160.1 MB / 0.9636 GB Notification: Performance of SimCode: time 8.42e-07/5.352, allocations: 3.25 kB / 2.406 GB, free: 160.1 MB / 0.9636 GB Notification: Performance of Templates: time 0.1304/5.482, allocations: 84.34 MB / 2.488 GB, free: 157 MB / 0.9636 GB make -j1 -f Buildings_8_Buildings.Fluid.Movers.Validation.PumpCurveDerivatives.makefile (rm -f Buildings_8_Buildings.Fluid.Movers.Validation.PumpCurveDerivatives.pipe ; mkfifo Buildings_8_Buildings.Fluid.Movers.Validation.PumpCurveDerivatives.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Movers.Validation.PumpCurveDerivatives.pipe >> ../files/Buildings_8_Buildings.Fluid.Movers.Validation.PumpCurveDerivatives.sim & ./Buildings_8_Buildings.Fluid.Movers.Validation.PumpCurveDerivatives -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Movers.Validation.PumpCurveDerivatives.pipe 2>&1)