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.3118/0.3118, allocations: 55.02 MB / 69.96 MB, free: 8.672 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.001223/0.001223, allocations: 186.7 kB / 83.98 MB, free: 10.86 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.695/1.695, allocations: 194.4 MB / 292.3 MB, free: 3.602 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001771/0.001771, allocations: 123.1 kB / 350.7 MB, free: 9.105 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000409/0.0004089, allocations: 16 kB / 418.9 MB, free: 37.02 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1156/0.116, allocations: 57.64 MB / 476.5 MB, free: 11.32 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.825/5.941, allocations: 2.395 GB / 2.861 GB, free: 171.9 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004357/5.941, allocations: 107 kB / 2.861 GB, free: 171.9 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 4.103/10.04, allocations: 1.096 GB / 3.957 GB, free: 36.23 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.825e-06/10.04, allocations: 0 / 3.957 GB, free: 36.23 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 0.0004051/10.04, allocations: 90.47 kB / 3.957 GB, free: 36.21 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.01213/10.06, allocations: 4.42 MB / 3.961 GB, free: 33.71 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.248e-05/10.06, allocations: 7.188 kB / 3.961 GB, free: 33.71 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003116/10.06, allocations: 0.5473 MB / 3.962 GB, free: 33.49 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01833/10.08, allocations: 7.699 MB / 3.969 GB, free: 32.66 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001559/10.08, allocations: 175.1 kB / 3.97 GB, free: 32.65 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004216/10.08, allocations: 231.8 kB / 3.97 GB, free: 32.65 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006141/10.09, allocations: 3 MB / 3.973 GB, free: 32.15 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.844e-05/10.09, allocations: 7.844 kB / 3.973 GB, free: 32.14 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002609/10.09, allocations: 104.5 kB / 3.973 GB, free: 32.14 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001078/10.09, allocations: 88.48 kB / 3.973 GB, free: 32.14 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004437/10.09, allocations: 2.283 MB / 3.975 GB, free: 32.07 MB / 0.5417 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.01981/10.11, allocations: 12.47 MB / 3.987 GB, free: 26.64 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002464/10.11, allocations: 1.456 MB / 3.989 GB, free: 26.61 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003434/10.11, allocations: 357.5 kB / 3.989 GB, free: 26.23 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.118e-05/10.11, allocations: 53.28 kB / 3.989 GB, free: 26.19 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=119): time 5.229e-06/10.11, allocations: 0 / 3.989 GB, free: 26.19 MB / 0.5417 GB Notification: Performance of matching and sorting (n=129): time 0.01257/10.13, allocations: 6.796 MB / 3.996 GB, free: 22.6 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002445/10.13, allocations: 470 kB / 3.996 GB, free: 22.06 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005774/10.13, allocations: 3.249 MB / 3.999 GB, free: 20.82 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.0004433/10.13, allocations: 60.27 kB / 3.999 GB, free: 20.77 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.001256/10.13, allocations: 1.621 MB / 4.001 GB, free: 19.51 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004453/10.13, allocations: 447.7 kB / 4.001 GB, free: 19.18 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.13e-05/10.13, allocations: 31.59 kB / 4.001 GB, free: 19.15 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001253/10.13, allocations: 375.2 kB / 4.002 GB, free: 18.82 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001649/10.14, allocations: 1.14 MB / 4.003 GB, free: 18.38 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00193/10.14, allocations: 1.69 MB / 4.005 GB, free: 17.29 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.00561/10.14, allocations: 3.198 MB / 4.008 GB, free: 15.61 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.764e-06/10.14, allocations: 3.938 kB / 4.008 GB, free: 15.61 MB / 0.5417 GB Notification: Performance of matching and sorting (n=228) (initialization): time 0.005717/10.15, allocations: 3.608 MB / 4.011 GB, free: 13.85 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.00119/10.15, allocations: 5.015 MB / 4.016 GB, free: 8.504 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.878e-05/10.15, allocations: 9.812 kB / 4.016 GB, free: 8.504 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007127/10.15, allocations: 201.8 kB / 4.016 GB, free: 8.441 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001251/10.15, allocations: 331.5 kB / 4.017 GB, free: 8.402 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00101/10.15, allocations: 1.37 MB / 4.018 GB, free: 7.203 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003725/10.16, allocations: 222.7 kB / 4.018 GB, free: 7.152 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002198/10.16, allocations: 91.28 kB / 4.018 GB, free: 7.133 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.493e-05/10.16, allocations: 6.031 kB / 4.018 GB, free: 7.133 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004222/10.16, allocations: 3.554 MB / 4.022 GB, free: 5.395 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.441e-05/10.16, allocations: 11 kB / 4.022 GB, free: 5.395 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005959/10.16, allocations: 206.2 kB / 4.022 GB, free: 5.328 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001002/10.16, allocations: 301.5 kB / 4.022 GB, free: 5.289 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008638/10.16, allocations: 1.369 MB / 4.024 GB, free: 4.074 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003184/10.17, allocations: 185.2 kB / 4.024 GB, free: 3.926 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001659/10.17, allocations: 82.86 kB / 4.024 GB, free: 3.848 MB / 0.5417 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 () * Number of clocked 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.002627/10.17, allocations: 1.154 MB / 4.025 GB, free: 2.711 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009206/10.17, allocations: 347.5 kB / 4.025 GB, free: 2.371 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003848/10.17, allocations: 2.484 MB / 4.028 GB, free: 112 kB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.142e-05/10.17, allocations: 12 kB / 4.028 GB, free: 100 kB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.297e-05/10.17, allocations: 3.75 kB / 4.028 GB, free: 100 kB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003253/10.18, allocations: 2.247 MB / 4.03 GB, free: 13.94 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01141/10.19, allocations: 5.798 MB / 4.036 GB, free: 9.121 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-05/10.19, allocations: 4 kB / 4.036 GB, free: 9.117 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001135/10.19, allocations: 254.8 kB / 4.036 GB, free: 8.906 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.061e-05/10.19, allocations: 12 kB / 4.036 GB, free: 8.895 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001161/10.19, allocations: 35.33 kB / 4.036 GB, free: 8.863 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.832e-05/10.19, allocations: 19.55 kB / 4.036 GB, free: 8.848 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.412e-06/10.19, allocations: 8 kB / 4.036 GB, free: 8.84 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007127/10.2, allocations: 4.525 MB / 4.04 GB, free: 4.406 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003065/10.2, allocations: 0.7278 MB / 4.041 GB, free: 3.742 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005685/10.2, allocations: 43.95 kB / 4.041 GB, free: 3.699 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001887/10.2, allocations: 185.7 kB / 4.041 GB, free: 3.559 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004014/10.2, allocations: 152.3 kB / 4.041 GB, free: 3.453 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001566/10.2, allocations: 62.5 kB / 4.042 GB, free: 3.402 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.004788/10.21, allocations: 2.51 MB / 4.044 GB, free: 1.293 MB / 0.5573 GB Notification: Performance of sort global known variables: time 4.01e-07/10.21, allocations: 0 / 4.044 GB, free: 1.293 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.007534/10.22, allocations: 1.643 MB / 4.046 GB, free: 0 / 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) * Number of clocked states: 0 () * 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.503/10.72, allocations: 2.764 MB / 4.048 GB, free: 52.97 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.01048/10.73, allocations: 5.767 MB / 4.054 GB, free: 51.45 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.995e-05/10.73, allocations: 0.7969 kB / 4.054 GB, free: 51.45 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.002609/10.73, allocations: 1.81 MB / 4.056 GB, free: 51.07 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01075/10.74, allocations: 1.704 MB / 4.057 GB, free: 51.03 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01814/10.76, allocations: 7.53 MB / 4.065 GB, free: 48.12 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002787/10.76, allocations: 2.198 MB / 4.067 GB, free: 47.38 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.004761/10.77, allocations: 0.6678 MB / 4.067 GB, free: 47.34 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007574/10.77, allocations: 217.4 kB / 4.068 GB, free: 47.34 MB / 0.5573 GB Notification: Performance of SimCode: time 1.202e-06/10.77, allocations: 0 / 4.068 GB, free: 47.34 MB / 0.5573 GB Notification: Performance of Templates: time 0.1599/10.93, allocations: 92.91 MB / 4.158 GB, free: 40.5 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)