Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU.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.Validation.WetCoilEffectivenessNTU,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU") translateModel(IDEAS.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001568/0.001568, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001733/0.001733, allocations: 194.3 kB / 16.26 MB, free: 6.621 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.382/1.382, allocations: 222.9 MB / 239.9 MB, free: 4.52 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9505/0.9505, allocations: 135.6 MB / 425.6 MB, free: 12.02 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001893/0.001893, allocations: 67.23 kB / 0.5054 GB, free: 5.207 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1601/0.162, allocations: 81.02 MB / 0.5845 GB, free: 4.332 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU): time 0.9004/1.062, allocations: 365.5 MB / 0.9414 GB, free: 24.92 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.03747/1.1, allocations: 33.05 MB / 0.9737 GB, free: 23.65 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006426/1.106, allocations: 141.6 kB / 0.9738 GB, free: 23.65 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.00615/1.113, allocations: 2.048 MB / 0.9758 GB, free: 23.13 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.01768/1.13, allocations: 6.989 MB / 0.9827 GB, free: 20.21 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.009516/1.14, allocations: 4.17 MB / 0.9867 GB, free: 17.73 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.01204/1.152, allocations: 11.04 MB / 0.9975 GB, free: 11.84 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00472/1.157, allocations: 3.935 MB / 1.001 GB, free: 7.973 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01463/1.171, allocations: 5.467 MB / 1.007 GB, free: 3.395 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005558/1.177, allocations: 3.56 MB / 1.01 GB, free: 188 kB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.001553/1.178, allocations: 0.5469 MB / 1.011 GB, free: 15.63 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01426/1.193, allocations: 6.999 MB / 1.018 GB, free: 9.363 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.002296/1.195, allocations: 1.476 MB / 1.019 GB, free: 7.914 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0054/1.2, allocations: 2.832 MB / 1.022 GB, free: 5.098 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.01785/1.218, allocations: 10.01 MB / 1.032 GB, free: 11.55 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/1.218, allocations: 0 / 1.032 GB, free: 11.55 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.403e-06/1.218, allocations: 0 / 1.032 GB, free: 11.55 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 0.0001483/1.218, allocations: 0 / 1.032 GB, free: 11.55 MB / 0.7012 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 851 * Number of variables: 851 Notification: Performance of Generate backend data structure: time 0.01482/1.233, allocations: 5.929 MB / 1.037 GB, free: 5.578 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.351e-05/1.233, allocations: 12.03 kB / 1.037 GB, free: 5.566 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03088/1.264, allocations: 4.286 MB / 1.042 GB, free: 1.281 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009096/1.273, allocations: 3.585 MB / 1.045 GB, free: 13.71 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001583/1.275, allocations: 0.5296 MB / 1.046 GB, free: 13.18 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001256/1.276, allocations: 358 kB / 1.046 GB, free: 12.83 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01544/1.292, allocations: 5.724 MB / 1.051 GB, free: 7.031 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.884e-05/1.292, allocations: 0 / 1.051 GB, free: 7.031 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004428/1.292, allocations: 132 kB / 1.052 GB, free: 6.902 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001297/1.292, allocations: 134.5 kB / 1.052 GB, free: 6.77 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02054/1.313, allocations: 6.844 MB / 1.058 GB, free: 15.92 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.04432/1.357, allocations: 22.21 MB / 1.08 GB, free: 8.762 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01211/1.369, allocations: 4.065 MB / 1.084 GB, free: 4.707 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007159/1.377, allocations: 2.266 MB / 1.086 GB, free: 2.434 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01625/1.393, allocations: 8.172 MB / 1.094 GB, free: 9.965 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007335/1.4, allocations: 2.397 MB / 1.097 GB, free: 7.559 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=230): time 4.939e-06/1.4, allocations: 0 / 1.097 GB, free: 7.559 MB / 0.7637 GB Notification: Performance of matching and sorting (n=230): time 0.03491/1.435, allocations: 8.431 MB / 1.105 GB, free: 14.99 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.386e-05/1.435, allocations: 73.41 kB / 1.105 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00889/1.444, allocations: 4.284 MB / 1.109 GB, free: 10.61 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 0.0007844/1.445, allocations: 77.7 kB / 1.109 GB, free: 10.52 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.002132/1.447, allocations: 1.822 MB / 1.111 GB, free: 8.699 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.001374/1.449, allocations: 0.7919 MB / 1.112 GB, free: 7.914 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001964/1.451, allocations: 0.8117 MB / 1.112 GB, free: 7.098 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001188/1.451, allocations: 305.1 kB / 1.113 GB, free: 6.797 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009339/1.46, allocations: 2.732 MB / 1.115 GB, free: 4.062 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01073/1.471, allocations: 3.424 MB / 1.119 GB, free: 416 kB / 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): time 0.01946/1.49, allocations: 5.967 MB / 1.125 GB, free: 10.2 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.829e-05/1.49, allocations: 4 kB / 1.125 GB, free: 10.2 MB / 0.795 GB Notification: Performance of matching and sorting (n=448) (initialization): time 0.02969/1.52, allocations: 7.598 MB / 1.132 GB, free: 2.535 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 3.94e-05/1.52, allocations: 12 kB / 1.132 GB, free: 2.523 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.418e-05/1.52, allocations: 12 kB / 1.132 GB, free: 2.512 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004272/1.524, allocations: 0.9718 MB / 1.133 GB, free: 1.516 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009431/1.534, allocations: 1.412 MB / 1.134 GB, free: 104 kB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01859/1.553, allocations: 14.53 MB / 1.149 GB, free: 500 kB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01076/1.563, allocations: 1.288 MB / 1.15 GB, free: 15.2 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001045/1.564, allocations: 187.8 kB / 1.15 GB, free: 15.02 MB / 0.8262 GB Warning: The initial conditions are over specified. The following 2 initial equations are redundant, so they are removed from the initialization system: hexWetNTU.UAFroRated.TAirIn = 293.15 hexWetNTU.UAFroRated.TWatIn = 293.15. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 67 * Number of states: 0 () * Number of discrete variables: 13 (hexWetNTU.UAFroRated.isFulWet,hexWetNTU.UAFroRated.isFulDry,hexWetNTU.flowRegime_nominal,hexWetNTU_TX.flowRegime_nominal,$PRE.w_a2.nextTimeEvent,$whenCondition1,hexWetNTU_TX.UAFroRated.isFulWet,hexWetNTU_TX.UAFroRated.isFulDry,w_a2.nextTimeEventScaled,$PRE.w_a2.nextTimeEventScaled,w_a2.nextTimeEvent,hexWetNTU_TX.flowRegime,hexWetNTU.flowRegime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (418): * Single equations (assignments): 403 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 9 * 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: 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): 9 systems {(1,1), (1,3), (1,2), (1,2), (1,4), (1,2), (1,4), (1,2), (5,2)} Notification: Performance of prepare postOptimizeDAE: time 0.00269/1.567, allocations: 0.8556 MB / 1.151 GB, free: 14.15 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001483/1.569, allocations: 418.8 kB / 1.151 GB, free: 13.74 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02183/1.59, allocations: 5.801 MB / 1.157 GB, free: 7.906 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.578e-05/1.59, allocations: 24 kB / 1.157 GB, free: 7.883 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.387e-06/1.591, allocations: 4 kB / 1.157 GB, free: 7.879 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.148e-05/1.591, allocations: 19.89 kB / 1.157 GB, free: 7.859 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.28/1.871, allocations: 10.91 MB / 1.168 GB, free: 356.6 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.993e-05/1.871, allocations: 2.938 kB / 1.168 GB, free: 356.6 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004522/1.875, allocations: 0.665 MB / 1.168 GB, free: 356.6 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002924/1.878, allocations: 0.7638 MB / 1.169 GB, free: 356.5 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006271/1.879, allocations: 86.44 kB / 1.169 GB, free: 356.5 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01084/1.89, allocations: 11.68 MB / 1.181 GB, free: 347.4 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.868e-06/1.89, allocations: 10.53 kB / 1.181 GB, free: 347.4 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02414/1.914, allocations: 8.209 MB / 1.189 GB, free: 344.6 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002384/1.916, allocations: 1.053 MB / 1.19 GB, free: 344.2 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008894/1.917, allocations: 51.72 kB / 1.19 GB, free: 344.2 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005784/1.923, allocations: 0.6019 MB / 1.19 GB, free: 344.1 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004227/1.923, allocations: 173.5 kB / 1.19 GB, free: 344.1 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002965/1.924, allocations: 114.4 kB / 1.19 GB, free: 344.1 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.004899/1.929, allocations: 2.951 MB / 1.193 GB, free: 343.1 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2.7e-07/1.929, allocations: 0 / 1.193 GB, free: 343.1 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.005284/1.934, allocations: 1.548 MB / 1.195 GB, free: 342.9 MB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 8 (relHumIn.phi,TDryBulIn.T,senMasFraIn.X,senMasFraOut.X,TDryBulOut.T,hexWetNTU.dryWetCalcs.fullyWet.TWatOutEst,relHumOut_eps.phi,hexWetNTU_TX.dryWetCalcs.fullyWet.TWatOutEst) * Number of discrete variables: 5 ($whenCondition1,hexWetNTU.flowRegime,hexWetNTU_TX.flowRegime,w_a2.nextTimeEvent,w_a2.nextTimeEventScaled) * Number of discrete states: 2 (w_a2.nextTimeEvent,w_a2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (227): * Single equations (assignments): 214 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 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): 8 systems {(1,4), (1,2), (1,4), (1,2), (1,1), (1,1), (1,3), (1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002812/1.937, allocations: 1.026 MB / 1.196 GB, free: 342.8 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.02449/1.961, allocations: 7.059 MB / 1.203 GB, free: 340.6 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 8.266e-06/1.961, allocations: 1.375 kB / 1.203 GB, free: 340.6 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.007663/1.969, allocations: 3.035 MB / 1.206 GB, free: 339.2 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008679/1.978, allocations: 2.112 MB / 1.208 GB, free: 338.7 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02531/2.003, allocations: 10.72 MB / 1.218 GB, free: 333.4 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002583/2.006, allocations: 2.302 MB / 1.221 GB, free: 332.5 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.007067/2.013, allocations: 1.044 MB / 1.222 GB, free: 332.2 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00183/2.014, allocations: 371.9 kB / 1.222 GB, free: 332.1 MB / 0.8262 GB Notification: Performance of SimCode: time 5.91e-07/2.015, allocations: 0 / 1.222 GB, free: 332.1 MB / 0.8262 GB Notification: Performance of Templates: time 0.1277/2.142, allocations: 99.49 MB / 1.319 GB, free: 258.6 MB / 0.8262 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU.makefile (rm -f IDEAS_dev_IDEAS.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU.sim & ./IDEAS_dev_IDEAS.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU.pipe 2>&1)