Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.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.Examples.DryCoilEffectivenessNTUPControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl") translateModel(IDEAS.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001496/0.001496, allocations: 174.8 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7746/0.7746, allocations: 130.5 MB / 143.8 MB, free: 13.57 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.484/1.484, allocations: 221.3 MB / 396.8 MB, free: 9.184 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009911/0.0009912, allocations: 94.42 kB / 478.9 MB, free: 10.41 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 3.746e-05/3.76e-05, allocations: 4.531 kB / 0.5551 GB, free: 86.08 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1718/0.1719, allocations: 81.59 MB / 0.6348 GB, free: 12.04 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.637/5.809, allocations: 2.149 GB / 2.783 GB, free: 79.35 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002971/5.81, allocations: 91.94 kB / 2.783 GB, free: 79.26 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 4.357/10.17, allocations: 0.9547 GB / 3.738 GB, free: 84.57 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.804e-06/10.17, allocations: 0 / 3.738 GB, free: 84.57 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0002837/10.17, allocations: 43.91 kB / 3.738 GB, free: 84.56 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 249 * Number of variables: 249 Notification: Performance of Generate backend data structure: time 0.007835/10.17, allocations: 2.096 MB / 3.74 GB, free: 83.64 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.856e-05/10.17, allocations: 6.875 kB / 3.74 GB, free: 83.64 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003597/10.18, allocations: 0.5434 MB / 3.741 GB, free: 83.54 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004563/10.18, allocations: 1.364 MB / 3.742 GB, free: 83.16 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006996/10.18, allocations: 217.8 kB / 3.742 GB, free: 83.16 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005323/10.18, allocations: 115 kB / 3.742 GB, free: 83.16 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003039/10.19, allocations: 1.217 MB / 3.744 GB, free: 83 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.167e-05/10.19, allocations: 0 / 3.744 GB, free: 83 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001928/10.19, allocations: 38.06 kB / 3.744 GB, free: 83 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.553e-05/10.19, allocations: 46.77 kB / 3.744 GB, free: 83 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002361/10.19, allocations: 1.036 MB / 3.745 GB, free: 83 MB / 0.698 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.01248/10.2, allocations: 5.513 MB / 3.75 GB, free: 80.87 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001389/10.2, allocations: 0.7805 MB / 3.751 GB, free: 80.84 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006433/10.2, allocations: 425.2 kB / 3.751 GB, free: 80.83 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009789/10.21, allocations: 0.7504 MB / 3.752 GB, free: 80.08 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008857/10.21, allocations: 0.5101 MB / 3.752 GB, free: 80.02 MB / 0.698 GB Notification: Performance of pre-optimization done (n=82): time 4.779e-06/10.21, allocations: 0 / 3.752 GB, free: 80.02 MB / 0.698 GB Notification: Performance of matching and sorting (n=82): time 0.002304/10.21, allocations: 0.942 MB / 3.753 GB, free: 79.89 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.76e-05/10.21, allocations: 116.3 kB / 3.754 GB, free: 79.76 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002441/10.21, allocations: 1.136 MB / 3.755 GB, free: 79.59 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0002889/10.21, allocations: 52.08 kB / 3.755 GB, free: 79.56 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.000804/10.21, allocations: 0.6362 MB / 3.755 GB, free: 79.35 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003787/10.21, allocations: 287.6 kB / 3.756 GB, free: 79.17 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001184/10.21, allocations: 18.06 kB / 3.756 GB, free: 79.17 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001642/10.21, allocations: 347.8 kB / 3.756 GB, free: 78.86 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008937/10.21, allocations: 399.6 kB / 3.756 GB, free: 78.86 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001193/10.22, allocations: 0.7025 MB / 3.757 GB, free: 78.55 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001045/10.22, allocations: 486.9 kB / 3.757 GB, free: 78.5 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.638e-06/10.22, allocations: 2.562 kB / 3.757 GB, free: 78.5 MB / 0.698 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.003081/10.22, allocations: 1.246 MB / 3.759 GB, free: 78.35 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.000483/10.22, allocations: 1.903 MB / 3.761 GB, free: 76.4 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.89e-05/10.22, allocations: 3.625 kB / 3.761 GB, free: 76.4 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.289e-05/10.22, allocations: 12.42 kB / 3.761 GB, free: 76.4 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001872/10.22, allocations: 353 kB / 3.761 GB, free: 76.4 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000633/10.22, allocations: 1.197 MB / 3.762 GB, free: 75.23 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002241/10.22, allocations: 243.7 kB / 3.762 GB, free: 75.16 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002183/10.23, allocations: 57.25 kB / 3.762 GB, free: 75.16 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.4e-05/10.23, allocations: 6.562 kB / 3.762 GB, free: 75.16 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002016/10.23, allocations: 1.092 MB / 3.763 GB, free: 75.11 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.468e-05/10.23, allocations: 3.25 kB / 3.763 GB, free: 75.11 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.687e-05/10.23, allocations: 11.78 kB / 3.763 GB, free: 75.11 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001464/10.23, allocations: 338.1 kB / 3.764 GB, free: 75.11 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.477e-05/10.23, allocations: 17.72 kB / 3.764 GB, free: 75.11 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001993/10.23, allocations: 229.1 kB / 3.764 GB, free: 75.06 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001641/10.23, allocations: 55.05 kB / 3.764 GB, free: 75.06 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,$PRE.TSet.T_start,TSet.T_start,$PRE.TSet.count,TSet.count,hex.flowRegime,hex.flowRegime_nominal,P.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (132): * Single equations (assignments): 129 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * 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: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003748/10.23, allocations: 174.9 kB / 3.764 GB, free: 74.95 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005012/10.23, allocations: 162.5 kB / 3.764 GB, free: 74.86 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00238/10.23, allocations: 1.112 MB / 3.765 GB, free: 74.78 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.25e-05/10.23, allocations: 11.16 kB / 3.765 GB, free: 74.78 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.925e-06/10.23, allocations: 2.312 kB / 3.765 GB, free: 74.78 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.094e-05/10.23, allocations: 7.594 kB / 3.765 GB, free: 74.78 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004988/10.24, allocations: 2.649 MB / 3.768 GB, free: 74.3 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.203e-06/10.24, allocations: 4.938 kB / 3.768 GB, free: 74.3 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001191/10.24, allocations: 264.1 kB / 3.768 GB, free: 74.29 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.085e-05/10.24, allocations: 12.83 kB / 3.768 GB, free: 74.29 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.083e-05/10.24, allocations: 28.72 kB / 3.768 GB, free: 74.29 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004241/10.24, allocations: 1.193 MB / 3.769 GB, free: 73.12 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.749e-06/10.24, allocations: 6.578 kB / 3.77 GB, free: 73.12 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002723/10.24, allocations: 1.942 MB / 3.771 GB, free: 72.48 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001012/10.24, allocations: 386.3 kB / 3.772 GB, free: 72.29 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004623/10.25, allocations: 19.89 kB / 3.772 GB, free: 72.29 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001589/10.25, allocations: 155.4 kB / 3.772 GB, free: 72.28 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001653/10.25, allocations: 77.17 kB / 3.772 GB, free: 72.27 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.748e-05/10.25, allocations: 40.05 kB / 3.772 GB, free: 72.27 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001548/10.25, allocations: 0.8731 MB / 3.773 GB, free: 72.15 MB / 0.698 GB Notification: Performance of sort global known variables: time 4.51e-07/10.25, allocations: 0 / 3.773 GB, free: 72.15 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.003897/10.25, allocations: 0.9871 MB / 3.774 GB, free: 72.05 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 4 (temSen.T,val.filter.s[1],val.filter.s[2],P.I.y) * Number of discrete variables: 4 ($whenCondition1,TSet.T_start,TSet.count,hex.flowRegime) * Number of discrete states: 1 (TSet.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (91): * Single equations (assignments): 85 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * 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: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004265/10.26, allocations: 2.088 MB / 3.776 GB, free: 71.44 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.004102/10.26, allocations: 1.763 MB / 3.778 GB, free: 71.29 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.327e-05/10.26, allocations: 3.938 kB / 3.778 GB, free: 71.29 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.00124/10.26, allocations: 0.529 MB / 3.778 GB, free: 71.28 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004656/10.27, allocations: 0.6758 MB / 3.779 GB, free: 71.27 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005946/10.27, allocations: 2.069 MB / 3.781 GB, free: 70.62 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001484/10.27, allocations: 1.263 MB / 3.782 GB, free: 69.9 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.003649/10.28, allocations: 0.5076 MB / 3.783 GB, free: 69.88 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004591/10.28, allocations: 102.8 kB / 3.783 GB, free: 69.88 MB / 0.698 GB Notification: Performance of SimCode: time 1.283e-06/10.28, allocations: 1.594 kB / 3.783 GB, free: 69.88 MB / 0.698 GB Notification: Performance of Templates: time 0.08627/10.36, allocations: 55.55 MB / 3.837 GB, free: 57.89 MB / 0.698 GB make -j1 -f IDEAS_IDEAS.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.makefile (rm -f IDEAS_IDEAS.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe ; mkfifo IDEAS_IDEAS.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe >> ../files/IDEAS_IDEAS.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.sim & ./IDEAS_IDEAS.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe 2>&1)