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/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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001336/0.001336, allocations: 109.9 kB / 16.42 MB, free: 6.512 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.001135/0.001136, allocations: 187.9 kB / 17.35 MB, free: 5.738 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.338/1.338, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.793/0.793, allocations: 132.2 MB / 423.4 MB, free: 6.566 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001243/0.001243, allocations: 61.19 kB / 0.582 GB, free: 23.86 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1452/0.1464, allocations: 80.22 MB / 0.6603 GB, free: 10.24 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl): time 0.552/0.6984, allocations: 211.1 MB / 0.8665 GB, free: 2.391 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.01589/0.7144, allocations: 10.62 MB / 0.8768 GB, free: 8.137 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002541/0.717, allocations: 59.62 kB / 0.8769 GB, free: 8.078 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.002794/0.7198, allocations: 0.8539 MB / 0.8777 GB, free: 7.219 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.007013/0.7269, allocations: 2.562 MB / 0.8802 GB, free: 4.645 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.005892/0.7328, allocations: 2.304 MB / 0.8825 GB, free: 2.371 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.005432/0.7382, allocations: 3.695 MB / 0.8861 GB, free: 14.66 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002631/0.7409, allocations: 1.339 MB / 0.8874 GB, free: 13.3 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005069/0.746, allocations: 2.005 MB / 0.8894 GB, free: 11.29 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002567/0.7486, allocations: 1.161 MB / 0.8905 GB, free: 10.13 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0006883/0.7493, allocations: 152 kB / 0.8906 GB, free: 9.98 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006264/0.7556, allocations: 3.072 MB / 0.8936 GB, free: 6.902 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0008987/0.7565, allocations: 470.3 kB / 0.8941 GB, free: 6.441 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.001991/0.7585, allocations: 0.8978 MB / 0.895 GB, free: 5.539 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.007062/0.7656, allocations: 3.346 MB / 0.8982 GB, free: 2.184 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 7.824e-06/0.7656, allocations: 0 / 0.8982 GB, free: 2.184 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.124e-06/0.7656, allocations: 3.938 kB / 0.8982 GB, free: 2.18 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 6.968e-05/0.7657, allocations: 0 / 0.8982 GB, free: 2.18 MB / 0.6544 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.006046/0.7717, allocations: 2.353 MB / 0.9005 GB, free: 15.77 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.07e-05/0.7718, allocations: 8.031 kB / 0.9005 GB, free: 15.76 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003144/0.7749, allocations: 0.5442 MB / 0.9011 GB, free: 15.21 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003064/0.778, allocations: 1.308 MB / 0.9023 GB, free: 13.85 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.639e-05/0.7781, allocations: 90 kB / 0.9024 GB, free: 13.76 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002701/0.7784, allocations: 108 kB / 0.9025 GB, free: 13.66 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002953/0.7814, allocations: 1.318 MB / 0.9038 GB, free: 12.3 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.201e-05/0.7814, allocations: 4 kB / 0.9038 GB, free: 12.3 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001185/0.7816, allocations: 36 kB / 0.9039 GB, free: 12.27 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.986e-05/0.7816, allocations: 46.86 kB / 0.9039 GB, free: 12.22 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003319/0.7849, allocations: 1.339 MB / 0.9052 GB, free: 10.88 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.009813/0.7948, allocations: 5.267 MB / 0.9104 GB, free: 5.312 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002523/0.7973, allocations: 1.008 MB / 0.9113 GB, free: 4.281 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001305/0.7986, allocations: 0.5414 MB / 0.9119 GB, free: 3.738 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001141/0.7998, allocations: 0.7513 MB / 0.9126 GB, free: 2.84 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001546/0.8014, allocations: 0.6026 MB / 0.9132 GB, free: 2.223 MB / 0.67 GB Notification: Performance of pre-optimization done (n=82): time 3.867e-06/0.8014, allocations: 3.938 kB / 0.9132 GB, free: 2.219 MB / 0.67 GB Notification: Performance of matching and sorting (n=82): time 0.004436/0.8058, allocations: 1.573 MB / 0.9147 GB, free: 0.6367 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.406e-05/0.8059, allocations: 60.06 kB / 0.9148 GB, free: 0.5664 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002014/0.8079, allocations: 1.321 MB / 0.9161 GB, free: 15.23 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0001761/0.8081, allocations: 49.7 kB / 0.9161 GB, free: 15.18 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005669/0.8087, allocations: 0.6425 MB / 0.9167 GB, free: 14.53 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002833/0.809, allocations: 291.9 kB / 0.917 GB, free: 14.24 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004081/0.8094, allocations: 234.7 kB / 0.9173 GB, free: 14.01 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001258/0.8095, allocations: 349.9 kB / 0.9176 GB, free: 13.66 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001353/0.8109, allocations: 0.5017 MB / 0.9181 GB, free: 13.16 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001629/0.8125, allocations: 0.7828 MB / 0.9188 GB, free: 12.27 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00276/0.8153, allocations: 1.171 MB / 0.92 GB, free: 11.03 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.971e-06/0.8153, allocations: 0 / 0.92 GB, free: 11.03 MB / 0.6856 GB Notification: Performance of matching and sorting (n=134) (initialization): time 0.003652/0.819, allocations: 1.466 MB / 0.9214 GB, free: 9.547 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 5.171e-05/0.819, allocations: 41.69 kB / 0.9215 GB, free: 9.5 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.503e-05/0.8191, allocations: 8 kB / 0.9215 GB, free: 9.492 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.298e-05/0.8191, allocations: 8.188 kB / 0.9215 GB, free: 9.484 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001737/0.8208, allocations: 351.4 kB / 0.9218 GB, free: 9.141 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006886/0.8215, allocations: 1.192 MB / 0.923 GB, free: 7.902 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001563/0.8231, allocations: 188.9 kB / 0.9231 GB, free: 7.719 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001259/0.8233, allocations: 55.91 kB / 0.9232 GB, free: 7.664 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001763/0.825, allocations: 0.7532 MB / 0.9239 GB, free: 6.91 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001535/0.8266, allocations: 0.7698 MB / 0.9247 GB, free: 6.043 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002607/0.8292, allocations: 1.163 MB / 0.9258 GB, free: 4.812 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.358e-06/0.8292, allocations: 0 / 0.9258 GB, free: 4.812 MB / 0.6856 GB Notification: Performance of matching and sorting (n=134) (initialization_lambda0): time 0.00347/0.8327, allocations: 1.454 MB / 0.9272 GB, free: 3.34 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 3.222e-05/0.8327, allocations: 33.7 kB / 0.9273 GB, free: 3.301 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.356e-06/0.8327, allocations: 4 kB / 0.9273 GB, free: 3.297 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.13e-05/0.8328, allocations: 12 kB / 0.9273 GB, free: 3.285 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001441/0.8343, allocations: 311.7 kB / 0.9276 GB, free: 2.98 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.125e-05/0.8343, allocations: 15.94 kB / 0.9276 GB, free: 2.965 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001591/0.8359, allocations: 167.1 kB / 0.9278 GB, free: 2.801 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001302/0.836, allocations: 55.91 kB / 0.9278 GB, free: 2.746 MB / 0.6856 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.0004402/0.8365, allocations: 250 kB / 0.9281 GB, free: 2.496 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005269/0.837, allocations: 158 kB / 0.9282 GB, free: 2.34 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003533/0.8406, allocations: 1.312 MB / 0.9295 GB, free: 1.023 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.288e-05/0.8406, allocations: 3.984 kB / 0.9295 GB, free: 1.02 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/0.8406, allocations: 0 / 0.9295 GB, free: 1.02 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007023/0.8413, allocations: 354.8 kB / 0.9298 GB, free: 0.6523 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000277/0.8416, allocations: 27.94 kB / 0.9299 GB, free: 0.625 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001153/0.8428, allocations: 83.91 kB / 0.9299 GB, free: 0.543 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001762/0.8429, allocations: 64.86 kB / 0.93 GB, free: 492 kB / 0.6856 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003797/0.8468, allocations: 1.303 MB / 0.9313 GB, free: 15.16 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004423/0.8512, allocations: 1.994 MB / 0.9332 GB, free: 13.15 MB / 0.7012 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00134/0.8525, allocations: 0.5388 MB / 0.9337 GB, free: 12.61 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.001506/0.8541, allocations: 0.8899 MB / 0.9346 GB, free: 11.72 MB / 0.7012 GB Notification: Performance of Backend: time 4.51e-07/0.8541, allocations: 0 / 0.9346 GB, free: 11.72 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.006744/0.8608, allocations: 2.3 MB / 0.9369 GB, free: 9.41 MB / 0.7012 GB Notification: Performance of SimCode: time 0.005474/0.8663, allocations: 3.16 MB / 0.9399 GB, free: 6.211 MB / 0.7012 GB Notification: Performance of Templates: time 0.0628/0.9291, allocations: 40.57 MB / 0.9796 GB, free: 13.95 MB / 0.7481 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)