Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.Example2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/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 BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Fluid.Examples.Performance.Example2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.Example2") translateModel(BuildSysPro.IBPSA.Fluid.Examples.Performance.Example2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.Example2") [: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/BuildSysPro 3.5.0/package.mo): time 0.7964/0.7964, allocations: 127.4 MB / 134.6 MB, free: 4.109 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001515/0.001515, allocations: 185.3 kB / 164.4 MB, free: 6.902 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.701/1.701, allocations: 205.1 MB / 399.1 MB, free: 6.09 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001144/0.001144, allocations: 89.84 kB / 476.3 MB, free: 8.84 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 7.684e-06/7.714e-06, allocations: 0 / 0.546 GB, free: 42.77 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1768/0.1769, allocations: 76.75 MB / 0.6209 GB, free: 13.95 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.038/1.215, allocations: 370.9 MB / 0.9831 GB, free: 111.4 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002854/1.215, allocations: 88.7 kB / 0.9832 GB, free: 111.3 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.766/2.981, allocations: 483.2 MB / 1.455 GB, free: 115.9 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 0.0003667/2.981, allocations: 37.8 kB / 1.455 GB, free: 115.9 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 188 * Number of variables: 188 Notification: Performance of Generate backend data structure: time 0.005715/2.987, allocations: 1.52 MB / 1.457 GB, free: 115 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.929e-05/2.987, allocations: 8.812 kB / 1.457 GB, free: 115 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00239/2.989, allocations: 293.5 kB / 1.457 GB, free: 114.9 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007406/2.997, allocations: 2.081 MB / 1.459 GB, free: 114 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.786e-05/2.997, allocations: 28.11 kB / 1.459 GB, free: 114 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003658/2.997, allocations: 54.84 kB / 1.459 GB, free: 114 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001919/2.999, allocations: 0.6206 MB / 1.46 GB, free: 113.7 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001942/3.001, allocations: 0.8192 MB / 1.46 GB, free: 113.3 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.537e-05/3.001, allocations: 1.188 kB / 1.46 GB, free: 113.3 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001107/3.001, allocations: 2.156 kB / 1.46 GB, free: 113.3 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.455e-05/3.001, allocations: 20.09 kB / 1.46 GB, free: 113.3 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01005/3.011, allocations: 4.753 MB / 1.465 GB, free: 109.9 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001299/3.013, allocations: 0.517 MB / 1.466 GB, free: 109.7 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006661/3.013, allocations: 283.7 kB / 1.466 GB, free: 109.6 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004063/3.017, allocations: 1.483 MB / 1.467 GB, free: 108.5 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005697/3.018, allocations: 268.6 kB / 1.467 GB, free: 108.4 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=42): time 4.899e-06/3.018, allocations: 3.938 kB / 1.467 GB, free: 108.4 MB / 0.6355 GB Notification: Performance of matching and sorting (n=42): time 0.006558/3.025, allocations: 1.057 MB / 1.469 GB, free: 108.1 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.226e-05/3.025, allocations: 55.34 kB / 1.469 GB, free: 108.1 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003168/3.028, allocations: 1.018 MB / 1.47 GB, free: 107.7 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.0002058/3.028, allocations: 27.77 kB / 1.47 GB, free: 107.6 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007029/3.029, allocations: 433.2 kB / 1.47 GB, free: 107.3 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003296/3.029, allocations: 143.2 kB / 1.47 GB, free: 107.2 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.59e-05/3.029, allocations: 1.531 kB / 1.47 GB, free: 107.2 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001158/3.029, allocations: 343.5 kB / 1.47 GB, free: 106.9 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000538/3.03, allocations: 250.1 kB / 1.471 GB, free: 106.8 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009312/3.031, allocations: 0.5689 MB / 1.471 GB, free: 106.3 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00162/3.033, allocations: 385.4 kB / 1.472 GB, free: 106.2 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.691e-05/3.033, allocations: 1.281 kB / 1.472 GB, free: 106.2 MB / 0.6355 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.006449/3.039, allocations: 1.22 MB / 1.473 GB, free: 105.8 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009268/3.04, allocations: 3.004 MB / 1.476 GB, free: 102.7 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.567e-05/3.04, allocations: 10.16 kB / 1.476 GB, free: 102.7 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006399/3.041, allocations: 212.6 kB / 1.476 GB, free: 102.6 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008057/3.042, allocations: 146.3 kB / 1.476 GB, free: 102.6 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003234/3.045, allocations: 1.04 MB / 1.477 GB, free: 102 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002003/3.047, allocations: 116.5 kB / 1.477 GB, free: 102 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002451/3.047, allocations: 41.22 kB / 1.477 GB, free: 102 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.667e-05/3.047, allocations: 3.781 kB / 1.477 GB, free: 102 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002763/3.05, allocations: 0.7822 MB / 1.478 GB, free: 101.7 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.083e-05/3.05, allocations: 8.469 kB / 1.478 GB, free: 101.7 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000301/3.05, allocations: 104.6 kB / 1.478 GB, free: 101.6 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006706/3.051, allocations: 145 kB / 1.478 GB, free: 101.6 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002175/3.053, allocations: 1.976 MB / 1.48 GB, free: 100.1 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001511/3.055, allocations: 84.94 kB / 1.48 GB, free: 100.1 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001263/3.055, allocations: 34.94 kB / 1.48 GB, free: 100.1 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 34 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,from_dp.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (71): * Single equations (assignments): 68 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {5 7} Notification: Performance of prepare postOptimizeDAE: time 0.0003866/3.055, allocations: 129.8 kB / 1.48 GB, free: 99.93 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000506/3.056, allocations: 120.3 kB / 1.481 GB, free: 99.87 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005404/3.061, allocations: 1.075 MB / 1.482 GB, free: 99.58 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.247e-05/3.061, allocations: 4.719 kB / 1.482 GB, free: 99.58 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.571e-06/3.061, allocations: 0 / 1.482 GB, free: 99.58 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00419/3.065, allocations: 1.049 MB / 1.483 GB, free: 99.05 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00296/3.068, allocations: 0.8227 MB / 1.483 GB, free: 98.66 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.564e-06/3.068, allocations: 0 / 1.483 GB, free: 98.66 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000538/3.069, allocations: 84.44 kB / 1.484 GB, free: 98.65 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000498/3.069, allocations: 191.4 kB / 1.484 GB, free: 98.61 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.888e-05/3.07, allocations: 15.7 kB / 1.484 GB, free: 98.6 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01083/3.08, allocations: 3.169 MB / 1.487 GB, free: 96.87 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.586e-06/3.08, allocations: 7.297 kB / 1.487 GB, free: 96.86 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00711/3.088, allocations: 1.277 MB / 1.488 GB, free: 96.42 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001833/3.089, allocations: 270.4 kB / 1.488 GB, free: 96.22 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000878/3.09, allocations: 9.156 kB / 1.488 GB, free: 96.21 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001712/3.092, allocations: 63.78 kB / 1.488 GB, free: 96.21 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001923/3.092, allocations: 38.3 kB / 1.488 GB, free: 96.21 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001117/3.092, allocations: 23.39 kB / 1.488 GB, free: 96.2 MB / 0.6355 GB Notification: Performance of sort global known variables: time 0.001836/3.094, allocations: 0.7784 MB / 1.489 GB, free: 95.88 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.004348/3.099, allocations: 0.7036 MB / 1.49 GB, free: 95.73 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (pump_dp.vol.dynBal.U) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {5 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.00191/3.101, allocations: 0.7614 MB / 1.491 GB, free: 95.51 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.004348/3.105, allocations: 1.28 MB / 1.492 GB, free: 95.01 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 4.839e-06/3.105, allocations: 0.875 kB / 1.492 GB, free: 95.01 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.002224/3.107, allocations: 0.4953 MB / 1.492 GB, free: 94.8 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002584/3.11, allocations: 491.5 kB / 1.493 GB, free: 94.61 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003788/3.114, allocations: 1.736 MB / 1.495 GB, free: 93.05 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001386/3.115, allocations: 1.4 MB / 1.496 GB, free: 91.85 MB / 0.6355 GB Notification: Performance of SimCode: time 1.723e-06/3.115, allocations: 0 / 1.496 GB, free: 91.85 MB / 0.6355 GB Notification: Performance of Templates: time 0.0531/3.168, allocations: 30.92 MB / 1.526 GB, free: 62.46 MB / 0.6355 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.Example2.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.Example2.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.Example2.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.Example2.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.Example2.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.Example2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.Example2.pipe 2>&1)