Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating.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.CoolingAndHeating,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating") translateModel(IBPSA.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001036/0.001036, allocations: 177.6 kB / 8.004 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4812/0.4812, allocations: 90.92 MB / 99.35 MB, free: 2.113 MB / 74.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.368/1.368, allocations: 221.5 MB / 343.2 MB, free: 1.602 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009196/0.0009196, allocations: 91.19 kB / 415.9 MB, free: 11.17 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.741e-05/1.732e-05, allocations: 4 kB / 494.5 MB, free: 52.39 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1654/0.1654, allocations: 72.32 MB / 0.5535 GB, free: 12.27 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.45/5.616, allocations: 2.137 GB / 2.691 GB, free: 172.5 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00029/5.616, allocations: 97.77 kB / 2.691 GB, free: 172.5 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.479/10.09, allocations: 1.242 GB / 3.933 GB, free: 46.15 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.332e-06/10.09, allocations: 0 / 3.933 GB, free: 46.15 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0005175/10.1, allocations: 88.06 kB / 3.933 GB, free: 46.14 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 516 * Number of variables: 516 Notification: Performance of Generate backend data structure: time 0.008269/10.1, allocations: 3.632 MB / 3.937 GB, free: 44.34 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 3.791e-05/10.1, allocations: 14.33 kB / 3.937 GB, free: 44.34 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002842/10.11, allocations: 0.5262 MB / 3.937 GB, free: 44.13 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008395/10.11, allocations: 3.407 MB / 3.941 GB, free: 43.52 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001657/10.12, allocations: 67.53 kB / 3.941 GB, free: 43.52 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008045/10.12, allocations: 134.7 kB / 3.941 GB, free: 43.52 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004274/10.12, allocations: 1.81 MB / 3.943 GB, free: 43.51 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004796/10.12, allocations: 2.233 MB / 3.945 GB, free: 43.25 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.071e-05/10.13, allocations: 8.562 kB / 3.945 GB, free: 43.25 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001995/10.13, allocations: 5.562 kB / 3.945 GB, free: 43.25 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.383e-05/10.13, allocations: 73.95 kB / 3.945 GB, free: 43.24 MB / 0.6511 GB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01306/10.14, allocations: 10.05 MB / 3.955 GB, free: 39.95 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001636/10.14, allocations: 1.389 MB / 3.956 GB, free: 39.92 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009643/10.14, allocations: 0.952 MB / 3.957 GB, free: 39.91 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007127/10.14, allocations: 1.176 MB / 3.958 GB, free: 38.59 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.936e-05/10.14, allocations: 63.17 kB / 3.958 GB, free: 38.55 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=126): time 3.546e-06/10.14, allocations: 0 / 3.958 GB, free: 38.55 MB / 0.6511 GB Notification: Performance of matching and sorting (n=134): time 0.007992/10.15, allocations: 4.649 MB / 3.963 GB, free: 37.6 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.771e-05/10.15, allocations: 339.1 kB / 3.963 GB, free: 37.22 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003351/10.15, allocations: 2.621 MB / 3.966 GB, free: 36.99 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.000197/10.15, allocations: 34.39 kB / 3.966 GB, free: 36.96 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008881/10.15, allocations: 1.492 MB / 3.967 GB, free: 36.52 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002797/10.15, allocations: 439.9 kB / 3.967 GB, free: 36.23 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.709e-05/10.15, allocations: 6.125 kB / 3.967 GB, free: 36.23 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 9.809e-05/10.15, allocations: 369.7 kB / 3.968 GB, free: 35.93 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001051/10.16, allocations: 1.009 MB / 3.969 GB, free: 35.92 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001204/10.16, allocations: 1.433 MB / 3.97 GB, free: 35.51 MB / 0.6511 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: vol.dynBal.medium.p = vol.dynBal.p_start (bou.p = vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.005685/10.16, allocations: 3.732 MB / 3.974 GB, free: 35 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.922e-06/10.16, allocations: 0 / 3.974 GB, free: 35 MB / 0.6511 GB Notification: Performance of matching and sorting (n=197) (initialization): time 0.005645/10.17, allocations: 2.795 MB / 3.977 GB, free: 34.76 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.001408/10.17, allocations: 2.883 MB / 3.979 GB, free: 31.71 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.447e-05/10.17, allocations: 9.906 kB / 3.979 GB, free: 31.71 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004623/10.17, allocations: 144 kB / 3.98 GB, free: 31.7 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0011/10.17, allocations: 265.6 kB / 3.98 GB, free: 31.7 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008955/10.17, allocations: 1.309 MB / 3.981 GB, free: 30.66 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002851/10.18, allocations: 175.2 kB / 3.981 GB, free: 30.64 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001869/10.18, allocations: 80.86 kB / 3.981 GB, free: 30.64 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.082e-05/10.18, allocations: 7.094 kB / 3.981 GB, free: 30.64 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003847/10.18, allocations: 2.711 MB / 3.984 GB, free: 30.58 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.232e-05/10.18, allocations: 4.469 kB / 3.984 GB, free: 30.58 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003139/10.18, allocations: 140.8 kB / 3.984 GB, free: 30.56 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009266/10.18, allocations: 260.8 kB / 3.984 GB, free: 30.56 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007312/10.18, allocations: 1.307 MB / 3.986 GB, free: 29.52 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002619/10.18, allocations: 173.6 kB / 3.986 GB, free: 29.51 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002401/10.18, allocations: 79.16 kB / 3.986 GB, free: 29.51 MB / 0.6511 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: 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: 8 (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,conCoo.I.trigger_internal,conHea.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (159): * Single equations (assignments): 145 * Array equations: 0 * Algorithm blocks: 12 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 5,1 5} Notification: Performance of prepare postOptimizeDAE: time 0.000593/10.18, allocations: 344.2 kB / 3.986 GB, free: 29.21 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008623/10.19, allocations: 305.1 kB / 3.986 GB, free: 29.05 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004566/10.19, allocations: 2.16 MB / 3.989 GB, free: 28.94 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.061e-05/10.19, allocations: 20.64 kB / 3.989 GB, free: 28.94 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.227e-06/10.19, allocations: 0 / 3.989 GB, free: 28.94 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002716/10.19, allocations: 1.958 MB / 3.991 GB, free: 28.66 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01019/10.2, allocations: 5.37 MB / 3.996 GB, free: 28.12 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.208e-05/10.2, allocations: 5.375 kB / 3.996 GB, free: 28.12 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001077/10.2, allocations: 256.9 kB / 3.996 GB, free: 28.12 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.367e-05/10.2, allocations: 12.44 kB / 3.996 GB, free: 28.12 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001153/10.2, allocations: 26.48 kB / 3.996 GB, free: 28.12 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.28e-05/10.2, allocations: 15.77 kB / 3.996 GB, free: 28.12 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.035e-06/10.2, allocations: 11 kB / 3.996 GB, free: 28.12 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004813/10.21, allocations: 4.158 MB / 4 GB, free: 26.95 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001727/10.21, allocations: 0.6774 MB / 4.001 GB, free: 26.7 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007989/10.21, allocations: 17.53 kB / 4.001 GB, free: 26.7 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002105/10.21, allocations: 146.6 kB / 4.001 GB, free: 26.69 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002652/10.21, allocations: 158 kB / 4.001 GB, free: 26.69 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001392/10.21, allocations: 60.98 kB / 4.001 GB, free: 26.69 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.003639/10.22, allocations: 1.981 MB / 4.003 GB, free: 26.54 MB / 0.6511 GB Notification: Performance of sort global known variables: time 2.7e-07/10.22, allocations: 2.156 kB / 4.003 GB, free: 26.54 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.00543/10.22, allocations: 1.382 MB / 4.004 GB, free: 26.48 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * Number of states: 6 (conHea.I.y,vol.dynBal.medium.Xi[1],vol.dynBal.U,conCoo.I.y,beaCooHea.watCoo_a.h_outflow,beaCooHea.watHea_a.h_outflow) * 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 (132): * Single equations (assignments): 122 * Array equations: 0 * Algorithm blocks: 6 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004262/10.23, allocations: 2.938 MB / 4.007 GB, free: 25.54 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.005259/10.23, allocations: 5.46 MB / 4.013 GB, free: 23.99 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 9.618e-06/10.23, allocations: 3.062 kB / 4.013 GB, free: 23.99 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.001856/10.24, allocations: 1.834 MB / 4.014 GB, free: 23.61 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007375/10.24, allocations: 1.387 MB / 4.016 GB, free: 23.59 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01153/10.25, allocations: 5.16 MB / 4.021 GB, free: 22.34 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002463/10.26, allocations: 2.154 MB / 4.023 GB, free: 21.59 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.004835/10.26, allocations: 0.9749 MB / 4.024 GB, free: 21.56 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004341/10.26, allocations: 144.5 kB / 4.024 GB, free: 21.56 MB / 0.6511 GB Notification: Performance of SimCode: time 7.31e-07/10.26, allocations: 3.344 kB / 4.024 GB, free: 21.56 MB / 0.6511 GB Notification: Performance of Templates: time 0.1044/10.37, allocations: 72.44 MB / 4.095 GB, free: 11.03 MB / 0.6511 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating.makefile (rm -f IBPSA_latest_IBPSA.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating.sim & ./IBPSA_latest_IBPSA.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating.pipe 2>&1)