Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.Example3.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.Example3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.Example3") translateModel(BuildSysPro.IBPSA.Fluid.Examples.Performance.Example3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.Example3") [: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.7113/0.7113, allocations: 127.4 MB / 134.6 MB, free: 8.16 MB / 110.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001507/0.001507, allocations: 181.2 kB / 164.4 MB, free: 11.46 MB / 142.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.737/1.737, allocations: 205.1 MB / 399.1 MB, free: 9.391 MB / 302.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009831/0.0009834, allocations: 82.09 kB / 476.3 MB, free: 12.15 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 7.744e-06/7.775e-06, allocations: 0 / 0.546 GB, free: 64.74 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1865/0.1865, allocations: 76.75 MB / 0.6209 GB, free: 3.914 MB / 414.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.132/1.318, allocations: 371.5 MB / 0.9837 GB, free: 178.4 MB / 0.6387 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002882/1.318, allocations: 91.95 kB / 0.9838 GB, free: 178.3 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.644/3.962, allocations: 0.6932 GB / 1.677 GB, free: 139.7 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 0.0004808/3.963, allocations: 56.61 kB / 1.677 GB, free: 139.7 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 235 * Number of variables: 235 Notification: Performance of Generate backend data structure: time 0.006849/3.97, allocations: 1.825 MB / 1.679 GB, free: 139 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.686e-05/3.97, allocations: 14.06 kB / 1.679 GB, free: 139 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002674/3.973, allocations: 341.4 kB / 1.679 GB, free: 138.8 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009297/3.982, allocations: 2.685 MB / 1.682 GB, free: 138.5 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.071e-05/3.982, allocations: 30 kB / 1.682 GB, free: 138.5 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003826/3.982, allocations: 71.09 kB / 1.682 GB, free: 138.5 MB / 0.6544 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001797/3.984, allocations: 0.8553 MB / 1.683 GB, free: 138.5 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001649/3.986, allocations: 1.077 MB / 1.684 GB, free: 138.2 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.51e-05/3.986, allocations: 6.75 kB / 1.684 GB, free: 138.2 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.49e-05/3.986, allocations: 1.75 kB / 1.684 GB, free: 138.2 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.52e-05/3.986, allocations: 23.44 kB / 1.684 GB, free: 138.2 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008342/3.994, allocations: 6.769 MB / 1.69 GB, free: 134.1 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009519/3.995, allocations: 0.5441 MB / 1.691 GB, free: 134 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005006/3.996, allocations: 354.3 kB / 1.691 GB, free: 134 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002714/3.999, allocations: 1.395 MB / 1.693 GB, free: 133.3 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004391/3.999, allocations: 310 kB / 1.693 GB, free: 133.3 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=43): time 6.131e-06/3.999, allocations: 0 / 1.693 GB, free: 133.3 MB / 0.6544 GB Notification: Performance of matching and sorting (n=43): time 0.00572/4.005, allocations: 1.157 MB / 1.694 GB, free: 133.2 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.639e-05/4.005, allocations: 62.66 kB / 1.694 GB, free: 133.1 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002208/4.007, allocations: 1.38 MB / 1.695 GB, free: 132.9 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 8.967e-05/4.007, allocations: 31.8 kB / 1.695 GB, free: 132.9 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005731/4.008, allocations: 0.5523 MB / 1.696 GB, free: 132.6 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001876/4.008, allocations: 147.1 kB / 1.696 GB, free: 132.5 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.542e-05/4.008, allocations: 0 / 1.696 GB, free: 132.5 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001059/4.008, allocations: 341 kB / 1.696 GB, free: 132.2 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004597/4.009, allocations: 297.1 kB / 1.697 GB, free: 132.2 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007625/4.009, allocations: 0.7166 MB / 1.697 GB, free: 131.7 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00118/4.011, allocations: 454 kB / 1.698 GB, free: 131.6 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.203e-06/4.011, allocations: 3.5 kB / 1.698 GB, free: 131.6 MB / 0.6544 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.005202/4.016, allocations: 1.401 MB / 1.699 GB, free: 131.5 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 0.001243/4.017, allocations: 4.163 MB / 1.703 GB, free: 127.1 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.508e-05/4.017, allocations: 11.31 kB / 1.703 GB, free: 127.1 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005642/4.018, allocations: 217.1 kB / 1.704 GB, free: 127.1 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007442/4.018, allocations: 173.3 kB / 1.704 GB, free: 127.1 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001483/4.02, allocations: 0.9872 MB / 1.705 GB, free: 126.6 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002113/4.022, allocations: 133.1 kB / 1.705 GB, free: 126.6 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000133/4.022, allocations: 52.78 kB / 1.705 GB, free: 126.6 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.611e-05/4.022, allocations: 3.844 kB / 1.705 GB, free: 126.6 MB / 0.6544 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002144/4.024, allocations: 0.9308 MB / 1.706 GB, free: 126.4 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.388e-05/4.024, allocations: 13.69 kB / 1.706 GB, free: 126.4 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002052/4.025, allocations: 112.4 kB / 1.706 GB, free: 126.4 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005991/4.025, allocations: 172.8 kB / 1.706 GB, free: 126.4 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002067/4.027, allocations: 1.993 MB / 1.708 GB, free: 125.2 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00136/4.029, allocations: 101.6 kB / 1.708 GB, free: 125.1 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.246e-05/4.029, allocations: 48.33 kB / 1.708 GB, free: 125.1 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,from_dp.y,mergeDp.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (83): * Single equations (assignments): 80 * 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 {1 12} Notification: Performance of prepare postOptimizeDAE: time 0.0002728/4.029, allocations: 138.4 kB / 1.708 GB, free: 125 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002967/4.029, allocations: 166.5 kB / 1.708 GB, free: 124.9 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004682/4.034, allocations: 1.176 MB / 1.71 GB, free: 124.9 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.105e-05/4.034, allocations: 10.72 kB / 1.71 GB, free: 124.8 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.134e-06/4.034, allocations: 5.75 kB / 1.71 GB, free: 124.8 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003764/4.038, allocations: 1.121 MB / 1.711 GB, free: 124.5 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002135/4.04, allocations: 1.02 MB / 1.712 GB, free: 124.3 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.218e-06/4.04, allocations: 0 / 1.712 GB, free: 124.3 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004904/4.041, allocations: 88.11 kB / 1.712 GB, free: 124.3 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003854/4.041, allocations: 191.2 kB / 1.712 GB, free: 124.3 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.223e-05/4.041, allocations: 13.75 kB / 1.712 GB, free: 124.3 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007509/4.049, allocations: 3.069 MB / 1.715 GB, free: 123 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.721e-06/4.049, allocations: 3.25 kB / 1.715 GB, free: 123 MB / 0.6544 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004975/4.054, allocations: 1.447 MB / 1.716 GB, free: 122.8 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009282/4.054, allocations: 307.2 kB / 1.717 GB, free: 122.6 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002142/4.055, allocations: 0 / 1.717 GB, free: 122.6 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009497/4.056, allocations: 84.31 kB / 1.717 GB, free: 122.6 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001419/4.056, allocations: 37.88 kB / 1.717 GB, free: 122.6 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.892e-05/4.056, allocations: 29.36 kB / 1.717 GB, free: 122.6 MB / 0.6544 GB Notification: Performance of sort global known variables: time 0.001682/4.058, allocations: 1.066 MB / 1.718 GB, free: 122.5 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.003779/4.061, allocations: 0.8662 MB / 1.719 GB, free: 122.4 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (pump.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 {1 12} Notification: Performance of Backend phase and start with SimCode phase: time 0.001744/4.063, allocations: 0.7736 MB / 1.719 GB, free: 122.2 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.002908/4.066, allocations: 1.362 MB / 1.721 GB, free: 122 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 4.187e-06/4.066, allocations: 0 / 1.721 GB, free: 122 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0009184/4.067, allocations: 462 kB / 1.721 GB, free: 121.9 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002616/4.07, allocations: 0.5872 MB / 1.722 GB, free: 121.9 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004805/4.074, allocations: 2.292 MB / 1.724 GB, free: 121.4 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001274/4.076, allocations: 1.66 MB / 1.726 GB, free: 120.7 MB / 0.6544 GB Notification: Performance of SimCode: time 2.204e-06/4.076, allocations: 0 / 1.726 GB, free: 120.7 MB / 0.6544 GB Notification: Performance of Templates: time 0.06857/4.144, allocations: 37.05 MB / 1.762 GB, free: 118.7 MB / 0.6544 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.Example3.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.Example3.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.Example3.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.Example3.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.Example3.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.Example3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.Example3.pipe 2>&1)