Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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/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.WetCoilEffectivenessNTUMassFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.HeatExchangers.Examples.WetCoilEffectivenessNTUMassFlow") translateModel(IDEAS.Fluid.HeatExchangers.Examples.WetCoilEffectivenessNTUMassFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.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.001126/0.001126, allocations: 110.4 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.001178/0.001178, allocations: 185.5 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.303/1.303, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7878/0.7878, allocations: 132.2 MB / 423.4 MB, free: 6.613 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001254/0.001254, allocations: 59.16 kB / 0.582 GB, free: 23.69 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1458/0.1471, allocations: 80.21 MB / 0.6604 GB, free: 10.26 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.Examples.WetCoilEffectivenessNTUMassFlow): time 0.5855/0.7326, allocations: 250.9 MB / 0.9054 GB, free: 10.89 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.02809/0.7607, allocations: 19.22 MB / 0.9241 GB, free: 7.617 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003888/0.7647, allocations: 75.56 kB / 0.9242 GB, free: 7.543 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.003503/0.7682, allocations: 1.212 MB / 0.9254 GB, free: 6.324 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.01075/0.779, allocations: 4.204 MB / 0.9295 GB, free: 2.105 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.006309/0.7853, allocations: 2.443 MB / 0.9319 GB, free: 15.69 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.007453/0.7928, allocations: 5.363 MB / 0.9371 GB, free: 10.32 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004372/0.7972, allocations: 1.917 MB / 0.939 GB, free: 8.371 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006484/0.8037, allocations: 2.447 MB / 0.9414 GB, free: 5.945 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003402/0.8071, allocations: 1.698 MB / 0.943 GB, free: 4.246 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.0009147/0.808, allocations: 276 kB / 0.9433 GB, free: 3.977 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009673/0.8177, allocations: 4.48 MB / 0.9477 GB, free: 15.49 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.001187/0.8189, allocations: 0.7242 MB / 0.9484 GB, free: 14.76 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.003135/0.8221, allocations: 1.404 MB / 0.9497 GB, free: 13.35 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.01319/0.8353, allocations: 5.388 MB / 0.955 GB, free: 7.949 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.993e-06/0.8353, allocations: 7.984 kB / 0.955 GB, free: 7.941 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.613e-06/0.8354, allocations: 0 / 0.955 GB, free: 7.941 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 0.0001384/0.8355, allocations: 4 kB / 0.955 GB, free: 7.938 MB / 0.7169 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.008303/0.8438, allocations: 3.289 MB / 0.9582 GB, free: 4.562 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.316e-05/0.8439, allocations: 8.031 kB / 0.9582 GB, free: 4.555 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01559/0.8595, allocations: 2.131 MB / 0.9603 GB, free: 2.418 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004364/0.8639, allocations: 1.925 MB / 0.9622 GB, free: 452 kB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001197/0.864, allocations: 131.2 kB / 0.9623 GB, free: 320 kB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003707/0.8644, allocations: 176 kB / 0.9625 GB, free: 144 kB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007318/0.8717, allocations: 2.864 MB / 0.9653 GB, free: 13.23 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.173e-05/0.8718, allocations: 0 / 0.9653 GB, free: 13.23 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002242/0.872, allocations: 72 kB / 0.9654 GB, free: 13.16 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.228e-05/0.8721, allocations: 59.2 kB / 0.9654 GB, free: 13.11 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01012/0.8822, allocations: 3.409 MB / 0.9687 GB, free: 9.691 MB / 0.7325 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.01596/0.8982, allocations: 9.082 MB / 0.9776 GB, free: 168 kB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007465/0.9057, allocations: 2.484 MB / 0.98 GB, free: 13.67 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004441/0.9102, allocations: 1.517 MB / 0.9815 GB, free: 12.15 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01053/0.9208, allocations: 5.259 MB / 0.9867 GB, free: 6.566 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005037/0.9259, allocations: 1.713 MB / 0.9883 GB, free: 4.82 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=150): time 5.851e-06/0.9259, allocations: 0 / 0.9883 GB, free: 4.82 MB / 0.7481 GB Notification: Performance of matching and sorting (n=150): time 0.02002/0.9459, allocations: 5.082 MB / 0.9933 GB, free: 15.68 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001051/0.9461, allocations: 153.8 kB / 0.9934 GB, free: 15.5 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003549/0.9496, allocations: 1.661 MB / 0.9951 GB, free: 13.84 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 0.0005074/0.9502, allocations: 57.7 kB / 0.9951 GB, free: 13.77 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.001033/0.9512, allocations: 0.8423 MB / 0.9959 GB, free: 12.92 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009138/0.9522, allocations: 0.489 MB / 0.9964 GB, free: 12.42 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001634/0.9538, allocations: 431 kB / 0.9968 GB, free: 11.99 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001053/0.9539, allocations: 305.1 kB / 0.9971 GB, free: 11.69 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00501/0.9589, allocations: 1.433 MB / 0.9985 GB, free: 10.25 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005345/0.9643, allocations: 1.752 MB / 1 GB, free: 8.391 MB / 0.7637 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.01256/0.9769, allocations: 3.665 MB / 1.004 GB, free: 4.602 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.936e-05/0.977, allocations: 0 / 1.004 GB, free: 4.602 MB / 0.7637 GB Notification: Performance of matching and sorting (n=234) (initialization): time 0.01465/0.9916, allocations: 3.968 MB / 1.008 GB, free: 0.6055 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 9.186e-05/0.9918, allocations: 71.39 kB / 1.008 GB, free: 0.5234 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.109e-05/0.9918, allocations: 4 kB / 1.008 GB, free: 0.5195 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00137/0.9932, allocations: 355.2 kB / 1.008 GB, free: 164 kB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004988/0.9982, allocations: 0.7256 MB / 1.009 GB, free: 15.43 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007701/1.006, allocations: 6.269 MB / 1.015 GB, free: 8.691 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004478/1.01, allocations: 434.2 kB / 1.015 GB, free: 8.27 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005977/1.011, allocations: 99.91 kB / 1.015 GB, free: 8.172 MB / 0.7794 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.006079/1.017, allocations: 1.831 MB / 1.017 GB, free: 6.336 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.005225/1.022, allocations: 1.76 MB / 1.019 GB, free: 4.469 MB / 0.7794 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.01189/1.034, allocations: 3.652 MB / 1.023 GB, free: 0.6953 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.877e-05/1.034, allocations: 4 kB / 1.023 GB, free: 0.6914 MB / 0.7794 GB Notification: Performance of matching and sorting (n=234) (initialization_lambda0): time 0.01472/1.049, allocations: 3.949 MB / 1.026 GB, free: 12.7 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 7.901e-05/1.049, allocations: 75.38 kB / 1.026 GB, free: 12.61 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.207e-05/1.049, allocations: 4.188 kB / 1.026 GB, free: 12.61 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001319/1.051, allocations: 355 kB / 1.027 GB, free: 12.25 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004733/1.055, allocations: 0.7255 MB / 1.027 GB, free: 11.53 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007084/1.062, allocations: 6.264 MB / 1.034 GB, free: 4.793 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004357/1.067, allocations: 397.5 kB / 1.034 GB, free: 4.406 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005222/1.067, allocations: 95.92 kB / 1.034 GB, free: 4.312 MB / 0.795 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: 27 * Number of states: 0 () * Number of discrete variables: 18 (hex.UAFroRated.isFulWet,hex.UAFroRated.isFulDry,hex.flowRegime_nominal,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 (212): * Single equations (assignments): 203 * 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.001005/1.068, allocations: 363.2 kB / 1.034 GB, free: 3.938 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008562/1.069, allocations: 197.6 kB / 1.035 GB, free: 3.742 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01368/1.083, allocations: 3.789 MB / 1.038 GB, free: 15.92 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.215e-05/1.083, allocations: 11.91 kB / 1.038 GB, free: 15.91 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.911e-06/1.083, allocations: 0 / 1.038 GB, free: 15.91 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001594/1.085, allocations: 0.5918 MB / 1.039 GB, free: 15.29 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007419/1.085, allocations: 32 kB / 1.039 GB, free: 15.26 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003349/1.089, allocations: 283.7 kB / 1.039 GB, free: 14.98 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002926/1.089, allocations: 97.17 kB / 1.039 GB, free: 14.89 MB / 0.8106 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01381/1.103, allocations: 3.652 MB / 1.043 GB, free: 11.18 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01493/1.118, allocations: 4.963 MB / 1.048 GB, free: 6.184 MB / 0.8106 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.004464/1.122, allocations: 1.474 MB / 1.049 GB, free: 4.711 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.002233/1.125, allocations: 1.134 MB / 1.05 GB, free: 3.586 MB / 0.8106 GB Notification: Performance of Backend: time 8.72e-07/1.125, allocations: 0 / 1.05 GB, free: 3.586 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.3375/1.462, allocations: 5.842 MB / 1.056 GB, free: 311.2 MB / 0.8106 GB Notification: Performance of SimCode: time 0.007913/1.47, allocations: 4.278 MB / 1.06 GB, free: 309.4 MB / 0.8106 GB Notification: Performance of Templates: time 0.0987/1.569, allocations: 74.03 MB / 1.132 GB, free: 258.7 MB / 0.8106 GB make -j1 -f IDEAS_IDEAS.Fluid.HeatExchangers.Examples.WetCoilEffectivenessNTUMassFlow.makefile (rm -f IDEAS_IDEAS.Fluid.HeatExchangers.Examples.WetCoilEffectivenessNTUMassFlow.pipe ; mkfifo IDEAS_IDEAS.Fluid.HeatExchangers.Examples.WetCoilEffectivenessNTUMassFlow.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.HeatExchangers.Examples.WetCoilEffectivenessNTUMassFlow.pipe >> ../files/IDEAS_IDEAS.Fluid.HeatExchangers.Examples.WetCoilEffectivenessNTUMassFlow.sim & ./IDEAS_IDEAS.Fluid.HeatExchangers.Examples.WetCoilEffectivenessNTUMassFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.HeatExchangers.Examples.WetCoilEffectivenessNTUMassFlow.pipe 2>&1)