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.001512/0.001512, allocations: 169.3 kB / 7.64 MB, free: 1.414 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7982/0.7982, allocations: 130.7 MB / 138.7 MB, free: 3.574 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.541/1.541, allocations: 221.5 MB / 391.8 MB, free: 14.21 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.0009391/0.0009391, allocations: 88.19 kB / 473.9 MB, free: 4.449 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.774e-05/2.776e-05, allocations: 4 kB / 0.5485 GB, free: 13.04 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5047/0.5047, allocations: 81.57 MB / 0.6282 GB, free: 42.92 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.259/5.764, allocations: 2.148 GB / 2.776 GB, free: 91.23 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000243/5.764, allocations: 86.14 kB / 2.776 GB, free: 91.18 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 4.217/9.981, allocations: 0.9465 GB / 3.723 GB, free: 90.88 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.397e-06/9.981, allocations: 0 / 3.723 GB, free: 90.88 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0003743/9.981, allocations: 52.36 kB / 3.723 GB, free: 90.88 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.01042/9.992, allocations: 2.094 MB / 3.725 GB, free: 89.97 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 6.761e-05/9.992, allocations: 10.78 kB / 3.725 GB, free: 89.97 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004198/9.996, allocations: 0.5462 MB / 3.725 GB, free: 89.88 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005625/10, allocations: 1.358 MB / 3.727 GB, free: 89.57 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007071/10, allocations: 170.9 kB / 3.727 GB, free: 89.57 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007076/10, allocations: 67.58 kB / 3.727 GB, free: 89.57 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002693/10.01, allocations: 0.9347 MB / 3.728 GB, free: 89.56 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003141/10.01, allocations: 1.072 MB / 3.729 GB, free: 89.42 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.633e-05/10.01, allocations: 7.047 kB / 3.729 GB, free: 89.41 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001858/10.01, allocations: 2.719 kB / 3.729 GB, free: 89.41 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.393e-05/10.01, allocations: 45.06 kB / 3.729 GB, free: 89.41 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.01327/10.02, allocations: 5.282 MB / 3.734 GB, free: 87.39 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001349/10.02, allocations: 0.7538 MB / 3.735 GB, free: 87.35 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006673/10.02, allocations: 410.7 kB / 3.735 GB, free: 87.34 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00104/10.03, allocations: 0.7556 MB / 3.736 GB, free: 86.58 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009461/10.03, allocations: 497.6 kB / 3.736 GB, free: 86.53 MB / 0.698 GB Notification: Performance of pre-optimization done (n=82): time 5.63e-06/10.03, allocations: 2.906 kB / 3.736 GB, free: 86.53 MB / 0.698 GB Notification: Performance of matching and sorting (n=82): time 0.002893/10.03, allocations: 0.9545 MB / 3.737 GB, free: 86.41 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.068e-05/10.03, allocations: 113.9 kB / 3.737 GB, free: 86.28 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00196/10.03, allocations: 0.8986 MB / 3.738 GB, free: 86.12 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0002306/10.03, allocations: 29.27 kB / 3.738 GB, free: 86.09 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007799/10.03, allocations: 0.6447 MB / 3.739 GB, free: 85.84 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003031/10.03, allocations: 274.2 kB / 3.739 GB, free: 85.66 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.776e-05/10.03, allocations: 0 / 3.739 GB, free: 85.66 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001221/10.03, allocations: 346.9 kB / 3.74 GB, free: 85.36 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006297/10.03, allocations: 377.7 kB / 3.74 GB, free: 85.36 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008855/10.03, allocations: 0.6817 MB / 3.741 GB, free: 85.04 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001277/10.04, allocations: 0.4937 MB / 3.741 GB, free: 85.02 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.023e-05/10.04, allocations: 0 / 3.741 GB, free: 85.02 MB / 0.698 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.002787/10.04, allocations: 1.204 MB / 3.742 GB, free: 84.89 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006887/10.04, allocations: 2.068 MB / 3.744 GB, free: 82.77 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.904e-05/10.04, allocations: 3.75 kB / 3.744 GB, free: 82.77 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.37e-05/10.04, allocations: 10.31 kB / 3.744 GB, free: 82.77 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00194/10.04, allocations: 357.2 kB / 3.745 GB, free: 82.77 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007308/10.04, allocations: 1.207 MB / 3.746 GB, free: 81.6 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002218/10.04, allocations: 194.1 kB / 3.746 GB, free: 81.55 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000211/10.05, allocations: 54.41 kB / 3.746 GB, free: 81.55 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.562e-05/10.05, allocations: 12.19 kB / 3.746 GB, free: 81.55 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002281/10.05, allocations: 1.035 MB / 3.747 GB, free: 81.52 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.026e-05/10.05, allocations: 7.594 kB / 3.747 GB, free: 81.52 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.862e-05/10.05, allocations: 11.44 kB / 3.747 GB, free: 81.52 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001512/10.05, allocations: 336.4 kB / 3.747 GB, free: 81.52 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.755e-05/10.05, allocations: 12.08 kB / 3.747 GB, free: 81.52 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002008/10.05, allocations: 183.1 kB / 3.748 GB, free: 81.48 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002149/10.05, allocations: 58.94 kB / 3.748 GB, free: 81.48 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * 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.0004749/10.05, allocations: 139.9 kB / 3.748 GB, free: 81.37 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006312/10.05, allocations: 134.2 kB / 3.748 GB, free: 81.3 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003105/10.06, allocations: 1.1 MB / 3.749 GB, free: 81.21 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.794e-05/10.06, allocations: 10.12 kB / 3.749 GB, free: 81.21 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.706e-06/10.06, allocations: 0 / 3.749 GB, free: 81.21 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.341e-05/10.06, allocations: 3.984 kB / 3.749 GB, free: 81.21 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006121/10.06, allocations: 2.51 MB / 3.751 GB, free: 80.77 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.2e-05/10.06, allocations: 6.531 kB / 3.751 GB, free: 80.77 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001287/10.06, allocations: 255.2 kB / 3.752 GB, free: 80.77 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.496e-05/10.06, allocations: 3.906 kB / 3.752 GB, free: 80.77 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001337/10.06, allocations: 27.59 kB / 3.752 GB, free: 80.77 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000564/10.06, allocations: 1.191 MB / 3.753 GB, free: 79.6 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.628e-06/10.06, allocations: 8.453 kB / 3.753 GB, free: 79.59 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003433/10.07, allocations: 1.912 MB / 3.755 GB, free: 78.96 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001082/10.07, allocations: 360.9 kB / 3.755 GB, free: 78.78 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005119/10.07, allocations: 7.438 kB / 3.755 GB, free: 78.78 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001759/10.07, allocations: 131.5 kB / 3.755 GB, free: 78.77 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001932/10.07, allocations: 78.36 kB / 3.755 GB, free: 78.77 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000116/10.07, allocations: 41.53 kB / 3.755 GB, free: 78.77 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001542/10.07, allocations: 0.6639 MB / 3.756 GB, free: 78.66 MB / 0.698 GB Notification: Performance of sort global known variables: time 7.12e-07/10.07, allocations: 0 / 3.756 GB, free: 78.66 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.005518/10.08, allocations: 0.9358 MB / 3.757 GB, free: 78.52 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.006775/10.08, allocations: 2.287 MB / 3.759 GB, free: 77.91 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.004659/10.09, allocations: 1.688 MB / 3.761 GB, free: 77.77 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.181e-05/10.09, allocations: 0 / 3.761 GB, free: 77.77 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001101/10.09, allocations: 0.5084 MB / 3.761 GB, free: 77.75 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003636/10.09, allocations: 0.4902 MB / 3.762 GB, free: 77.74 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007314/10.1, allocations: 1.99 MB / 3.764 GB, free: 77.1 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001747/10.1, allocations: 1.257 MB / 3.765 GB, free: 76.38 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.003597/10.11, allocations: 468.4 kB / 3.765 GB, free: 76.36 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004992/10.11, allocations: 100.4 kB / 3.765 GB, free: 76.35 MB / 0.698 GB Notification: Performance of SimCode: time 1.773e-06/10.11, allocations: 0 / 3.765 GB, free: 76.35 MB / 0.698 GB Notification: Performance of Templates: time 0.07127/10.18, allocations: 35.2 MB / 3.8 GB, free: 74.32 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)