Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/Modelica 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) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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_dev_IDEAS.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl") translateModel(IDEAS.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001586/0.001586, allocations: 106.5 kB / 16.41 MB, free: 6.516 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001757/0.001757, allocations: 183 kB / 17.34 MB, free: 5.734 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.467/1.467, allocations: 222.9 MB / 241 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8629/0.8629, allocations: 135.2 MB / 426.4 MB, free: 4.121 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00195/0.00195, allocations: 61.12 kB / 0.5863 GB, free: 21.61 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1788/0.1807, allocations: 80.93 MB / 0.6654 GB, free: 5.75 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl): time 0.6715/0.8522, allocations: 211.6 MB / 0.872 GB, free: 11.62 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.01817/0.8704, allocations: 10.64 MB / 0.8824 GB, free: 0.957 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002879/0.8732, allocations: 59.62 kB / 0.8825 GB, free: 0.8984 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.00272/0.876, allocations: 0.8654 MB / 0.8833 GB, free: 28 kB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.0077/0.8837, allocations: 2.57 MB / 0.8858 GB, free: 13.45 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.006587/0.8903, allocations: 2.287 MB / 0.888 GB, free: 11.19 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.006545/0.8968, allocations: 3.69 MB / 0.8916 GB, free: 7.488 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002278/0.8991, allocations: 1.126 MB / 0.8927 GB, free: 6.328 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00541/0.9045, allocations: 2.021 MB / 0.8947 GB, free: 4.305 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002487/0.907, allocations: 1.144 MB / 0.8958 GB, free: 3.156 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0004097/0.9074, allocations: 152 kB / 0.896 GB, free: 3.008 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006495/0.9139, allocations: 3.072 MB / 0.899 GB, free: 15.93 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0007147/0.9146, allocations: 490.1 kB / 0.8994 GB, free: 15.45 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.001447/0.916, allocations: 0.8977 MB / 0.9003 GB, free: 14.55 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.00762/0.9237, allocations: 3.367 MB / 0.9036 GB, free: 11.17 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 6.983e-06/0.9237, allocations: 4 kB / 0.9036 GB, free: 11.17 MB / 0.67 GB Notification: Performance of FrontEnd: time 2.385e-06/0.9237, allocations: 0 / 0.9036 GB, free: 11.17 MB / 0.67 GB Notification: Performance of Transformations before backend: time 4.752e-05/0.9237, allocations: 0 / 0.9036 GB, free: 11.17 MB / 0.67 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.006067/0.9298, allocations: 2.412 MB / 0.906 GB, free: 8.691 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 5.623e-05/0.9298, allocations: 17.05 kB / 0.906 GB, free: 8.676 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003405/0.9332, allocations: 0.5569 MB / 0.9065 GB, free: 8.117 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004123/0.9374, allocations: 1.309 MB / 0.9078 GB, free: 6.754 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001326/0.9375, allocations: 86 kB / 0.9079 GB, free: 6.672 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003123/0.9378, allocations: 116 kB / 0.908 GB, free: 6.559 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003658/0.9415, allocations: 1.318 MB / 0.9093 GB, free: 5.207 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.755e-05/0.9415, allocations: 0 / 0.9093 GB, free: 5.207 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001252/0.9416, allocations: 36 kB / 0.9093 GB, free: 5.172 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.302e-05/0.9417, allocations: 50.86 kB / 0.9094 GB, free: 5.125 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003892/0.9456, allocations: 1.335 MB / 0.9107 GB, free: 3.789 MB / 0.67 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.01136/0.957, allocations: 5.288 MB / 0.9158 GB, free: 14.2 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002571/0.9595, allocations: 0.9678 MB / 0.9168 GB, free: 13.21 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001336/0.9609, allocations: 0.5002 MB / 0.9173 GB, free: 12.71 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001225/0.9621, allocations: 0.7513 MB / 0.918 GB, free: 11.81 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001543/0.9636, allocations: 0.6093 MB / 0.9186 GB, free: 11.19 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=82): time 2.785e-06/0.9636, allocations: 0 / 0.9186 GB, free: 11.19 MB / 0.6856 GB Notification: Performance of matching and sorting (n=82): time 0.004715/0.9683, allocations: 1.582 MB / 0.9201 GB, free: 9.598 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.181e-05/0.9684, allocations: 60.06 kB / 0.9202 GB, free: 9.527 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002073/0.9705, allocations: 1.329 MB / 0.9215 GB, free: 8.188 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0001783/0.9707, allocations: 45.7 kB / 0.9215 GB, free: 8.137 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.000652/0.9713, allocations: 0.6475 MB / 0.9222 GB, free: 7.484 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003128/0.9716, allocations: 301.4 kB / 0.9225 GB, free: 7.188 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004374/0.9721, allocations: 238.8 kB / 0.9227 GB, free: 6.949 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001731/0.9722, allocations: 345.9 kB / 0.923 GB, free: 6.605 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00141/0.9736, allocations: 0.5134 MB / 0.9235 GB, free: 6.09 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001708/0.9754, allocations: 0.7738 MB / 0.9243 GB, free: 5.219 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002897/0.9783, allocations: 1.171 MB / 0.9254 GB, free: 3.973 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.719e-06/0.9783, allocations: 0 / 0.9254 GB, free: 3.973 MB / 0.6856 GB Notification: Performance of matching and sorting (n=134) (initialization): time 0.003915/0.9822, allocations: 1.474 MB / 0.9269 GB, free: 2.484 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 5.713e-05/0.9822, allocations: 41.69 kB / 0.9269 GB, free: 2.438 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.47e-05/0.9822, allocations: 4 kB / 0.9269 GB, free: 2.434 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.817e-05/0.9823, allocations: 15.94 kB / 0.9269 GB, free: 2.418 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001709/0.984, allocations: 339.7 kB / 0.9272 GB, free: 2.086 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008741/0.9849, allocations: 1.203 MB / 0.9284 GB, free: 0.8359 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001677/0.9865, allocations: 195.2 kB / 0.9286 GB, free: 0.6445 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001338/0.9867, allocations: 55.97 kB / 0.9287 GB, free: 0.5898 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002352/0.989, allocations: 0.7524 MB / 0.9294 GB, free: 15.83 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002361/0.9914, allocations: 0.762 MB / 0.9301 GB, free: 14.97 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002893/0.9943, allocations: 1.167 MB / 0.9313 GB, free: 13.73 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.841e-06/0.9943, allocations: 0 / 0.9313 GB, free: 13.73 MB / 0.7012 GB Notification: Performance of matching and sorting (n=134) (initialization_lambda0): time 0.004036/0.9983, allocations: 1.466 MB / 0.9327 GB, free: 12.25 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 4.214e-05/0.9984, allocations: 33.7 kB / 0.9327 GB, free: 12.21 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.044e-05/0.9984, allocations: 4 kB / 0.9327 GB, free: 12.21 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.151e-05/0.9984, allocations: 12 kB / 0.9328 GB, free: 12.2 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001513/0.9999, allocations: 307.7 kB / 0.9331 GB, free: 11.89 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.396e-05/0.9999, allocations: 8 kB / 0.9331 GB, free: 11.89 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001604/1.002, allocations: 173.4 kB / 0.9332 GB, free: 11.72 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001162/1.002, allocations: 51.97 kB / 0.9333 GB, free: 11.67 MB / 0.7012 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 8 (hex.flowRegime_nominal,hex.flowRegime,TSet.count,$PRE.TSet.count,TSet.T_start,$PRE.TSet.T_start,$whenCondition1,P.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (133): * Single equations (assignments): 130 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004/1.002, allocations: 253.9 kB / 0.9335 GB, free: 11.41 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004324/1.002, allocations: 159 kB / 0.9337 GB, free: 11.26 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003629/1.006, allocations: 1.316 MB / 0.935 GB, free: 9.934 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.178e-05/1.006, allocations: 12 kB / 0.935 GB, free: 9.922 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.412e-06/1.006, allocations: 0 / 0.935 GB, free: 9.922 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.441e-05/1.006, allocations: 11.86 kB / 0.935 GB, free: 9.91 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006523/1.013, allocations: 2.824 MB / 0.9377 GB, free: 6.984 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.185e-05/1.013, allocations: 8.453 kB / 0.9377 GB, free: 6.977 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001198/1.014, allocations: 223.6 kB / 0.938 GB, free: 6.758 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.437e-05/1.014, allocations: 12 kB / 0.938 GB, free: 6.746 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.711e-05/1.014, allocations: 31.97 kB / 0.938 GB, free: 6.715 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009083/1.015, allocations: 1.188 MB / 0.9392 GB, free: 5.48 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.669e-06/1.015, allocations: 4.188 kB / 0.9392 GB, free: 5.477 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005032/1.02, allocations: 2.05 MB / 0.9412 GB, free: 3.363 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008579/1.021, allocations: 375.9 kB / 0.9415 GB, free: 2.977 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002138/1.021, allocations: 31.98 kB / 0.9416 GB, free: 2.945 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001098/1.022, allocations: 83.92 kB / 0.9416 GB, free: 2.863 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001842/1.022, allocations: 76.48 kB / 0.9417 GB, free: 2.789 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001012/1.022, allocations: 39.97 kB / 0.9417 GB, free: 2.75 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.001403/1.024, allocations: 0.8938 MB / 0.9426 GB, free: 1.859 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.4e-07/1.024, allocations: 0 / 0.9426 GB, free: 1.859 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.002267/1.026, allocations: 0.7993 MB / 0.9434 GB, free: 1.059 MB / 0.7012 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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) * Number of clocked states: 0 () * 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 (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.00123/1.027, allocations: 459.7 kB / 0.9438 GB, free: 0.6094 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.005768/1.033, allocations: 1.957 MB / 0.9457 GB, free: 14.63 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 5.491e-06/1.033, allocations: 4.125 kB / 0.9458 GB, free: 14.63 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.001649/1.035, allocations: 0.5899 MB / 0.9463 GB, free: 14.04 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003429/1.038, allocations: 0.6796 MB / 0.947 GB, free: 13.36 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005913/1.044, allocations: 2.777 MB / 0.9497 GB, free: 10.5 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001044/1.045, allocations: 1.223 MB / 0.9509 GB, free: 9.25 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006304/1.046, allocations: 143.4 kB / 0.951 GB, free: 9.109 MB / 0.7169 GB Notification: Performance of SimCode: time 9.11e-07/1.046, allocations: 0 / 0.951 GB, free: 9.109 MB / 0.7169 GB Notification: Performance of Templates: time 0.05695/1.103, allocations: 38.06 MB / 0.9882 GB, free: 3.184 MB / 0.7481 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.makefile (rm -f IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.sim & ./IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe 2>&1)