Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-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.WetCoilEffectivenessNTUMassFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.WetCoilEffectivenessNTUMassFlow") translateModel(IDEAS.Fluid.HeatExchangers.Examples.WetCoilEffectivenessNTUMassFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.001255/0.001255, allocations: 118.2 kB / 16.42 MB, free: 6.5 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.001363/0.001363, allocations: 183.9 kB / 17.35 MB, free: 5.762 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.253/1.253, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.757/0.757, allocations: 135.1 MB / 426.3 MB, free: 4.117 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001168/0.001168, allocations: 63.22 kB / 0.5863 GB, free: 21.62 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1399/0.1411, allocations: 80.92 MB / 0.6653 GB, free: 5.805 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.Examples.WetCoilEffectivenessNTUMassFlow): time 0.5559/0.6969, allocations: 250.9 MB / 0.9103 GB, free: 4.328 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.02526/0.7222, allocations: 19.21 MB / 0.9291 GB, free: 1.062 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00359/0.7259, allocations: 75.56 kB / 0.9292 GB, free: 0.9883 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.003454/0.7294, allocations: 1.215 MB / 0.9304 GB, free: 15.77 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.01027/0.7397, allocations: 4.197 MB / 0.9345 GB, free: 11.55 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.005726/0.7454, allocations: 2.445 MB / 0.9368 GB, free: 9.125 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.006719/0.7522, allocations: 5.363 MB / 0.9421 GB, free: 3.75 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002898/0.7551, allocations: 1.914 MB / 0.944 GB, free: 1.805 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005566/0.7607, allocations: 2.457 MB / 0.9464 GB, free: 15.37 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002862/0.7635, allocations: 1.695 MB / 0.948 GB, free: 13.67 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0005018/0.764, allocations: 276 kB / 0.9483 GB, free: 13.4 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007772/0.7718, allocations: 4.484 MB / 0.9527 GB, free: 8.91 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0006653/0.7725, allocations: 0.7203 MB / 0.9534 GB, free: 8.188 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.001652/0.7742, allocations: 1.408 MB / 0.9547 GB, free: 6.773 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.00749/0.7817, allocations: 5.388 MB / 0.96 GB, free: 1.371 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.628e-06/0.7817, allocations: 0 / 0.96 GB, free: 1.371 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.573e-06/0.7817, allocations: 0 / 0.96 GB, free: 1.371 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 2.92e-05/0.7817, allocations: 0 / 0.96 GB, free: 1.371 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.006564/0.7883, allocations: 3.29 MB / 0.9632 GB, free: 13.99 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.146e-05/0.7884, allocations: 9.109 kB / 0.9632 GB, free: 13.98 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01467/0.803, allocations: 2.131 MB / 0.9653 GB, free: 11.85 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004362/0.8074, allocations: 1.925 MB / 0.9672 GB, free: 9.871 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001136/0.8076, allocations: 139.2 kB / 0.9673 GB, free: 9.734 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003263/0.8079, allocations: 176 kB / 0.9675 GB, free: 9.562 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006825/0.8147, allocations: 2.868 MB / 0.9703 GB, free: 6.652 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.712e-05/0.8148, allocations: 0 / 0.9703 GB, free: 6.652 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002143/0.815, allocations: 68 kB / 0.9703 GB, free: 6.586 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.934e-05/0.8151, allocations: 67.19 kB / 0.9704 GB, free: 6.52 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00935/0.8244, allocations: 3.397 MB / 0.9737 GB, free: 3.117 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.01439/0.8388, allocations: 9.078 MB / 0.9826 GB, free: 9.598 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007013/0.8459, allocations: 2.479 MB / 0.985 GB, free: 7.109 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004105/0.85, allocations: 1.524 MB / 0.9865 GB, free: 5.586 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.008325/0.8583, allocations: 5.255 MB / 0.9916 GB, free: 0 / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004578/0.8629, allocations: 1.721 MB / 0.9933 GB, free: 14.25 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=150): time 3.907e-06/0.863, allocations: 0 / 0.9933 GB, free: 14.25 MB / 0.7637 GB Notification: Performance of matching and sorting (n=150): time 0.01819/0.8811, allocations: 5.082 MB / 0.9983 GB, free: 9.102 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.691e-05/0.8813, allocations: 153.8 kB / 0.9984 GB, free: 8.922 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002894/0.8842, allocations: 1.657 MB / 1 GB, free: 7.266 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 0.0003264/0.8845, allocations: 57.7 kB / 1 GB, free: 7.203 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.000821/0.8854, allocations: 0.8384 MB / 1.001 GB, free: 6.352 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006366/0.886, allocations: 0.489 MB / 1.001 GB, free: 5.855 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001/0.887, allocations: 431 kB / 1.002 GB, free: 5.426 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 8.891e-05/0.8871, allocations: 305.1 kB / 1.002 GB, free: 5.125 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004445/0.8916, allocations: 1.43 MB / 1.003 GB, free: 3.691 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004681/0.8963, allocations: 1.761 MB / 1.005 GB, free: 1.82 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.01081/0.9071, allocations: 3.666 MB / 1.009 GB, free: 14.03 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.245e-05/0.9071, allocations: 4 kB / 1.009 GB, free: 14.03 MB / 0.7794 GB Notification: Performance of matching and sorting (n=234) (initialization): time 0.01253/0.9197, allocations: 3.949 MB / 1.013 GB, free: 10.05 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 6.765e-05/0.9198, allocations: 75.39 kB / 1.013 GB, free: 9.965 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.169e-05/0.9198, allocations: 15.97 kB / 1.013 GB, free: 9.949 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001227/0.921, allocations: 351 kB / 1.013 GB, free: 9.594 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004386/0.9254, allocations: 0.7178 MB / 1.014 GB, free: 8.875 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006412/0.9319, allocations: 6.282 MB / 1.02 GB, free: 2.117 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004014/0.9359, allocations: 430 kB / 1.02 GB, free: 1.695 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004094/0.9363, allocations: 99.91 kB / 1.02 GB, free: 1.598 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.005357/0.9417, allocations: 1.823 MB / 1.022 GB, free: 15.77 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004739/0.9464, allocations: 1.764 MB / 1.024 GB, free: 13.9 MB / 0.795 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.01099/0.9574, allocations: 3.652 MB / 1.027 GB, free: 10.12 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.564e-06/0.9575, allocations: 4 kB / 1.027 GB, free: 10.12 MB / 0.795 GB Notification: Performance of matching and sorting (n=234) (initialization_lambda0): time 0.01261/0.9701, allocations: 3.953 MB / 1.031 GB, free: 6.129 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 5.662e-05/0.9702, allocations: 75.33 kB / 1.031 GB, free: 6.043 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.398e-05/0.9702, allocations: 8 kB / 1.031 GB, free: 6.035 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001174/0.9714, allocations: 347.2 kB / 1.032 GB, free: 5.684 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004317/0.9757, allocations: 0.7295 MB / 1.032 GB, free: 4.953 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006297/0.982, allocations: 6.252 MB / 1.039 GB, free: 14.23 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003883/0.9859, allocations: 410.3 kB / 1.039 GB, free: 13.83 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003812/0.9863, allocations: 95.92 kB / 1.039 GB, free: 13.73 MB / 0.8106 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.0007512/0.9871, allocations: 356.3 kB / 1.039 GB, free: 13.37 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006957/0.9878, allocations: 197.7 kB / 1.04 GB, free: 13.17 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01201/0.9998, allocations: 3.794 MB / 1.043 GB, free: 9.34 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.298e-05/0.9998, allocations: 15.84 kB / 1.043 GB, free: 9.324 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.398e-06/0.9998, allocations: 0 / 1.043 GB, free: 9.324 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001206/1.001, allocations: 0.5957 MB / 1.044 GB, free: 8.707 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005295/1.002, allocations: 32 kB / 1.044 GB, free: 8.676 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002979/1.005, allocations: 275.7 kB / 1.044 GB, free: 8.406 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002224/1.005, allocations: 97.17 kB / 1.044 GB, free: 8.312 MB / 0.8106 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01261/1.017, allocations: 3.648 MB / 1.048 GB, free: 4.605 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01354/1.031, allocations: 4.963 MB / 1.053 GB, free: 15.61 MB / 0.8262 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.004048/1.035, allocations: 1.474 MB / 1.054 GB, free: 14.14 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.00185/1.037, allocations: 1.134 MB / 1.055 GB, free: 13.01 MB / 0.8262 GB Notification: Performance of Backend: time 2.885e-06/1.037, allocations: 0 / 1.055 GB, free: 13.01 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.01712/1.054, allocations: 5.852 MB / 1.061 GB, free: 7.066 MB / 0.8262 GB Notification: Performance of SimCode: time 0.00749/1.062, allocations: 4.277 MB / 1.065 GB, free: 2.723 MB / 0.8262 GB Notification: Performance of Templates: time 0.3864/1.448, allocations: 74.02 MB / 1.137 GB, free: 279.5 MB / 0.8262 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.WetCoilEffectivenessNTUMassFlow.makefile (rm -f IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.WetCoilEffectivenessNTUMassFlow.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.WetCoilEffectivenessNTUMassFlow.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.WetCoilEffectivenessNTUMassFlow.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.WetCoilEffectivenessNTUMassFlow.sim & ./IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.WetCoilEffectivenessNTUMassFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.WetCoilEffectivenessNTUMassFlow.pipe 2>&1)