Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) Running command: translateModel(Annex60.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating") translateModel(Annex60.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.2747/0.2747, allocations: 54.33 MB / 66.89 MB, free: 6.109 MB / 58.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.0009857/0.0009856, allocations: 182.1 kB / 80.71 MB, free: 15.4 MB / 74.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.443/1.443, allocations: 194.2 MB / 288.6 MB, free: 15.05 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001305/0.001305, allocations: 115.9 kB / 346.9 MB, free: 4.781 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.131e-05/3.134e-05, allocations: 4 kB / 412.4 MB, free: 21.47 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1159/0.116, allocations: 57.64 MB / 470 MB, free: 11.77 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.944/6.061, allocations: 2.395 GB / 2.854 GB, free: 154.6 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000255/6.061, allocations: 99.81 kB / 2.854 GB, free: 154.5 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 4.005/10.07, allocations: 1.093 GB / 3.948 GB, free: 37.81 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.575e-06/10.07, allocations: 0 / 3.948 GB, free: 37.81 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 0.0005098/10.07, allocations: 85.88 kB / 3.948 GB, free: 37.79 MB / 0.5417 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 571 * Number of variables: 571 Notification: Performance of Generate backend data structure: time 0.01199/10.08, allocations: 3.726 MB / 3.952 GB, free: 35.54 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 5.19e-05/10.08, allocations: 10.59 kB / 3.952 GB, free: 35.54 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003408/10.08, allocations: 0.5429 MB / 3.952 GB, free: 35.31 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01782/10.1, allocations: 7.618 MB / 3.959 GB, free: 32.16 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002003/10.1, allocations: 177.4 kB / 3.96 GB, free: 32.08 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006539/10.1, allocations: 231.9 kB / 3.96 GB, free: 32.01 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005807/10.11, allocations: 2.917 MB / 3.963 GB, free: 30.52 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.767e-05/10.11, allocations: 7.078 kB / 3.963 GB, free: 30.52 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002878/10.11, allocations: 103.5 kB / 3.963 GB, free: 30.44 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.387e-05/10.11, allocations: 82.36 kB / 3.963 GB, free: 30.43 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004084/10.11, allocations: 2.161 MB / 3.965 GB, free: 29.57 MB / 0.5417 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.01923/10.13, allocations: 12.47 MB / 3.977 GB, free: 21 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002445/10.13, allocations: 1.378 MB / 3.979 GB, free: 20.42 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001208/10.13, allocations: 0.9333 MB / 3.979 GB, free: 20.05 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003879/10.13, allocations: 354.5 kB / 3.98 GB, free: 19.66 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.193e-05/10.13, allocations: 54.69 kB / 3.98 GB, free: 19.61 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=119): time 3.937e-06/10.13, allocations: 0 / 3.98 GB, free: 19.61 MB / 0.5417 GB Notification: Performance of matching and sorting (n=129): time 0.01143/10.15, allocations: 5.329 MB / 3.985 GB, free: 16.23 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001902/10.15, allocations: 473.9 kB / 3.986 GB, free: 15.67 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006246/10.15, allocations: 3.196 MB / 3.989 GB, free: 12.8 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.0005849/10.15, allocations: 61.7 kB / 3.989 GB, free: 12.73 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.001455/10.15, allocations: 1.607 MB / 3.99 GB, free: 11.26 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005567/10.16, allocations: 454.6 kB / 3.991 GB, free: 10.85 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.523e-05/10.16, allocations: 36 kB / 3.991 GB, free: 10.81 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001553/10.16, allocations: 371.3 kB / 3.991 GB, free: 10.46 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00145/10.16, allocations: 1.079 MB / 3.992 GB, free: 9.457 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00157/10.16, allocations: 1.626 MB / 3.994 GB, free: 7.715 MB / 0.5417 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.005127/10.16, allocations: 3.134 MB / 3.997 GB, free: 4.758 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.749e-06/10.16, allocations: 4 kB / 3.997 GB, free: 4.754 MB / 0.5417 GB Notification: Performance of matching and sorting (n=228) (initialization): time 0.005332/10.17, allocations: 3.483 MB / 4 GB, free: 1.188 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.002285/10.17, allocations: 5.014 MB / 4.005 GB, free: 11.77 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.116e-05/10.17, allocations: 12 kB / 4.005 GB, free: 11.75 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008762/10.17, allocations: 213.5 kB / 4.005 GB, free: 11.54 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001298/10.17, allocations: 319.5 kB / 4.006 GB, free: 11.23 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00143/10.18, allocations: 1.379 MB / 4.007 GB, free: 9.797 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003596/10.18, allocations: 219.7 kB / 4.007 GB, free: 9.582 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002851/10.18, allocations: 87.98 kB / 4.007 GB, free: 9.496 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.707e-05/10.18, allocations: 7.938 kB / 4.007 GB, free: 9.488 MB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005348/10.18, allocations: 3.532 MB / 4.011 GB, free: 5.879 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.462e-05/10.18, allocations: 16.19 kB / 4.011 GB, free: 5.863 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007413/10.19, allocations: 207.8 kB / 4.011 GB, free: 5.656 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001105/10.19, allocations: 298.7 kB / 4.011 GB, free: 5.371 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001216/10.19, allocations: 1.37 MB / 4.013 GB, free: 3.949 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003399/10.19, allocations: 179.7 kB / 4.013 GB, free: 3.773 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002184/10.19, allocations: 87.98 kB / 4.013 GB, free: 3.688 MB / 0.5573 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: 47 * 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 (186): * Single equations (assignments): 172 * 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 7,1 7} Notification: Performance of prepare postOptimizeDAE: time 0.0008525/10.19, allocations: 406.7 kB / 4.013 GB, free: 3.246 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001329/10.19, allocations: 347.7 kB / 4.014 GB, free: 2.902 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005097/10.2, allocations: 2.373 MB / 4.016 GB, free: 492 kB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-05/10.2, allocations: 19.98 kB / 4.016 GB, free: 472 kB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.528e-06/10.2, allocations: 0 / 4.016 GB, free: 472 kB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.5157/10.71, allocations: 2.147 MB / 4.018 GB, free: 53.87 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01338/10.73, allocations: 5.696 MB / 4.024 GB, free: 53.17 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.169e-05/10.73, allocations: 4.219 kB / 4.024 GB, free: 53.17 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001208/10.73, allocations: 254.3 kB / 4.024 GB, free: 53.17 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.177e-05/10.73, allocations: 11.34 kB / 4.024 GB, free: 53.17 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001128/10.73, allocations: 40.92 kB / 4.024 GB, free: 53.17 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-05/10.73, allocations: 11.25 kB / 4.024 GB, free: 53.17 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.195e-06/10.73, allocations: 8.875 kB / 4.024 GB, free: 53.17 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007274/10.74, allocations: 4.385 MB / 4.028 GB, free: 52.04 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003124/10.74, allocations: 0.7219 MB / 4.029 GB, free: 51.94 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001075/10.74, allocations: 46.8 kB / 4.029 GB, free: 51.94 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002339/10.74, allocations: 182.9 kB / 4.029 GB, free: 51.94 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003416/10.74, allocations: 153.5 kB / 4.029 GB, free: 51.93 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001588/10.74, allocations: 65.09 kB / 4.029 GB, free: 51.93 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.004833/10.75, allocations: 2.453 MB / 4.032 GB, free: 51.77 MB / 0.5573 GB Notification: Performance of sort global known variables: time 4.71e-07/10.75, allocations: 1.781 kB / 4.032 GB, free: 51.77 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.007201/10.76, allocations: 1.545 MB / 4.033 GB, free: 51.77 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 6 (conHea.I.y,vol.dynBal.U,vol.dynBal.mXi[1],conCoo.I.y,beaCooHea.conCoo.hex.vol.dynBal.medium.T,beaCooHea.conHea.hex.vol.dynBal.medium.T) * 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.temDif_mod.i,beaCooHea.conHea.mod.watFlo_mod.i) * Top-level inputs: 0 Notification: Strong component statistics for simulation (127): * Single equations (assignments): 119 * Array equations: 0 * Algorithm blocks: 6 * Record equations: 2 * 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.005332/10.76, allocations: 2.801 MB / 4.036 GB, free: 50.88 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.008176/10.77, allocations: 5.756 MB / 4.042 GB, free: 49.32 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.662e-05/10.77, allocations: 5.797 kB / 4.042 GB, free: 49.32 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.00219/10.77, allocations: 1.755 MB / 4.043 GB, free: 48.94 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009173/10.78, allocations: 1.705 MB / 4.045 GB, free: 48.91 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01199/10.79, allocations: 5.338 MB / 4.05 GB, free: 47.68 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002056/10.79, allocations: 2.202 MB / 4.052 GB, free: 46.93 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.005233/10.8, allocations: 1.095 MB / 4.053 GB, free: 46.89 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000449/10.8, allocations: 169 kB / 4.053 GB, free: 46.89 MB / 0.5573 GB Notification: Performance of SimCode: time 1.723e-06/10.8, allocations: 0 / 4.053 GB, free: 46.89 MB / 0.5573 GB Notification: Performance of Templates: time 0.1712/10.97, allocations: 104 MB / 4.155 GB, free: 36.16 MB / 0.5573 GB make -j1 -f Annex60_1.0.0_Annex60.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating.makefile (rm -f Annex60_1.0.0_Annex60.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating.pipe ; mkfifo Annex60_1.0.0_Annex60.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating.pipe >> ../files/Annex60_1.0.0_Annex60.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating.sim & ./Annex60_1.0.0_Annex60.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating.pipe 2>&1)