Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly.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-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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly") translateModel(IDEAS.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001379/0.001379, allocations: 180.9 kB / 7.651 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8922/0.8922, allocations: 133.6 MB / 141.6 MB, free: 2.887 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.648/1.648, allocations: 221.5 MB / 395.5 MB, free: 10.77 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.0009841/0.0009841, allocations: 95.42 kB / 478.2 MB, free: 1.32 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.384e-05/2.386e-05, allocations: 4 kB / 0.5535 GB, free: 9.047 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5532/0.5532, allocations: 82.31 MB / 0.6338 GB, free: 40.87 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.087/6.64, allocations: 2.147 GB / 2.78 GB, free: 111.7 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003093/6.641, allocations: 98.81 kB / 2.78 GB, free: 111.7 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 5.235/11.88, allocations: 1.235 GB / 4.015 GB, free: 62.02 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.983e-06/11.88, allocations: 0 / 4.015 GB, free: 62.02 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.000659/11.88, allocations: 81.73 kB / 4.015 GB, free: 62.01 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: 481 * Number of variables: 481 Notification: Performance of Generate backend data structure: time 0.01086/11.89, allocations: 3.47 MB / 4.019 GB, free: 60.24 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.652e-05/11.89, allocations: 8.688 kB / 4.019 GB, free: 60.24 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003504/11.89, allocations: 0.5144 MB / 4.019 GB, free: 60.05 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01044/11.9, allocations: 3.287 MB / 4.022 GB, free: 59.46 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001377/11.9, allocations: 60.72 kB / 4.022 GB, free: 59.46 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00087/11.9, allocations: 134.6 kB / 4.022 GB, free: 59.46 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004421/11.91, allocations: 1.718 MB / 4.024 GB, free: 59.45 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004986/11.91, allocations: 2.106 MB / 4.026 GB, free: 59.25 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.981e-05/11.91, allocations: 1.875 kB / 4.026 GB, free: 59.25 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001652/11.91, allocations: 5.781 kB / 4.026 GB, free: 59.25 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.123e-05/11.91, allocations: 69.67 kB / 4.026 GB, free: 59.24 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.015/11.93, allocations: 9.397 MB / 4.035 GB, free: 56.32 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001648/11.93, allocations: 1.294 MB / 4.037 GB, free: 56.27 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009881/11.93, allocations: 0.8894 MB / 4.038 GB, free: 56.26 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008245/11.93, allocations: 1.179 MB / 4.039 GB, free: 54.95 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.775e-05/11.93, allocations: 54.91 kB / 4.039 GB, free: 54.9 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=113): time 3.808e-06/11.93, allocations: 6.469 kB / 4.039 GB, free: 54.9 MB / 0.7136 GB Notification: Performance of matching and sorting (n=115): time 0.009175/11.94, allocations: 4.218 MB / 4.043 GB, free: 53.99 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000121/11.94, allocations: 291.6 kB / 4.043 GB, free: 53.68 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004651/11.94, allocations: 2.544 MB / 4.046 GB, free: 53.45 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0005225/11.95, allocations: 31.55 kB / 4.046 GB, free: 53.42 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.001198/11.95, allocations: 1.412 MB / 4.047 GB, free: 53 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004831/11.95, allocations: 382.4 kB / 4.047 GB, free: 52.75 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.431e-05/11.95, allocations: 7.25 kB / 4.047 GB, free: 52.75 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001184/11.95, allocations: 360.2 kB / 4.048 GB, free: 52.45 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00123/11.95, allocations: 0.962 MB / 4.049 GB, free: 52.44 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001404/11.95, allocations: 1.374 MB / 4.05 GB, free: 52.04 MB / 0.7136 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.005093/11.95, allocations: 2.5 MB / 4.053 GB, free: 51.64 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.329e-05/11.95, allocations: 0 / 4.053 GB, free: 51.64 MB / 0.7136 GB Notification: Performance of matching and sorting (n=178) (initialization): time 0.00569/11.96, allocations: 2.57 MB / 4.055 GB, free: 51.44 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009209/11.96, allocations: 2.878 MB / 4.058 GB, free: 48.5 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.521e-05/11.96, allocations: 6.188 kB / 4.058 GB, free: 48.5 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.015e-05/11.96, allocations: 12.5 kB / 4.058 GB, free: 48.5 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001129/11.96, allocations: 258.5 kB / 4.058 GB, free: 48.5 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003729/11.96, allocations: 0.6201 MB / 4.059 GB, free: 47.91 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002964/11.97, allocations: 152.2 kB / 4.059 GB, free: 47.9 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002814/11.97, allocations: 79.42 kB / 4.059 GB, free: 47.9 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.795e-05/11.97, allocations: 4.312 kB / 4.059 GB, free: 47.9 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004466/11.97, allocations: 2.502 MB / 4.061 GB, free: 47.87 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.266e-05/11.97, allocations: 6.938 kB / 4.061 GB, free: 47.87 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.878e-05/11.97, allocations: 16.45 kB / 4.061 GB, free: 47.86 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001116/11.97, allocations: 249.8 kB / 4.062 GB, free: 47.86 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.63e-05/11.97, allocations: 14.59 kB / 4.062 GB, free: 47.86 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003119/11.98, allocations: 138.2 kB / 4.062 GB, free: 47.86 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001946/11.98, allocations: 80.42 kB / 4.062 GB, free: 47.86 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: 7 (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,conPID.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (150): * Single equations (assignments): 137 * Array equations: 0 * Algorithm blocks: 12 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005307/11.98, allocations: 334.8 kB / 4.062 GB, free: 47.56 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006637/11.98, allocations: 281.3 kB / 4.062 GB, free: 47.41 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003628/11.98, allocations: 2.017 MB / 4.064 GB, free: 47.3 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.812e-05/11.98, allocations: 15.67 kB / 4.064 GB, free: 47.3 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.564e-06/11.98, allocations: 0 / 4.064 GB, free: 47.3 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002235/11.98, allocations: 1.852 MB / 4.066 GB, free: 47.02 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00884/11.99, allocations: 5.044 MB / 4.071 GB, free: 46.48 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.184e-05/11.99, allocations: 3.625 kB / 4.071 GB, free: 46.48 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009924/11.99, allocations: 228.2 kB / 4.071 GB, free: 46.48 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.464e-05/11.99, allocations: 11.28 kB / 4.071 GB, free: 46.48 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.76e-05/11.99, allocations: 33.72 kB / 4.071 GB, free: 46.48 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002426/11.99, allocations: 0.6039 MB / 4.072 GB, free: 45.89 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.125e-06/11.99, allocations: 9.094 kB / 4.072 GB, free: 45.89 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00461/12, allocations: 3.975 MB / 4.076 GB, free: 44.71 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001652/12, allocations: 0.6411 MB / 4.077 GB, free: 44.47 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003709/12, allocations: 24.25 kB / 4.077 GB, free: 44.47 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001425/12, allocations: 130.8 kB / 4.077 GB, free: 44.46 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003005/12, allocations: 152.8 kB / 4.077 GB, free: 44.46 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001058/12, allocations: 56.91 kB / 4.077 GB, free: 44.46 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.003014/12, allocations: 1.93 MB / 4.079 GB, free: 44.31 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.4e-07/12, allocations: 1.781 kB / 4.079 GB, free: 44.31 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.004839/12.01, allocations: 1.344 MB / 4.08 GB, free: 44.25 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 24 * Number of states: 5 (conPID.I.y,vol.dynBal.U,vol.dynBal.mXi[1],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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (113): * Single equations (assignments): 102 * Array equations: 0 * Algorithm blocks: 6 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004602/12.01, allocations: 2.935 MB / 4.083 GB, free: 43.3 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.00608/12.02, allocations: 5.239 MB / 4.088 GB, free: 41.76 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.432e-05/12.02, allocations: 0 / 4.088 GB, free: 41.76 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.002117/12.02, allocations: 1.791 MB / 4.09 GB, free: 41.38 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007501/12.03, allocations: 1.353 MB / 4.091 GB, free: 41.37 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009468/12.04, allocations: 4.75 MB / 4.096 GB, free: 40.18 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001593/12.04, allocations: 2.072 MB / 4.098 GB, free: 39.44 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.00435/12.05, allocations: 0.9571 MB / 4.099 GB, free: 39.36 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003609/12.05, allocations: 142.5 kB / 4.099 GB, free: 39.35 MB / 0.7136 GB Notification: Performance of SimCode: time 9.62e-07/12.05, allocations: 6.438 kB / 4.099 GB, free: 39.34 MB / 0.7136 GB Notification: Performance of Templates: time 0.1119/12.16, allocations: 69.11 MB / 4.166 GB, free: 25.21 MB / 0.7136 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly.makefile (rm -f IDEAS_dev_IDEAS.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly.sim & ./IDEAS_dev_IDEAS.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly.pipe 2>&1)