Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly.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.CoolingOnly,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly") translateModel(IDEAS.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001662/0.001662, 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.7841/0.7841, allocations: 133.6 MB / 141.6 MB, free: 2.895 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.65/1.65, 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.0009181/0.0009182, allocations: 104.4 kB / 478.2 MB, free: 1.301 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.873e-05/2.876e-05, allocations: 4 kB / 0.5535 GB, free: 9.035 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5832/0.5833, allocations: 82.31 MB / 0.6338 GB, free: 40.93 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.268/6.851, allocations: 2.145 GB / 2.778 GB, free: 113.7 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003222/6.851, allocations: 98.94 kB / 2.779 GB, free: 113.6 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 3.359/10.21, allocations: 0.8745 GB / 3.653 GB, free: 10.2 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.523e-06/10.21, allocations: 0 / 3.653 GB, free: 10.2 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0004035/10.21, allocations: 53.16 kB / 3.653 GB, free: 10.15 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 331 * Number of variables: 331 Notification: Performance of Generate backend data structure: time 0.00707/10.22, allocations: 2.353 MB / 3.655 GB, free: 7.723 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.165e-05/10.22, allocations: 12.02 kB / 3.655 GB, free: 7.711 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002611/10.22, allocations: 381.1 kB / 3.656 GB, free: 7.34 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006193/10.23, allocations: 2.044 MB / 3.658 GB, free: 5.293 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.663e-05/10.23, allocations: 43.61 kB / 3.658 GB, free: 5.254 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000223/10.23, allocations: 84 kB / 3.658 GB, free: 5.172 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002058/10.23, allocations: 1.116 MB / 3.659 GB, free: 4.055 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002143/10.23, allocations: 1.375 MB / 3.66 GB, free: 2.629 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.897e-05/10.23, allocations: 3.938 kB / 3.66 GB, free: 2.625 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001074/10.23, allocations: 4 kB / 3.66 GB, free: 2.621 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.077e-05/10.23, allocations: 42.53 kB / 3.66 GB, free: 2.578 MB / 0.6823 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.01038/10.24, allocations: 6.171 MB / 3.666 GB, free: 12.24 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001268/10.24, allocations: 0.8508 MB / 3.667 GB, free: 11.38 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007498/10.24, allocations: 0.5818 MB / 3.668 GB, free: 10.8 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007754/10.25, allocations: 0.6866 MB / 3.668 GB, free: 9.973 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.649e-05/10.25, allocations: 41.12 kB / 3.668 GB, free: 9.926 MB / 0.698 GB Notification: Performance of pre-optimization done (n=83): time 3.637e-06/10.25, allocations: 0 / 3.668 GB, free: 9.926 MB / 0.698 GB Notification: Performance of matching and sorting (n=85): time 0.006449/10.25, allocations: 2.717 MB / 3.671 GB, free: 7.148 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000129/10.25, allocations: 196.7 kB / 3.671 GB, free: 6.914 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002782/10.25, allocations: 1.496 MB / 3.673 GB, free: 5.426 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001808/10.25, allocations: 29.7 kB / 3.673 GB, free: 5.391 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008416/10.26, allocations: 0.8973 MB / 3.674 GB, free: 4.48 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003021/10.26, allocations: 279.7 kB / 3.674 GB, free: 4.203 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.742e-05/10.26, allocations: 4 kB / 3.674 GB, free: 4.199 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001649/10.26, allocations: 341.9 kB / 3.674 GB, free: 3.859 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008403/10.26, allocations: 0.5649 MB / 3.675 GB, free: 3.293 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009992/10.26, allocations: 0.8229 MB / 3.676 GB, free: 2.383 MB / 0.698 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.004318/10.26, allocations: 2.144 MB / 3.678 GB, free: 212 kB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.759e-06/10.26, allocations: 3.312 kB / 3.678 GB, free: 212 kB / 0.698 GB Notification: Performance of matching and sorting (n=120) (initialization): time 0.6032/10.87, allocations: 1.537 MB / 3.679 GB, free: 80.33 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.00047/10.87, allocations: 1.648 MB / 3.681 GB, free: 78.63 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.865e-05/10.87, allocations: 4.578 kB / 3.681 GB, free: 78.63 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.86e-05/10.87, allocations: 8.469 kB / 3.681 GB, free: 78.63 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008792/10.87, allocations: 178 kB / 3.681 GB, free: 78.63 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.937e-05/10.87, allocations: 11.06 kB / 3.681 GB, free: 78.63 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001763/10.87, allocations: 95.53 kB / 3.681 GB, free: 78.63 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001498/10.87, allocations: 53.94 kB / 3.681 GB, free: 78.63 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.139e-05/10.87, allocations: 3.438 kB / 3.681 GB, free: 78.63 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002934/10.87, allocations: 1.458 MB / 3.683 GB, free: 78.61 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.02e-05/10.87, allocations: 3.25 kB / 3.683 GB, free: 78.61 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.964e-05/10.87, allocations: 9.875 kB / 3.683 GB, free: 78.61 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000837/10.87, allocations: 179.5 kB / 3.683 GB, free: 78.61 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.543e-05/10.87, allocations: 12.52 kB / 3.683 GB, free: 78.61 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001771/10.87, allocations: 97.94 kB / 3.683 GB, free: 78.61 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001466/10.87, allocations: 48.67 kB / 3.683 GB, free: 78.61 MB / 0.698 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: 16 * Number of states: 0 () * Number of discrete variables: 4 (beaCoo.conCoo.mod.temDif_mod.i,beaCoo.conCoo.mod.watFlo_mod.i,beaCoo.conCoo.mod.airFlo_mod.i,conPID.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (106): * Single equations (assignments): 100 * Array equations: 0 * Algorithm blocks: 6 * Record equations: 0 * 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 prepare postOptimizeDAE: time 0.0003995/10.88, allocations: 224.4 kB / 3.683 GB, free: 78.41 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003313/10.88, allocations: 178.9 kB / 3.683 GB, free: 78.41 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002628/10.88, allocations: 1.255 MB / 3.685 GB, free: 78.35 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.316e-05/10.88, allocations: 11.14 kB / 3.685 GB, free: 78.35 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.003e-06/10.88, allocations: 0 / 3.685 GB, free: 78.35 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001747/10.88, allocations: 1.357 MB / 3.686 GB, free: 77.89 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005101/10.89, allocations: 3.239 MB / 3.689 GB, free: 77.45 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.786e-06/10.89, allocations: 7.781 kB / 3.689 GB, free: 77.45 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006968/10.89, allocations: 171.3 kB / 3.689 GB, free: 77.45 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.207e-05/10.89, allocations: 7.812 kB / 3.689 GB, free: 77.45 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.132e-05/10.89, allocations: 16.86 kB / 3.689 GB, free: 77.45 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.015e-05/10.89, allocations: 11.91 kB / 3.689 GB, free: 77.45 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.145e-06/10.89, allocations: 9.75 kB / 3.689 GB, free: 77.45 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002795/10.89, allocations: 2.494 MB / 3.692 GB, free: 76.73 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008159/10.89, allocations: 425 kB / 3.692 GB, free: 76.55 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002094/10.89, allocations: 15.81 kB / 3.692 GB, free: 76.55 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009553/10.89, allocations: 89.14 kB / 3.692 GB, free: 76.54 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002291/10.89, allocations: 102 kB / 3.692 GB, free: 76.54 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.642e-05/10.89, allocations: 36.98 kB / 3.692 GB, free: 76.54 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001598/10.89, allocations: 1.139 MB / 3.693 GB, free: 76.43 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.31e-07/10.89, allocations: 0 / 3.693 GB, free: 76.43 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.002989/10.9, allocations: 0.9115 MB / 3.694 GB, free: 76.43 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 4 (conPID.I.y,vol.dynBal.U,vol.dynBal.mXi[1],beaCoo.conCoo.hex.vol.dynBal.U) * Number of discrete variables: 3 (beaCoo.conCoo.mod.temDif_mod.i,beaCoo.conCoo.mod.watFlo_mod.i,beaCoo.conCoo.mod.airFlo_mod.i) * Number of discrete states: 3 (beaCoo.conCoo.mod.airFlo_mod.i,beaCoo.conCoo.mod.watFlo_mod.i,beaCoo.conCoo.mod.temDif_mod.i) * Top-level inputs: 0 Notification: Strong component statistics for simulation (84): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 3 * 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.003356/10.9, allocations: 2.375 MB / 3.697 GB, free: 75.85 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.003148/10.9, allocations: 2.95 MB / 3.7 GB, free: 75.07 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 7.534e-06/10.9, allocations: 0 / 3.7 GB, free: 75.07 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.00113/10.9, allocations: 0.9605 MB / 3.7 GB, free: 74.88 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004954/10.91, allocations: 0.8281 MB / 3.701 GB, free: 74.87 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006293/10.91, allocations: 3.053 MB / 3.704 GB, free: 74.05 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001574/10.92, allocations: 1.564 MB / 3.706 GB, free: 73.33 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.003054/10.92, allocations: 0.6036 MB / 3.706 GB, free: 73.31 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002841/10.92, allocations: 94.56 kB / 3.706 GB, free: 73.3 MB / 0.698 GB Notification: Performance of SimCode: time 1.733e-06/10.92, allocations: 0 / 3.706 GB, free: 73.3 MB / 0.698 GB Notification: Performance of Templates: time 0.0754/11, allocations: 45.36 MB / 3.751 GB, free: 71.23 MB / 0.698 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly.makefile (rm -f IDEAS_dev_IDEAS.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly.sim & ./IDEAS_dev_IDEAS.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly.pipe 2>&1)