Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(IBPSA.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly") translateModel(IBPSA.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly") [: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/Complex 4.0.0+maint.om/package.mo): time 0.001023/0.001023, allocations: 192.2 kB / 7.807 MB, free: 2.488 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4705/0.4705, allocations: 90.85 MB / 99.07 MB, free: 14.97 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.275/1.275, allocations: 221.4 MB / 342.8 MB, free: 5.215 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000905/0.0009047, allocations: 99.83 kB / 415.5 MB, free: 6.457 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 6.662e-06/6.682e-06, allocations: 0 / 493.9 MB, free: 8.102 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3544/0.3544, allocations: 72.3 MB / 0.5529 GB, free: 73.42 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.631/3.985, allocations: 2.137 GB / 2.69 GB, free: 166.5 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002117/3.985, allocations: 101 kB / 2.69 GB, free: 166.4 MB / 0.6042 GB Notification: Performance of FrontEnd: time 3.885/7.871, allocations: 1.248 GB / 3.938 GB, free: 48.07 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 0.000373/7.871, allocations: 86.19 kB / 3.938 GB, free: 48.05 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: 481 * Number of variables: 481 Notification: Performance of Generate backend data structure: time 0.007464/7.878, allocations: 3.485 MB / 3.942 GB, free: 46.01 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.137e-05/7.879, allocations: 10.12 kB / 3.942 GB, free: 46.01 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002993/7.882, allocations: 0.5182 MB / 3.942 GB, free: 45.81 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007212/7.889, allocations: 3.334 MB / 3.946 GB, free: 45.18 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.443e-05/7.889, allocations: 63.06 kB / 3.946 GB, free: 45.18 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003832/7.889, allocations: 126.2 kB / 3.946 GB, free: 45.17 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002997/7.892, allocations: 1.758 MB / 3.947 GB, free: 45.16 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003134/7.895, allocations: 2.124 MB / 3.95 GB, free: 44.96 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.236e-05/7.896, allocations: 3.938 kB / 3.95 GB, free: 44.96 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001626/7.896, allocations: 5.219 kB / 3.95 GB, free: 44.96 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.208e-05/7.896, allocations: 69.3 kB / 3.95 GB, free: 44.95 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01515/7.911, allocations: 10.33 MB / 3.96 GB, free: 40.7 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001527/7.912, allocations: 1.02 MB / 3.961 GB, free: 40.29 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001089/7.914, allocations: 0.9164 MB / 3.962 GB, free: 39.93 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007851/7.914, allocations: 1.179 MB / 3.963 GB, free: 38.59 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.021e-05/7.914, allocations: 51.78 kB / 3.963 GB, free: 38.55 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=113): time 3.677e-06/7.914, allocations: 0 / 3.963 GB, free: 38.55 MB / 0.6355 GB Notification: Performance of matching and sorting (n=115): time 0.01056/7.925, allocations: 4.255 MB / 3.967 GB, free: 36.54 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.716e-05/7.925, allocations: 291 kB / 3.967 GB, free: 36.21 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005828/7.931, allocations: 2.58 MB / 3.97 GB, free: 35.14 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.0004251/7.931, allocations: 33.34 kB / 3.97 GB, free: 35.11 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.001019/7.932, allocations: 0.8456 MB / 3.971 GB, free: 34.54 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006662/7.933, allocations: 382.1 kB / 3.971 GB, free: 34.25 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001888/7.933, allocations: 9.562 kB / 3.971 GB, free: 34.24 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001409/7.934, allocations: 360.5 kB / 3.971 GB, free: 33.91 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001367/7.935, allocations: 0.9952 MB / 3.972 GB, free: 33.51 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001636/7.937, allocations: 1.392 MB / 3.974 GB, free: 32.66 MB / 0.6355 GB Notification: It was not possible to analyze the given system symbolically, because the relevant equations are part of an algebraic loop. This is not supported yet. Notification: Performance of analyzeInitialSystem (initialization): time 0.005289/7.942, allocations: 2.559 MB / 3.976 GB, free: 31.54 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.961e-06/7.942, allocations: 2.344 kB / 3.976 GB, free: 31.54 MB / 0.6355 GB Notification: Performance of matching and sorting (n=178) (initialization): time 0.004628/7.947, allocations: 2.579 MB / 3.979 GB, free: 30.52 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004955/7.947, allocations: 2.498 MB / 3.981 GB, free: 27.91 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.871e-05/7.947, allocations: 10.34 kB / 3.981 GB, free: 27.91 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.662e-05/7.947, allocations: 12.97 kB / 3.981 GB, free: 27.91 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001234/7.948, allocations: 259.7 kB / 3.981 GB, free: 27.89 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000367/7.949, allocations: 0.6222 MB / 3.982 GB, free: 27.29 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002549/7.951, allocations: 158.5 kB / 3.982 GB, free: 27.27 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002372/7.952, allocations: 73.77 kB / 3.982 GB, free: 27.25 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 9.248e-06/7.952, allocations: 3.562 kB / 3.982 GB, free: 27.25 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003478/7.955, allocations: 2.271 MB / 3.984 GB, free: 26.41 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.667e-05/7.955, allocations: 6.938 kB / 3.984 GB, free: 26.41 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.194e-05/7.955, allocations: 11.06 kB / 3.984 GB, free: 26.41 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00105/7.956, allocations: 254.8 kB / 3.985 GB, free: 26.39 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.114e-05/7.956, allocations: 15.12 kB / 3.985 GB, free: 26.38 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002622/7.959, allocations: 147.2 kB / 3.985 GB, free: 26.37 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002162/7.959, allocations: 72.66 kB / 3.985 GB, free: 26.36 MB / 0.6355 GB Warning: Assuming redundant initial conditions for the following 1 initial equations: vol.dynBal.medium.p = vol.dynBal.p_start Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 26 * Number of states: 0 () * Number of discrete variables: 7 (beaCooHea.conCoo.mod.temDif_mod.i,beaCooHea.conCoo.mod.watFlo_mod.i,beaCooHea.conCoo.mod.airFlo_mod.i,beaCooHea.conHea.mod.temDif_mod.i,beaCooHea.conHea.mod.watFlo_mod.i,beaCooHea.conHea.mod.airFlo_mod.i,conPID.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (150): * Single equations (assignments): 137 * Array equations: 0 * Algorithm blocks: 12 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * 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: Performance of prepare postOptimizeDAE: time 0.0005617/7.96, allocations: 327.4 kB / 3.985 GB, free: 26.04 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008554/7.96, allocations: 280.2 kB / 3.986 GB, free: 25.89 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00426/7.965, allocations: 2.057 MB / 3.988 GB, free: 25.1 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.789e-05/7.965, allocations: 19.19 kB / 3.988 GB, free: 25.09 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.37e-05/7.965, allocations: 0 / 3.988 GB, free: 25.09 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002622/7.967, allocations: 1.88 MB / 3.989 GB, free: 23.73 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01084/7.978, allocations: 5.087 MB / 3.994 GB, free: 19.54 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.636e-05/7.978, allocations: 6.938 kB / 3.994 GB, free: 19.53 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001162/7.98, allocations: 225.5 kB / 3.995 GB, free: 19.34 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.448e-05/7.98, allocations: 13.03 kB / 3.995 GB, free: 19.33 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001214/7.98, allocations: 23.7 kB / 3.995 GB, free: 19.31 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002654/7.98, allocations: 0.6184 MB / 3.995 GB, free: 18.68 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.086e-05/7.98, allocations: 11.94 kB / 3.995 GB, free: 18.67 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005138/7.985, allocations: 3.996 MB / 3.999 GB, free: 14.68 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002289/7.988, allocations: 0.6564 MB / 4 GB, free: 14.08 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00111/7.989, allocations: 19.66 kB / 4 GB, free: 14.06 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002396/7.991, allocations: 130.6 kB / 4 GB, free: 13.98 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003282/7.991, allocations: 132.9 kB / 4 GB, free: 13.88 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001774/7.992, allocations: 58.17 kB / 4 GB, free: 13.84 MB / 0.6355 GB Notification: Performance of sort global known variables: time 0.00451/7.996, allocations: 1.961 MB / 4.002 GB, free: 12.07 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.006227/8.002, allocations: 1.331 MB / 4.003 GB, free: 10.76 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 24 * Number of states: 5 (conPID.I.y,vol.dynBal.medium.Xi[1],vol.dynBal.U,beaCooHea.conCoo.hex.vol.dynBal.U,beaCooHea.conHea.hex.vol.dynBal.U) * Number of discrete variables: 6 (beaCooHea.conCoo.mod.temDif_mod.i,beaCooHea.conCoo.mod.watFlo_mod.i,beaCooHea.conCoo.mod.airFlo_mod.i,beaCooHea.conHea.mod.temDif_mod.i,beaCooHea.conHea.mod.watFlo_mod.i,beaCooHea.conHea.mod.airFlo_mod.i) * Number of discrete states: 6 (beaCooHea.conHea.mod.airFlo_mod.i,beaCooHea.conCoo.mod.airFlo_mod.i,beaCooHea.conCoo.mod.watFlo_mod.i,beaCooHea.conCoo.mod.temDif_mod.i,beaCooHea.conHea.mod.watFlo_mod.i,beaCooHea.conHea.mod.temDif_mod.i) * Top-level inputs: 0 Notification: Strong component statistics for simulation (113): * Single equations (assignments): 102 * Array equations: 0 * Algorithm blocks: 6 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * 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: Performance of Backend phase and start with SimCode phase: time 0.004487/8.007, allocations: 2.944 MB / 4.006 GB, free: 8.379 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.005414/8.012, allocations: 4.065 MB / 4.01 GB, free: 4.391 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.304e-05/8.012, allocations: 4.75 kB / 4.01 GB, free: 4.387 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.00209/8.014, allocations: 1.68 MB / 4.012 GB, free: 2.793 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006707/8.021, allocations: 1.3 MB / 4.013 GB, free: 1.805 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01343/8.035, allocations: 4.866 MB / 4.018 GB, free: 13.29 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00437/8.039, allocations: 2.275 MB / 4.02 GB, free: 11.23 MB / 0.6511 GB Notification: Performance of SimCode: time 1.373e-06/8.039, allocations: 4 kB / 4.02 GB, free: 11.23 MB / 0.6511 GB Notification: Performance of Templates: time 0.4016/8.441, allocations: 73.43 MB / 4.092 GB, free: 118.9 MB / 0.6667 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly.makefile (rm -f IBPSA_latest_IBPSA.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly.sim & ./IBPSA_latest_IBPSA.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly.pipe 2>&1)