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.001883/0.001883, allocations: 182.5 kB / 15.76 MB, free: 6.363 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5185/0.5185, allocations: 92 MB / 108.5 MB, free: 13.07 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.488/1.488, allocations: 223.2 MB / 354.3 MB, free: 10.39 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.0009428/0.0009428, allocations: 108.1 kB / 427.4 MB, free: 2.094 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003375/0.0003374, allocations: 15.94 kB / 0.4983 GB, free: 42.02 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1313/0.1317, allocations: 72.31 MB / 0.5689 GB, free: 1.645 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.368/5.5, allocations: 2.138 GB / 2.707 GB, free: 211.4 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002642/5.5, allocations: 102.2 kB / 2.707 GB, free: 211.4 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.97/10.47, allocations: 1.254 GB / 3.961 GB, free: 46.81 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.863e-06/10.47, allocations: 2.562 kB / 3.961 GB, free: 46.81 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0006631/10.47, allocations: 84.5 kB / 3.961 GB, free: 46.8 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.01447/10.49, allocations: 4.312 MB / 3.965 GB, free: 44.53 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.29e-05/10.49, allocations: 12.11 kB / 3.965 GB, free: 44.53 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003649/10.49, allocations: 0.5336 MB / 3.966 GB, free: 44.32 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0117/10.5, allocations: 3.437 MB / 3.969 GB, free: 43.71 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000274/10.5, allocations: 164.4 kB / 3.969 GB, free: 43.71 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001217/10.5, allocations: 215.7 kB / 3.97 GB, free: 43.71 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009131/10.51, allocations: 2.585 MB / 3.972 GB, free: 43.44 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001165/10.51, allocations: 6.281 kB / 3.972 GB, free: 43.44 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006549/10.51, allocations: 88.69 kB / 3.972 GB, free: 43.44 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000117/10.51, allocations: 71.23 kB / 3.972 GB, free: 43.43 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004999/10.52, allocations: 2.026 MB / 3.974 GB, free: 43.42 MB / 0.6511 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.01927/10.54, allocations: 10.5 MB / 3.984 GB, free: 40.02 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002298/10.54, allocations: 1.534 MB / 3.986 GB, free: 39.98 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008925/10.54, allocations: 1.179 MB / 3.987 GB, free: 38.67 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.215e-05/10.54, allocations: 47.69 kB / 3.987 GB, free: 38.63 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=126): time 4.458e-06/10.54, allocations: 1.562 kB / 3.987 GB, free: 38.63 MB / 0.6511 GB Notification: Performance of matching and sorting (n=134): time 0.01244/10.55, allocations: 6.798 MB / 3.994 GB, free: 36.53 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001404/10.55, allocations: 342.9 kB / 3.994 GB, free: 36.16 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006956/10.56, allocations: 3.087 MB / 3.997 GB, free: 35.93 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0002653/10.56, allocations: 60.7 kB / 3.997 GB, free: 35.89 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.001492/10.56, allocations: 1.471 MB / 3.999 GB, free: 35.52 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004229/10.56, allocations: 453.2 kB / 3.999 GB, free: 35.24 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.037e-05/10.56, allocations: 31.5 kB / 3.999 GB, free: 35.24 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001157/10.56, allocations: 368.5 kB / 3.999 GB, free: 34.93 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001402/10.56, allocations: 1.08 MB / 4 GB, free: 34.93 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001689/10.57, allocations: 1.513 MB / 4.002 GB, free: 34.52 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.006798/10.57, allocations: 4.28 MB / 4.006 GB, free: 33.63 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.043e-06/10.57, allocations: 0.5312 kB / 4.006 GB, free: 33.63 MB / 0.6511 GB Notification: Performance of matching and sorting (n=197) (initialization): time 0.005324/10.58, allocations: 3.337 MB / 4.009 GB, free: 33 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008797/10.58, allocations: 2.941 MB / 4.012 GB, free: 29.94 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.528e-05/10.58, allocations: 9.672 kB / 4.012 GB, free: 29.94 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004728/10.58, allocations: 153.5 kB / 4.012 GB, free: 29.92 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001043/10.58, allocations: 261.2 kB / 4.013 GB, free: 29.92 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009944/10.58, allocations: 1.296 MB / 4.014 GB, free: 28.88 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003629/10.58, allocations: 203.5 kB / 4.014 GB, free: 28.87 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002275/10.59, allocations: 82.64 kB / 4.014 GB, free: 28.87 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.312e-05/10.59, allocations: 5.344 kB / 4.014 GB, free: 28.87 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004454/10.59, allocations: 3.415 MB / 4.018 GB, free: 28.44 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.618e-06/10.59, allocations: 7.062 kB / 4.018 GB, free: 28.44 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003684/10.59, allocations: 149.1 kB / 4.018 GB, free: 28.43 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009474/10.59, allocations: 257.4 kB / 4.018 GB, free: 28.43 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006971/10.59, allocations: 1.298 MB / 4.019 GB, free: 27.39 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002974/10.59, allocations: 195.6 kB / 4.019 GB, free: 27.38 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001948/10.59, allocations: 82.11 kB / 4.019 GB, free: 27.38 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 () * 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.002703/10.6, allocations: 1.115 MB / 4.021 GB, free: 27 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001234/10.6, allocations: 334.4 kB / 4.021 GB, free: 26.82 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004701/10.6, allocations: 2.547 MB / 4.023 GB, free: 26.52 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.433e-05/10.6, allocations: 14.91 kB / 4.023 GB, free: 26.52 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.069e-05/10.6, allocations: 0 / 4.023 GB, free: 26.52 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002893/10.61, allocations: 2.298 MB / 4.026 GB, free: 26.05 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01133/10.62, allocations: 5.99 MB / 4.031 GB, free: 25.29 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.144e-05/10.62, allocations: 3.875 kB / 4.031 GB, free: 25.29 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001105/10.62, allocations: 264.1 kB / 4.032 GB, free: 25.29 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.112e-05/10.62, allocations: 13.72 kB / 4.032 GB, free: 25.29 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001303/10.62, allocations: 45.75 kB / 4.032 GB, free: 25.29 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.259e-05/10.62, allocations: 6.844 kB / 4.032 GB, free: 25.29 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.981e-06/10.62, allocations: 11.97 kB / 4.032 GB, free: 25.29 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005323/10.62, allocations: 4.684 MB / 4.036 GB, free: 23.85 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001983/10.63, allocations: 0.7074 MB / 4.037 GB, free: 23.59 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008807/10.63, allocations: 48.42 kB / 4.037 GB, free: 23.58 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002252/10.63, allocations: 168.2 kB / 4.037 GB, free: 23.57 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003115/10.63, allocations: 162.7 kB / 4.037 GB, free: 23.56 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001513/10.63, allocations: 62.09 kB / 4.037 GB, free: 23.56 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.004623/10.63, allocations: 2.399 MB / 4.04 GB, free: 22.68 MB / 0.6511 GB Notification: Performance of sort global known variables: time 2.5e-07/10.63, allocations: 0 / 4.04 GB, free: 22.68 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.007646/10.64, allocations: 1.509 MB / 4.041 GB, free: 22.41 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.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.005454/10.65, allocations: 2.871 MB / 4.044 GB, free: 21.38 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.006472/10.65, allocations: 5.607 MB / 4.05 GB, free: 18.28 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 9.328e-06/10.65, allocations: 3.438 kB / 4.05 GB, free: 18.28 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.002042/10.66, allocations: 1.91 MB / 4.051 GB, free: 17.25 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007296/10.66, allocations: 1.595 MB / 4.053 GB, free: 16.92 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01293/10.68, allocations: 7.385 MB / 4.06 GB, free: 12.87 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002724/10.68, allocations: 2.145 MB / 4.062 GB, free: 11.92 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.003488/10.68, allocations: 0.6498 MB / 4.063 GB, free: 11.84 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007946/10.68, allocations: 208.7 kB / 4.063 GB, free: 11.82 MB / 0.6511 GB Notification: Performance of SimCode: time 1.904e-06/10.68, allocations: 0 / 4.063 GB, free: 11.82 MB / 0.6511 GB Notification: Performance of Templates: time 0.6236/11.31, allocations: 89.75 MB / 4.151 GB, free: 44.55 MB / 0.6667 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)