Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Movers.Validation.PowerSimplified.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.PowerSimplified,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Movers.Validation.PowerSimplified") translateModel(Buildings.Fluid.Movers.Validation.PowerSimplified,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Movers.Validation.PowerSimplified") [: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.605/1.605, allocations: 289.8 MB / 297.1 MB, free: 6.617 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.001554/0.001554, allocations: 181.2 kB / 366.3 MB, free: 1.875 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.491/1.491, allocations: 205.1 MB / 0.6256 GB, free: 5.754 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.0009403/0.0009399, allocations: 90.92 kB / 0.7395 GB, free: 39.59 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 6.833e-06/6.903e-06, allocations: 0 / 0.859 GB, free: 13.29 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7001/0.7001, allocations: 116.3 MB / 0.9726 GB, free: 68.59 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.97/1.67, allocations: 442.3 MB / 1.405 GB, free: 49.91 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002423/1.671, allocations: 96.5 kB / 1.405 GB, free: 49.86 MB / 0.823 GB Notification: Performance of FrontEnd: time 3.871/5.541, allocations: 1.004 GB / 2.409 GB, free: 117.1 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 0.0008369/5.542, allocations: 92.3 kB / 2.409 GB, free: 117.1 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: 440 * Number of variables: 440 Notification: Performance of Generate backend data structure: time 0.01182/5.554, allocations: 3.114 MB / 2.412 GB, free: 115.9 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 5.482e-05/5.554, allocations: 11.12 kB / 2.412 GB, free: 115.9 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005071/5.559, allocations: 0.6258 MB / 2.413 GB, free: 115.6 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06843/5.628, allocations: 22.83 MB / 2.435 GB, free: 114.3 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002251/5.628, allocations: 52.12 kB / 2.435 GB, free: 114.3 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001242/5.629, allocations: 123.1 kB / 2.435 GB, free: 114.3 MB / 0.9636 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006283/5.636, allocations: 1.525 MB / 2.437 GB, free: 114.3 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005842/5.642, allocations: 1.811 MB / 2.438 GB, free: 114 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.352e-05/5.642, allocations: 3.656 kB / 2.438 GB, free: 114 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004247/5.642, allocations: 3.656 kB / 2.438 GB, free: 114 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.775e-05/5.642, allocations: 53.27 kB / 2.438 GB, free: 114 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01765/5.66, allocations: 9.831 MB / 2.448 GB, free: 109.9 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001771/5.662, allocations: 1.308 MB / 2.449 GB, free: 109.8 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007555/5.662, allocations: 0.6554 MB / 2.45 GB, free: 109.8 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006375/5.669, allocations: 3.631 MB / 2.453 GB, free: 108.1 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.322e-05/5.669, allocations: 50.03 kB / 2.453 GB, free: 108 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=90): time 4.358e-06/5.669, allocations: 0 / 2.453 GB, free: 108 MB / 0.9636 GB Notification: Performance of matching and sorting (n=96): time 0.01263/5.682, allocations: 4.052 MB / 2.457 GB, free: 107.1 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.213e-05/5.682, allocations: 59.22 kB / 2.457 GB, free: 107 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00549/5.687, allocations: 2.932 MB / 2.46 GB, free: 106.8 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 0.000445/5.688, allocations: 25.7 kB / 2.46 GB, free: 106.8 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006944/5.688, allocations: 0.9181 MB / 2.461 GB, free: 106.3 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004334/5.689, allocations: 326.5 kB / 2.462 GB, free: 106.1 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.787e-05/5.689, allocations: 0 / 2.462 GB, free: 106.1 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0001062/5.689, allocations: 362.1 kB / 2.462 GB, free: 105.8 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000878/5.69, allocations: 0.6217 MB / 2.463 GB, free: 105.8 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001079/5.691, allocations: 1.301 MB / 2.464 GB, free: 104.9 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002517/5.693, allocations: 0.9463 MB / 2.465 GB, free: 104.9 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-05/5.694, allocations: 6.312 kB / 2.465 GB, free: 104.9 MB / 0.9636 GB Notification: Performance of matching and sorting (n=198) (initialization): time 0.005448/5.699, allocations: 2.424 MB / 2.467 GB, free: 104.7 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 0.001553/5.701, allocations: 7.922 MB / 2.475 GB, free: 96.36 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.505e-05/5.701, allocations: 19.34 kB / 2.475 GB, free: 96.36 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000944/5.702, allocations: 389.2 kB / 2.475 GB, free: 96.33 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001474/5.703, allocations: 349.2 kB / 2.476 GB, free: 96.33 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002368/5.705, allocations: 3.509 MB / 2.479 GB, free: 93.66 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002898/5.708, allocations: 130.4 kB / 2.479 GB, free: 93.65 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002294/5.709, allocations: 124.2 kB / 2.479 GB, free: 93.65 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.047e-05/5.709, allocations: 3.781 kB / 2.479 GB, free: 93.65 MB / 0.9636 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004228/5.713, allocations: 1.893 MB / 2.481 GB, free: 93.59 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.69e-05/5.713, allocations: 17.09 kB / 2.481 GB, free: 93.59 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00103/5.714, allocations: 445 kB / 2.482 GB, free: 93.56 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001113/5.715, allocations: 323.2 kB / 2.482 GB, free: 93.56 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00694/5.722, allocations: 5.628 MB / 2.487 GB, free: 90.37 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003099/5.725, allocations: 127 kB / 2.487 GB, free: 90.36 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003282/5.725, allocations: 105.3 kB / 2.488 GB, free: 90.36 MB / 0.9636 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 81 * 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): 159 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 4 * 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: 4 {1 5,1 5,1 5,1 5} Notification: Performance of prepare postOptimizeDAE: time 0.0005858/5.726, allocations: 156.7 kB / 2.488 GB, free: 90.24 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007576/5.727, allocations: 303.1 kB / 2.488 GB, free: 90.07 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004551/5.731, allocations: 1.965 MB / 2.49 GB, free: 89.95 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.682e-05/5.731, allocations: 10.59 kB / 2.49 GB, free: 89.95 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.608e-06/5.731, allocations: 3.422 kB / 2.49 GB, free: 89.95 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002241/5.734, allocations: 1.546 MB / 2.491 GB, free: 89.48 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009327/5.743, allocations: 3.965 MB / 2.495 GB, free: 89.04 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.017e-06/5.743, allocations: 0 / 2.495 GB, free: 89.04 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001225/5.744, allocations: 236.9 kB / 2.496 GB, free: 89.04 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002567/5.745, allocations: 92.02 kB / 2.496 GB, free: 89.04 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.824e-05/5.745, allocations: 21.92 kB / 2.496 GB, free: 89.04 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009705/5.746, allocations: 1.307 MB / 2.497 GB, free: 87.93 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.218e-06/5.746, allocations: 3.656 kB / 2.497 GB, free: 87.93 MB / 0.9636 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004532/5.75, allocations: 2.475 MB / 2.499 GB, free: 87.42 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002264/5.753, allocations: 0.6037 MB / 2.5 GB, free: 87.15 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006713/5.753, allocations: 3.938 kB / 2.5 GB, free: 87.15 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001516/5.755, allocations: 96.59 kB / 2.5 GB, free: 87.14 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001746/5.755, allocations: 64.28 kB / 2.5 GB, free: 87.14 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001306/5.755, allocations: 59.72 kB / 2.5 GB, free: 87.14 MB / 0.9636 GB Notification: Performance of sort global known variables: time 0.003733/5.759, allocations: 2.213 MB / 2.502 GB, free: 87 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.007307/5.766, allocations: 1.482 MB / 2.504 GB, free: 86.89 MB / 0.9636 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 3 (pump_Nrpm.port_a.h_outflow,pump_dp.port_a.h_outflow,pump_m_flow.port_a.h_outflow) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (110): * Single equations (assignments): 100 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * 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: 1 {1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.003534/5.77, allocations: 1.76 MB / 2.505 GB, free: 86.43 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.005066/5.775, allocations: 2.643 MB / 2.508 GB, free: 86.28 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 7.334e-06/5.775, allocations: 2.344 kB / 2.508 GB, free: 86.28 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0009887/5.776, allocations: 0.6131 MB / 2.509 GB, free: 86.28 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007928/5.784, allocations: 1.442 MB / 2.51 GB, free: 86.23 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01115/5.795, allocations: 4.509 MB / 2.514 GB, free: 85.18 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002986/5.798, allocations: 2.508 MB / 2.517 GB, free: 84.43 MB / 0.9636 GB Notification: Performance of SimCode: time 1.703e-06/5.798, allocations: 0 / 2.517 GB, free: 84.43 MB / 0.9636 GB Notification: Performance of Templates: time 0.1435/5.941, allocations: 77.78 MB / 2.593 GB, free: 69.49 MB / 0.9636 GB make -j1 -f Buildings_8_Buildings.Fluid.Movers.Validation.PowerSimplified.makefile (rm -f Buildings_8_Buildings.Fluid.Movers.Validation.PowerSimplified.pipe ; mkfifo Buildings_8_Buildings.Fluid.Movers.Validation.PowerSimplified.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Movers.Validation.PowerSimplified.pipe >> ../files/Buildings_8_Buildings.Fluid.Movers.Validation.PowerSimplified.sim & ./Buildings_8_Buildings.Fluid.Movers.Validation.PowerSimplified -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Movers.Validation.PowerSimplified.pipe 2>&1)