Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.WetCoilEffectivenessNTUMassFlow.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Fluid.HeatExchangers.Examples.WetCoilEffectivenessNTUMassFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.WetCoilEffectivenessNTUMassFlow") translateModel(IBPSA.Fluid.HeatExchangers.Examples.WetCoilEffectivenessNTUMassFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.WetCoilEffectivenessNTUMassFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001095/0.001095, allocations: 115.9 kB / 17.09 MB, free: 5.988 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.001148/0.001148, allocations: 200.2 kB / 18.03 MB, free: 5.062 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.285/1.285, allocations: 222.9 MB / 241.7 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.701/0.701, allocations: 115.3 MB / 407.2 MB, free: 6.148 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001197/0.001197, allocations: 69.38 kB / 0.5584 GB, free: 32.1 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1333/0.1345, allocations: 76.18 MB / 0.6328 GB, free: 4.363 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatExchangers.Examples.WetCoilEffectivenessNTUMassFlow): time 0.5505/0.6851, allocations: 250.9 MB / 0.8778 GB, free: 1.391 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.0249/0.71, allocations: 19.26 MB / 0.8966 GB, free: 14.07 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003586/0.7136, allocations: 75.56 kB / 0.8966 GB, free: 14 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.003101/0.7168, allocations: 1.18 MB / 0.8978 GB, free: 12.81 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.01009/0.7269, allocations: 4.045 MB / 0.9017 GB, free: 8.746 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.005952/0.7329, allocations: 2.458 MB / 0.9041 GB, free: 6.312 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.007228/0.7401, allocations: 5.377 MB / 0.9094 GB, free: 0.9258 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003239/0.7434, allocations: 1.918 MB / 0.9113 GB, free: 14.98 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005845/0.7492, allocations: 2.441 MB / 0.9137 GB, free: 12.55 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003073/0.7523, allocations: 1.698 MB / 0.9153 GB, free: 10.86 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0008252/0.7532, allocations: 276 kB / 0.9156 GB, free: 10.59 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008725/0.7619, allocations: 4.487 MB / 0.92 GB, free: 6.09 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.001108/0.763, allocations: 0.7281 MB / 0.9207 GB, free: 5.359 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.002434/0.7655, allocations: 1.411 MB / 0.922 GB, free: 3.941 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.01004/0.7755, allocations: 5.372 MB / 0.9273 GB, free: 14.55 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.7756, allocations: 0 / 0.9273 GB, free: 14.55 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.062e-06/0.7756, allocations: 0 / 0.9273 GB, free: 14.55 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 0.0001233/0.7757, allocations: 0 / 0.9273 GB, free: 14.55 MB / 0.6856 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 421 * Number of variables: 421 Notification: Performance of Generate backend data structure: time 0.00821/0.7839, allocations: 3.303 MB / 0.9305 GB, free: 11.16 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.559e-05/0.784, allocations: 8.031 kB / 0.9305 GB, free: 11.16 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01575/0.7997, allocations: 2.139 MB / 0.9326 GB, free: 9.012 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004646/0.8044, allocations: 1.928 MB / 0.9345 GB, free: 7.035 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001614/0.8046, allocations: 135.2 kB / 0.9346 GB, free: 6.902 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006568/0.8053, allocations: 176 kB / 0.9348 GB, free: 6.73 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008558/0.8138, allocations: 2.86 MB / 0.9376 GB, free: 3.828 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.585e-05/0.8139, allocations: 0 / 0.9376 GB, free: 3.828 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004086/0.8143, allocations: 75.92 kB / 0.9377 GB, free: 3.754 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.32e-05/0.8144, allocations: 71.08 kB / 0.9377 GB, free: 3.684 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01105/0.8255, allocations: 3.401 MB / 0.941 GB, free: 284 kB / 0.6856 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.01647/0.842, allocations: 9.078 MB / 0.9499 GB, free: 6.758 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007547/0.8496, allocations: 2.462 MB / 0.9523 GB, free: 4.289 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004475/0.8541, allocations: 1.512 MB / 0.9538 GB, free: 2.777 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.009279/0.8634, allocations: 5.247 MB / 0.9589 GB, free: 13.2 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004874/0.8683, allocations: 1.713 MB / 0.9606 GB, free: 11.45 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=149): time 4.839e-06/0.8683, allocations: 0 / 0.9606 GB, free: 11.45 MB / 0.7169 GB Notification: Performance of matching and sorting (n=149): time 0.01859/0.8869, allocations: 5.066 MB / 0.9655 GB, free: 6.324 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.085e-05/0.887, allocations: 161.8 kB / 0.9657 GB, free: 6.137 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002759/0.8898, allocations: 1.674 MB / 0.9673 GB, free: 4.465 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.000288/0.8901, allocations: 57.7 kB / 0.9674 GB, free: 4.402 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007387/0.8908, allocations: 0.8347 MB / 0.9682 GB, free: 3.555 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006227/0.8915, allocations: 0.4929 MB / 0.9687 GB, free: 3.055 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009551/0.8925, allocations: 427.1 kB / 0.9691 GB, free: 2.633 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 7.777e-05/0.8925, allocations: 309.1 kB / 0.9694 GB, free: 2.328 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004579/0.8971, allocations: 1.445 MB / 0.9708 GB, free: 0.8789 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004796/0.9019, allocations: 1.765 MB / 0.9725 GB, free: 15 MB / 0.7325 GB Notification: It was not possible to check the given initialization system for consistency symbolically, because the relevant equations are part of an algebraic loop. This is not supported yet. Notification: Performance of analyzeInitialSystem (initialization): time 0.01124/0.9132, allocations: 3.672 MB / 0.9761 GB, free: 11.21 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.419e-05/0.9132, allocations: 4 kB / 0.9761 GB, free: 11.2 MB / 0.7325 GB Notification: Performance of matching and sorting (n=237) (initialization): time 0.01375/0.927, allocations: 3.968 MB / 0.98 GB, free: 7.199 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 7.538e-05/0.9271, allocations: 75.33 kB / 0.9801 GB, free: 7.113 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.972e-05/0.9271, allocations: 8 kB / 0.9801 GB, free: 7.105 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001304/0.9284, allocations: 343.3 kB / 0.9804 GB, free: 6.758 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004671/0.9331, allocations: 0.7295 MB / 0.9811 GB, free: 6.027 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006811/0.94, allocations: 6.266 MB / 0.9872 GB, free: 15.29 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004394/0.9444, allocations: 440.5 kB / 0.9876 GB, free: 14.86 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004989/0.9449, allocations: 103.9 kB / 0.9877 GB, free: 14.76 MB / 0.7481 GB Warning: The initial conditions are over specified. The following 2 initial equations are redundant, so they are removed from the initialization system: hex.UAFroRated.TAirIn = 293.15 hex.UAFroRated.TWatIn = 293.15. Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.005747/0.9507, allocations: 1.839 MB / 0.9895 GB, free: 12.92 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004997/0.9557, allocations: 1.765 MB / 0.9913 GB, free: 11.04 MB / 0.7481 GB Notification: It was not possible to check the given initialization system for consistency symbolically, because the relevant equations are part of an algebraic loop. This is not supported yet. Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01123/0.9669, allocations: 3.648 MB / 0.9948 GB, free: 7.277 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.487e-05/0.967, allocations: 4 kB / 0.9948 GB, free: 7.273 MB / 0.7481 GB Notification: Performance of matching and sorting (n=237) (initialization_lambda0): time 0.01339/0.9804, allocations: 3.972 MB / 0.9987 GB, free: 3.266 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 6.355e-05/0.9804, allocations: 71.39 kB / 0.9988 GB, free: 3.184 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.769e-05/0.9805, allocations: 8 kB / 0.9988 GB, free: 3.176 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001236/0.9817, allocations: 343.3 kB / 0.9991 GB, free: 2.828 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005077/0.9868, allocations: 0.7256 MB / 0.9998 GB, free: 2.102 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00752/0.9944, allocations: 6.258 MB / 1.006 GB, free: 11.36 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004477/0.9989, allocations: 406.4 kB / 1.006 GB, free: 10.97 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006224/0.9995, allocations: 99.91 kB / 1.006 GB, free: 10.87 MB / 0.7637 GB Warning: The initial conditions are over specified. The following 2 initial equations are redundant, so they are removed from the initialization_lambda0 system: hex.UAFroRated.TAirIn = 293.15 hex.UAFroRated.TWatIn = 293.15. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 26 * Number of states: 0 () * Number of discrete variables: 21 (hex.UAFroRated.isFulWet,hex.UAFroRated.isFulDry,hex.flowRegime_nominal,hex.dryWetCalcs.fullyDry.cfg,hex.dryWetCalcs.fullyWet.cfg,hex.dryWetCalcs.cfg,hex.flowRegime,mAirGai.nextEventScaled,mAirGai.nextEvent,$PRE.mAirGai.nextEvent,mAirGai.last,mAirGai.b,mAirGai.a,mWatGai.nextEventScaled,mWatGai.nextEvent,$PRE.mWatGai.nextEvent,mWatGai.last,mWatGai.b,mWatGai.a,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (215): * Single equations (assignments): 206 * Array equations: 2 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 4 * 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): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 4 systems {(1,1), (1,3), (1,4), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.001139/1.001, allocations: 369 kB / 1.007 GB, free: 10.49 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009772/1.002, allocations: 197.6 kB / 1.007 GB, free: 10.29 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01308/1.015, allocations: 3.779 MB / 1.011 GB, free: 6.477 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.927e-05/1.015, allocations: 11.91 kB / 1.011 GB, free: 6.465 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.528e-06/1.015, allocations: 4 kB / 1.011 GB, free: 6.461 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001449/1.016, allocations: 0.5996 MB / 1.011 GB, free: 5.84 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006747/1.017, allocations: 28 kB / 1.011 GB, free: 5.812 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003474/1.02, allocations: 300.1 kB / 1.012 GB, free: 5.52 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002791/1.021, allocations: 97.17 kB / 1.012 GB, free: 5.426 MB / 0.7637 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01318/1.034, allocations: 3.636 MB / 1.015 GB, free: 1.738 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0141/1.048, allocations: 4.936 MB / 1.02 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.004233/1.052, allocations: 1.474 MB / 1.021 GB, free: 11.29 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.001965/1.054, allocations: 1.135 MB / 1.023 GB, free: 10.17 MB / 0.7794 GB Notification: Performance of Backend: time 4.41e-07/1.054, allocations: 0 / 1.023 GB, free: 10.17 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.02/1.074, allocations: 5.876 MB / 1.028 GB, free: 4.207 MB / 0.7794 GB Notification: Performance of SimCode: time 0.008064/1.082, allocations: 4.27 MB / 1.032 GB, free: 15.87 MB / 0.795 GB Notification: Performance of Templates: time 0.3966/1.479, allocations: 74.18 MB / 1.105 GB, free: 285.4 MB / 0.795 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.WetCoilEffectivenessNTUMassFlow.makefile (rm -f IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.WetCoilEffectivenessNTUMassFlow.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.WetCoilEffectivenessNTUMassFlow.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.WetCoilEffectivenessNTUMassFlow.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.WetCoilEffectivenessNTUMassFlow.sim & ./IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.WetCoilEffectivenessNTUMassFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.WetCoilEffectivenessNTUMassFlow.pipe 2>&1)