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.4117/0.4117, allocations: 54.41 MB / 61.89 MB, free: 13.74 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.001217/0.001217, allocations: 184.1 kB / 75.61 MB, free: 0.7617 MB / 58.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.53/1.53, allocations: 194.3 MB / 283.5 MB, free: 14.86 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.001723/0.001723, allocations: 112.4 kB / 341.6 MB, free: 4.051 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.794e-05/1.796e-05, allocations: 0 / 405.5 MB, free: 4.148 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3339/0.3339, allocations: 57.66 MB / 463.2 MB, free: 51.75 MB / 362.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.074/6.408, allocations: 2.395 GB / 2.847 GB, free: 159.2 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004323/6.409, allocations: 99.14 kB / 2.847 GB, free: 159.1 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 4.388/10.8, allocations: 1.085 GB / 3.932 GB, free: 28.05 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.214e-06/10.8, allocations: 0 / 3.932 GB, free: 28.05 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0006658/10.8, allocations: 80.64 kB / 3.932 GB, free: 28.04 MB / 0.5261 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.01413/10.81, allocations: 3.732 MB / 3.936 GB, free: 25.88 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.865e-05/10.81, allocations: 10.06 kB / 3.936 GB, free: 25.88 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004237/10.82, allocations: 0.5442 MB / 3.936 GB, free: 25.66 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02066/10.84, allocations: 7.616 MB / 3.944 GB, free: 23.17 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00022/10.84, allocations: 77.12 kB / 3.944 GB, free: 23.16 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001114/10.84, allocations: 141.9 kB / 3.944 GB, free: 23.16 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005961/10.84, allocations: 1.939 MB / 3.946 GB, free: 22.36 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007784/10.85, allocations: 2.528 MB / 3.948 GB, free: 21.08 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.00011/10.85, allocations: 7.719 kB / 3.948 GB, free: 21.08 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007164/10.85, allocations: 7.438 kB / 3.948 GB, free: 21.08 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001087/10.85, allocations: 82.42 kB / 3.948 GB, free: 21.07 MB / 0.5261 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.02649/10.88, allocations: 11.98 MB / 3.96 GB, free: 12.82 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002381/10.88, allocations: 1.299 MB / 3.961 GB, free: 12.25 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001383/10.88, allocations: 0.8997 MB / 3.962 GB, free: 11.88 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004434/10.88, allocations: 353.7 kB / 3.963 GB, free: 11.5 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.608e-05/10.88, allocations: 51 kB / 3.963 GB, free: 11.45 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=119): time 4.819e-06/10.88, allocations: 0 / 3.963 GB, free: 11.45 MB / 0.5261 GB Notification: Performance of matching and sorting (n=129): time 0.01251/10.9, allocations: 4.594 MB / 3.967 GB, free: 9.234 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002099/10.9, allocations: 471.5 kB / 3.968 GB, free: 8.695 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008478/10.9, allocations: 2.686 MB / 3.97 GB, free: 7.574 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0005589/10.91, allocations: 36.23 kB / 3.97 GB, free: 7.539 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.002604/10.91, allocations: 1.621 MB / 3.972 GB, free: 6.273 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008069/10.91, allocations: 428.9 kB / 3.972 GB, free: 5.945 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002751/10.91, allocations: 1.75 kB / 3.972 GB, free: 5.945 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.000228/10.91, allocations: 377.2 kB / 3.973 GB, free: 5.609 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001824/10.91, allocations: 1.043 MB / 3.974 GB, free: 5.094 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001889/10.91, allocations: 1.584 MB / 3.975 GB, free: 3.398 MB / 0.5261 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.005436/10.92, allocations: 2.713 MB / 3.978 GB, free: 0.9766 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.184e-05/10.92, allocations: 8 kB / 3.978 GB, free: 0.9688 MB / 0.5261 GB Notification: Performance of matching and sorting (n=228) (initialization): time 0.006389/10.93, allocations: 2.983 MB / 3.981 GB, free: 14.28 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.00286/10.93, allocations: 4.919 MB / 3.985 GB, free: 8.887 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.651e-05/10.93, allocations: 11.94 kB / 3.986 GB, free: 8.875 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000705/10.93, allocations: 190.1 kB / 3.986 GB, free: 8.711 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001392/10.93, allocations: 318.2 kB / 3.986 GB, free: 8.441 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00151/10.93, allocations: 1.381 MB / 3.987 GB, free: 7.051 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003536/10.94, allocations: 191.7 kB / 3.988 GB, free: 6.906 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003378/10.94, allocations: 83.8 kB / 3.988 GB, free: 6.828 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.449e-05/10.94, allocations: 4 kB / 3.988 GB, free: 6.824 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00563/10.94, allocations: 2.846 MB / 3.99 GB, free: 4.23 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.659e-05/10.94, allocations: 8.156 kB / 3.99 GB, free: 4.223 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005558/10.94, allocations: 187.4 kB / 3.991 GB, free: 4.062 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001168/10.94, allocations: 296.7 kB / 3.991 GB, free: 3.805 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001464/10.94, allocations: 1.386 MB / 3.992 GB, free: 2.414 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003523/10.95, allocations: 141.7 kB / 3.992 GB, free: 2.305 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002884/10.95, allocations: 83.8 kB / 3.992 GB, free: 2.227 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 () * 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.0009064/10.95, allocations: 356.5 kB / 3.993 GB, free: 1.848 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001316/10.95, allocations: 312.1 kB / 3.993 GB, free: 1.539 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005204/10.96, allocations: 2.118 MB / 3.995 GB, free: 15.82 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.012e-05/10.96, allocations: 16 kB / 3.995 GB, free: 15.8 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.598e-06/10.96, allocations: 4 kB / 3.995 GB, free: 15.8 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002989/10.96, allocations: 1.895 MB / 3.997 GB, free: 13.85 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01371/10.97, allocations: 5.126 MB / 4.002 GB, free: 8.641 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.847e-05/10.97, allocations: 7.953 kB / 4.002 GB, free: 8.633 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001213/10.97, allocations: 251.7 kB / 4.002 GB, free: 8.387 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.742e-05/10.97, allocations: 8 kB / 4.002 GB, free: 8.379 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001309/10.97, allocations: 28.27 kB / 4.002 GB, free: 8.352 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.635e-05/10.97, allocations: 15.94 kB / 4.002 GB, free: 8.336 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.145e-05/10.97, allocations: 9.641 kB / 4.002 GB, free: 8.328 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006271/10.98, allocations: 3.97 MB / 4.006 GB, free: 4.16 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002556/10.98, allocations: 0.6807 MB / 4.007 GB, free: 3.457 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00128/10.98, allocations: 16 kB / 4.007 GB, free: 3.441 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002934/10.99, allocations: 159.7 kB / 4.007 GB, free: 3.285 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003732/10.99, allocations: 156.4 kB / 4.007 GB, free: 3.133 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000243/10.99, allocations: 73.89 kB / 4.007 GB, free: 3.062 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.00732/11, allocations: 2.017 MB / 4.009 GB, free: 1.055 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.112e-06/11, allocations: 0 / 4.009 GB, free: 1.055 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.5479/11.54, allocations: 1.407 MB / 4.011 GB, free: 59.65 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.006523/11.55, allocations: 2.838 MB / 4.013 GB, free: 58.83 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.007578/11.56, allocations: 5.581 MB / 4.019 GB, free: 57.29 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.651e-05/11.56, allocations: 1.578 kB / 4.019 GB, free: 57.29 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.002025/11.56, allocations: 1.723 MB / 4.02 GB, free: 56.91 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007923/11.57, allocations: 1.405 MB / 4.022 GB, free: 56.88 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01081/11.58, allocations: 5.208 MB / 4.027 GB, free: 55.65 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001953/11.58, allocations: 2.204 MB / 4.029 GB, free: 54.91 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.004963/11.59, allocations: 0.9916 MB / 4.03 GB, free: 54.87 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003979/11.59, allocations: 159.7 kB / 4.03 GB, free: 54.87 MB / 0.5573 GB Notification: Performance of SimCode: time 2.985e-06/11.59, allocations: 0 / 4.03 GB, free: 54.87 MB / 0.5573 GB Notification: Performance of Templates: time 0.1482/11.73, allocations: 74.06 MB / 4.103 GB, free: 49.11 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)