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 3.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 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.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.0009794/0.0009794, allocations: 172.8 kB / 16.76 MB, free: 4.91 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 0.451/0.451, allocations: 86.28 MB / 103.8 MB, free: 14.35 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.272/1.272, allocations: 223.2 MB / 348.4 MB, free: 4.887 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.0008205/0.0008205, allocations: 92.27 kB / 420.2 MB, free: 9.648 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003489/0.0003489, allocations: 16 kB / 0.4901 GB, free: 7.996 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2879/0.2883, allocations: 71.02 MB / 0.5595 GB, free: 43.78 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.805/4.094, allocations: 2.136 GB / 2.696 GB, free: 151.4 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000298/4.094, allocations: 105 kB / 2.696 GB, free: 151.3 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.018/8.112, allocations: 1.235 GB / 3.931 GB, free: 49.45 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.164e-06/8.112, allocations: 3.406 kB / 3.931 GB, free: 49.45 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 0.0005114/8.112, allocations: 88.31 kB / 3.931 GB, free: 49.44 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: 516 * Number of variables: 516 Notification: Performance of Generate backend data structure: time 0.01072/8.123, allocations: 4.272 MB / 3.935 GB, free: 46.97 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.605e-05/8.123, allocations: 13.78 kB / 3.935 GB, free: 46.97 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003059/8.126, allocations: 0.5351 MB / 3.936 GB, free: 46.75 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008998/8.135, allocations: 3.491 MB / 3.939 GB, free: 45.95 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001667/8.135, allocations: 165.9 kB / 3.94 GB, free: 45.95 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006906/8.136, allocations: 223.5 kB / 3.94 GB, free: 45.94 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004981/8.141, allocations: 2.602 MB / 3.942 GB, free: 45.66 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.524e-05/8.141, allocations: 6.781 kB / 3.942 GB, free: 45.65 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002464/8.141, allocations: 90.41 kB / 3.942 GB, free: 45.61 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.845e-05/8.141, allocations: 82.27 kB / 3.942 GB, free: 45.6 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003114/8.145, allocations: 2.018 MB / 3.944 GB, free: 44.81 MB / 0.6355 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.01259/8.157, allocations: 10.45 MB / 3.955 GB, free: 38.25 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002032/8.159, allocations: 1.553 MB / 3.956 GB, free: 37.61 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001214/8.16, allocations: 1.027 MB / 3.957 GB, free: 37.22 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007572/8.161, allocations: 1.181 MB / 3.958 GB, free: 35.88 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.777e-05/8.161, allocations: 47.38 kB / 3.958 GB, free: 35.84 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=126): time 3.327e-06/8.161, allocations: 0 / 3.958 GB, free: 35.84 MB / 0.6355 GB Notification: Performance of matching and sorting (n=134): time 0.008707/8.17, allocations: 6.312 MB / 3.965 GB, free: 32.51 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.025e-05/8.17, allocations: 350.1 kB / 3.965 GB, free: 32.12 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004045/8.174, allocations: 3.401 MB / 3.968 GB, free: 30.82 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.000191/8.174, allocations: 61.08 kB / 3.968 GB, free: 30.77 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009441/8.175, allocations: 1.471 MB / 3.97 GB, free: 29.63 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002925/8.176, allocations: 460.1 kB / 3.97 GB, free: 29.28 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.92e-05/8.176, allocations: 30.75 kB / 3.97 GB, free: 29.26 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 9.389e-05/8.176, allocations: 369.3 kB / 3.971 GB, free: 28.93 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001267/8.177, allocations: 1.078 MB / 3.972 GB, free: 28.5 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001461/8.178, allocations: 1.531 MB / 3.973 GB, free: 27.6 MB / 0.6355 GB Notification: It was not possible to check the given initialization system for consistency symbolically, because the relevant equations are part of an algebraic loop. This is not supported yet. Notification: Performance of analyzeInitialSystem (initialization): time 0.007358/8.186, allocations: 5.822 MB / 3.979 GB, free: 22.91 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.208e-06/8.186, allocations: 0 / 3.979 GB, free: 22.91 MB / 0.6355 GB Notification: Performance of matching and sorting (n=197) (initialization): time 0.003989/8.19, allocations: 3.339 MB / 3.982 GB, free: 19.72 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002236/8.19, allocations: 0.6447 MB / 3.983 GB, free: 18.94 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.271e-05/8.19, allocations: 7.891 kB / 3.983 GB, free: 18.94 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003913/8.191, allocations: 142.5 kB / 3.983 GB, free: 18.81 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009091/8.191, allocations: 264.3 kB / 3.983 GB, free: 18.58 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006617/8.192, allocations: 1.299 MB / 3.984 GB, free: 17.27 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002302/8.194, allocations: 195.3 kB / 3.984 GB, free: 17.12 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001604/8.195, allocations: 81.98 kB / 3.985 GB, free: 17.05 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 7.644e-06/8.195, allocations: 4 kB / 3.985 GB, free: 17.04 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003547/8.198, allocations: 3.423 MB / 3.988 GB, free: 13.82 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.245e-06/8.198, allocations: 8 kB / 3.988 GB, free: 13.82 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003326/8.199, allocations: 147.5 kB / 3.988 GB, free: 13.68 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008745/8.199, allocations: 267.1 kB / 3.988 GB, free: 13.46 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006086/8.2, allocations: 1.291 MB / 3.99 GB, free: 12.15 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002307/8.202, allocations: 195.6 kB / 3.99 GB, free: 12 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001471/8.203, allocations: 83.64 kB / 3.99 GB, free: 11.92 MB / 0.6355 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 () * Number of clocked 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.001841/8.204, allocations: 1.11 MB / 3.991 GB, free: 10.83 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004911/8.205, allocations: 324 kB / 3.991 GB, free: 10.51 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003105/8.208, allocations: 2.549 MB / 3.994 GB, free: 8.203 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.411e-05/8.208, allocations: 16 kB / 3.994 GB, free: 8.188 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.412e-06/8.208, allocations: 3.938 kB / 3.994 GB, free: 8.184 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002292/8.21, allocations: 2.304 MB / 3.996 GB, free: 5.977 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007365/8.218, allocations: 5.974 MB / 4.002 GB, free: 172 kB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.426e-06/8.218, allocations: 4 kB / 4.002 GB, free: 168 kB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001061/8.219, allocations: 259.7 kB / 4.002 GB, free: 15.91 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.402e-05/8.219, allocations: 8 kB / 4.002 GB, free: 15.9 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001017/8.219, allocations: 47.94 kB / 4.002 GB, free: 15.86 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.411e-05/8.219, allocations: 12.2 kB / 4.002 GB, free: 15.84 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.434e-06/8.219, allocations: 15.94 kB / 4.002 GB, free: 15.83 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005461/8.224, allocations: 4.105 MB / 4.006 GB, free: 11.6 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001616/8.226, allocations: 0.6999 MB / 4.007 GB, free: 10.88 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004229/8.227, allocations: 47.98 kB / 4.007 GB, free: 10.83 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001522/8.228, allocations: 163.7 kB / 4.007 GB, free: 10.67 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003193/8.228, allocations: 163.2 kB / 4.007 GB, free: 10.51 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001229/8.228, allocations: 55.98 kB / 4.007 GB, free: 10.46 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.004118/8.233, allocations: 2.358 MB / 4.01 GB, free: 8.113 MB / 0.6511 GB Notification: Performance of sort global known variables: time 2.2e-07/8.233, allocations: 0 / 4.01 GB, free: 8.113 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.006314/8.239, allocations: 1.476 MB / 4.011 GB, free: 6.637 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.U,vol.dynBal.mXi[1],conCoo.I.y,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) * Number of clocked states: 0 () * 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.005073/8.244, allocations: 2.827 MB / 4.014 GB, free: 3.855 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.3471/8.591, allocations: 5.609 MB / 4.019 GB, free: 66.39 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.11e-05/8.591, allocations: 0 / 4.019 GB, free: 66.39 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.002394/8.594, allocations: 1.911 MB / 4.021 GB, free: 66.02 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01006/8.604, allocations: 1.641 MB / 4.023 GB, free: 66 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00972/8.613, allocations: 7.378 MB / 4.03 GB, free: 63.17 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001481/8.615, allocations: 2.083 MB / 4.032 GB, free: 62.43 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.002855/8.618, allocations: 0.6434 MB / 4.033 GB, free: 62.4 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004956/8.618, allocations: 214 kB / 4.033 GB, free: 62.4 MB / 0.6511 GB Notification: Performance of SimCode: time 7.11e-07/8.618, allocations: 0 / 4.033 GB, free: 62.4 MB / 0.6511 GB Notification: Performance of Templates: time 0.1206/8.739, allocations: 91.09 MB / 4.122 GB, free: 56.87 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)