Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.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/IDEAS 3.0.0/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating") translateModel(IDEAS.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.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.001889/0.001889, allocations: 174.7 kB / 7.644 MB, free: 1.41 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7833/0.7833, allocations: 130.7 MB / 138.7 MB, free: 3.625 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.554/1.554, allocations: 221.5 MB / 391.8 MB, free: 14.18 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009422/0.0009422, allocations: 102.4 kB / 473.9 MB, free: 4.48 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.779e-05/1.78e-05, allocations: 4 kB / 0.5485 GB, free: 13.05 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5541/0.5541, allocations: 81.57 MB / 0.6282 GB, free: 42.97 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.225/6.779, allocations: 2.146 GB / 2.775 GB, free: 142.1 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000247/6.78, allocations: 98.31 kB / 2.775 GB, free: 142 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 5.155/11.93, allocations: 1.238 GB / 4.013 GB, free: 57.9 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.064e-06/11.93, allocations: 0 / 4.013 GB, free: 57.9 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.0006569/11.94, allocations: 90.41 kB / 4.013 GB, free: 57.89 MB / 0.7136 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.01229/11.95, allocations: 3.623 MB / 4.017 GB, free: 56.16 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.961e-05/11.95, allocations: 9.219 kB / 4.017 GB, free: 56.16 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003588/11.95, allocations: 0.5332 MB / 4.017 GB, free: 55.95 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01018/11.96, allocations: 3.408 MB / 4.02 GB, free: 55.34 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001548/11.96, allocations: 65.28 kB / 4.021 GB, free: 55.34 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009309/11.96, allocations: 138.8 kB / 4.021 GB, free: 55.34 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004679/11.97, allocations: 1.815 MB / 4.022 GB, free: 55.32 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005858/11.97, allocations: 2.227 MB / 4.025 GB, free: 55.06 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.357e-05/11.97, allocations: 0 / 4.025 GB, free: 55.06 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003996/11.97, allocations: 10.5 kB / 4.025 GB, free: 55.06 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.707e-05/11.97, allocations: 71.95 kB / 4.025 GB, free: 55.06 MB / 0.7136 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.01887/11.99, allocations: 10.04 MB / 4.034 GB, free: 51.77 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002686/12, allocations: 1.405 MB / 4.036 GB, free: 51.74 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001407/12, allocations: 0.9556 MB / 4.037 GB, free: 51.73 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009856/12, allocations: 1.18 MB / 4.038 GB, free: 50.41 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.635e-05/12, allocations: 53.69 kB / 4.038 GB, free: 50.37 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=126): time 4.419e-06/12, allocations: 2.562 kB / 4.038 GB, free: 50.37 MB / 0.7136 GB Notification: Performance of matching and sorting (n=134): time 0.01144/12.01, allocations: 4.646 MB / 4.043 GB, free: 49.41 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001346/12.01, allocations: 344.7 kB / 4.043 GB, free: 49.03 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006491/12.02, allocations: 2.619 MB / 4.045 GB, free: 48.8 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0004388/12.02, allocations: 33.77 kB / 4.045 GB, free: 48.77 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.001665/12.02, allocations: 1.487 MB / 4.047 GB, free: 48.33 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005877/12.02, allocations: 441.1 kB / 4.047 GB, free: 48.04 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00018/12.02, allocations: 3.906 kB / 4.047 GB, free: 48.04 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001546/12.02, allocations: 367.9 kB / 4.048 GB, free: 47.74 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001424/12.02, allocations: 1.008 MB / 4.049 GB, free: 47.73 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001803/12.02, allocations: 1.44 MB / 4.05 GB, free: 47.32 MB / 0.7136 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.006846/12.03, allocations: 3.722 MB / 4.054 GB, free: 46.81 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.857e-06/12.03, allocations: 3.531 kB / 4.054 GB, free: 46.81 MB / 0.7136 GB Notification: Performance of matching and sorting (n=197) (initialization): time 0.005369/12.03, allocations: 2.788 MB / 4.056 GB, free: 46.57 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007785/12.04, allocations: 2.893 MB / 4.059 GB, free: 43.52 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.52e-05/12.04, allocations: 14.88 kB / 4.059 GB, free: 43.52 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003988/12.04, allocations: 140.6 kB / 4.059 GB, free: 43.51 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001042/12.04, allocations: 263.4 kB / 4.06 GB, free: 43.51 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008877/12.04, allocations: 1.299 MB / 4.061 GB, free: 42.46 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002897/12.04, allocations: 169.5 kB / 4.061 GB, free: 42.46 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002794/12.04, allocations: 90.95 kB / 4.061 GB, free: 42.46 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.339e-05/12.04, allocations: 4.156 kB / 4.061 GB, free: 42.46 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004239/12.05, allocations: 2.708 MB / 4.064 GB, free: 42.4 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.571e-05/12.05, allocations: 3.844 kB / 4.064 GB, free: 42.4 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003279/12.05, allocations: 136 kB / 4.064 GB, free: 42.38 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009924/12.05, allocations: 261.5 kB / 4.064 GB, free: 42.38 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008313/12.05, allocations: 1.307 MB / 4.065 GB, free: 41.34 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002972/12.05, allocations: 171 kB / 4.066 GB, free: 41.33 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002496/12.05, allocations: 82.66 kB / 4.066 GB, free: 41.33 MB / 0.7136 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 () * 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.0006192/12.05, allocations: 340.1 kB / 4.066 GB, free: 41.03 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009624/12.05, allocations: 301.9 kB / 4.066 GB, free: 40.87 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004264/12.06, allocations: 2.157 MB / 4.068 GB, free: 40.76 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.879e-05/12.06, allocations: 15.92 kB / 4.068 GB, free: 40.76 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.629e-06/12.06, allocations: 3.375 kB / 4.068 GB, free: 40.76 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002583/12.06, allocations: 1.962 MB / 4.07 GB, free: 40.48 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01122/12.07, allocations: 5.378 MB / 4.076 GB, free: 39.93 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.469e-05/12.07, allocations: 3.781 kB / 4.076 GB, free: 39.93 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001108/12.07, allocations: 256.8 kB / 4.076 GB, free: 39.93 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.71e-05/12.07, allocations: 15.84 kB / 4.076 GB, free: 39.93 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001195/12.07, allocations: 23.95 kB / 4.076 GB, free: 39.93 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.771e-05/12.07, allocations: 12.94 kB / 4.076 GB, free: 39.93 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.857e-06/12.07, allocations: 10.09 kB / 4.076 GB, free: 39.93 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005745/12.08, allocations: 4.171 MB / 4.08 GB, free: 38.77 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002244/12.08, allocations: 0.6803 MB / 4.081 GB, free: 38.52 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001105/12.08, allocations: 19.97 kB / 4.081 GB, free: 38.52 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002556/12.08, allocations: 143.2 kB / 4.081 GB, free: 38.51 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003365/12.08, allocations: 164.9 kB / 4.081 GB, free: 38.5 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000178/12.08, allocations: 60.7 kB / 4.081 GB, free: 38.5 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.004855/12.09, allocations: 1.983 MB / 4.083 GB, free: 38.36 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.884e-06/12.09, allocations: 0 / 4.083 GB, free: 38.36 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.007446/12.1, allocations: 1.377 MB / 4.084 GB, free: 38.3 MB / 0.7136 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.watCoo_a.h_outflow,beaCooHea.watHea_a.h_outflow) * 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) * 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.005403/12.1, allocations: 2.933 MB / 4.087 GB, free: 37.36 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.00694/12.11, allocations: 5.459 MB / 4.093 GB, free: 35.81 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.171e-05/12.11, allocations: 0 / 4.093 GB, free: 35.81 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.002235/12.11, allocations: 1.836 MB / 4.094 GB, free: 35.43 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008354/12.12, allocations: 1.392 MB / 4.096 GB, free: 35.41 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01321/12.13, allocations: 5.155 MB / 4.101 GB, free: 34.14 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002964/12.14, allocations: 2.156 MB / 4.103 GB, free: 33.4 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.005797/12.14, allocations: 0.978 MB / 4.104 GB, free: 33.38 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005512/12.14, allocations: 145.4 kB / 4.104 GB, free: 33.38 MB / 0.7136 GB Notification: Performance of SimCode: time 1.513e-06/12.14, allocations: 2.625 kB / 4.104 GB, free: 33.38 MB / 0.7136 GB Notification: Performance of Templates: time 0.1194/12.26, allocations: 72.48 MB / 4.175 GB, free: 27.89 MB / 0.7136 GB make -j1 -f IDEAS_IDEAS.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating.makefile (rm -f IDEAS_IDEAS.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating.pipe ; mkfifo IDEAS_IDEAS.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating.pipe >> ../files/IDEAS_IDEAS.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating.sim & ./IDEAS_IDEAS.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating.pipe 2>&1)