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.007544/0.007545, allocations: 97.62 kB / 15.73 MB, free: 6.047 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.001576/0.001576, allocations: 200.4 kB / 16.68 MB, free: 5.969 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.417/1.417, allocations: 222.9 MB / 240.4 MB, free: 4.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9388/0.9388, allocations: 135.1 MB / 425.7 MB, free: 11.94 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001357/0.001357, allocations: 63.91 kB / 0.5856 GB, free: 3.348 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4319/0.4333, allocations: 80.91 MB / 0.6647 GB, free: 7.582 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU): time 0.8179/1.251, allocations: 369.7 MB / 1.026 GB, free: 11.65 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.05432/1.306, allocations: 33.25 MB / 1.058 GB, free: 11.91 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01042/1.316, allocations: 151.1 kB / 1.058 GB, free: 11.77 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.009086/1.325, allocations: 2.356 MB / 1.061 GB, free: 9.395 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.02787/1.353, allocations: 7.492 MB / 1.068 GB, free: 1.871 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.01338/1.366, allocations: 4.528 MB / 1.072 GB, free: 13.37 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.01933/1.386, allocations: 11.04 MB / 1.083 GB, free: 2.301 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008882/1.395, allocations: 3.976 MB / 1.087 GB, free: 14.26 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01989/1.415, allocations: 5.436 MB / 1.092 GB, free: 8.867 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008654/1.423, allocations: 3.448 MB / 1.096 GB, free: 5.418 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.00261/1.426, allocations: 0.5469 MB / 1.096 GB, free: 4.871 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01736/1.443, allocations: 6.795 MB / 1.103 GB, free: 14.06 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.003327/1.447, allocations: 1.464 MB / 1.104 GB, free: 12.59 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.007486/1.454, allocations: 2.835 MB / 1.107 GB, free: 9.746 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.02255/1.477, allocations: 9.804 MB / 1.117 GB, free: 15.91 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 7.625e-06/1.477, allocations: 0 / 1.117 GB, free: 15.91 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.415e-06/1.477, allocations: 0 / 1.117 GB, free: 15.91 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 0.0003541/1.477, allocations: 4 kB / 1.117 GB, free: 15.91 MB / 0.8106 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.01998/1.497, allocations: 6.106 MB / 1.123 GB, free: 9.684 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.402e-05/1.497, allocations: 8.031 kB / 1.123 GB, free: 9.676 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03008/1.527, allocations: 4.304 MB / 1.127 GB, free: 5.363 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009598/1.537, allocations: 3.727 MB / 1.13 GB, free: 1.574 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003205/1.537, allocations: 308.9 kB / 1.131 GB, free: 1.266 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009716/1.538, allocations: 359.9 kB / 1.131 GB, free: 0.9141 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0156/1.554, allocations: 5.701 MB / 1.137 GB, free: 11.13 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.429e-05/1.554, allocations: 3.938 kB / 1.137 GB, free: 11.12 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004767/1.555, allocations: 132 kB / 1.137 GB, free: 11 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001357/1.555, allocations: 134.5 kB / 1.137 GB, free: 10.86 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02074/1.575, allocations: 6.798 MB / 1.144 GB, free: 4.055 MB / 0.8262 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.04262/1.618, allocations: 22.17 MB / 1.165 GB, free: 12.75 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01232/1.63, allocations: 4.07 MB / 1.169 GB, free: 8.691 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007283/1.638, allocations: 2.263 MB / 1.171 GB, free: 6.43 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01689/1.655, allocations: 8.181 MB / 1.179 GB, free: 13.88 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007591/1.662, allocations: 2.401 MB / 1.182 GB, free: 11.46 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=230): time 4.509e-06/1.662, allocations: 0 / 1.182 GB, free: 11.46 MB / 0.8731 GB Notification: Performance of matching and sorting (n=230): time 0.03498/1.697, allocations: 8.456 MB / 1.19 GB, free: 2.871 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.567e-05/1.697, allocations: 85.28 kB / 1.19 GB, free: 2.777 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0108/1.708, allocations: 4.268 MB / 1.194 GB, free: 14.49 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 0.0007698/1.709, allocations: 77.7 kB / 1.194 GB, free: 14.41 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.00207/1.711, allocations: 1.86 MB / 1.196 GB, free: 12.53 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.00145/1.713, allocations: 0.8327 MB / 1.197 GB, free: 11.69 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003262/1.716, allocations: 0.8083 MB / 1.198 GB, free: 10.88 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001164/1.716, allocations: 301.1 kB / 1.198 GB, free: 10.58 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00954/1.726, allocations: 2.72 MB / 1.201 GB, free: 7.855 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0105/1.736, allocations: 3.404 MB / 1.204 GB, free: 4.219 MB / 0.8887 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.4358/2.172, allocations: 5.938 MB / 1.21 GB, free: 374 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.497e-05/2.172, allocations: 4.469 kB / 1.21 GB, free: 374 MB / 0.8887 GB Notification: Performance of matching and sorting (n=448) (initialization): time 0.03017/2.202, allocations: 7.575 MB / 1.217 GB, free: 372.4 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 4.159e-05/2.202, allocations: 11.72 kB / 1.217 GB, free: 372.4 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.029e-05/2.202, allocations: 14.59 kB / 1.217 GB, free: 372.4 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004023/2.206, allocations: 0.9716 MB / 1.218 GB, free: 372.2 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008796/2.215, allocations: 1.406 MB / 1.22 GB, free: 372.1 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01507/2.23, allocations: 14.45 MB / 1.234 GB, free: 359.1 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01015/2.241, allocations: 1.18 MB / 1.235 GB, free: 359.1 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001155/2.242, allocations: 187.1 kB / 1.235 GB, free: 359 MB / 0.8887 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.00239/2.244, allocations: 0.8657 MB / 1.236 GB, free: 358.5 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001403/2.246, allocations: 440.5 kB / 1.236 GB, free: 358.5 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02004/2.266, allocations: 5.781 MB / 1.242 GB, free: 356.6 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.378e-05/2.266, allocations: 23.84 kB / 1.242 GB, free: 356.6 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.186e-06/2.266, allocations: 0 / 1.242 GB, free: 356.6 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.51e-05/2.266, allocations: 11.77 kB / 1.242 GB, free: 356.6 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02721/2.293, allocations: 10.94 MB / 1.253 GB, free: 350.2 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.891e-05/2.293, allocations: 4.734 kB / 1.253 GB, free: 350.2 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004637/2.298, allocations: 0.666 MB / 1.253 GB, free: 350 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003106/2.301, allocations: 0.7674 MB / 1.254 GB, free: 349.6 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006591/2.301, allocations: 79.56 kB / 1.254 GB, free: 349.6 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01166/2.313, allocations: 11.68 MB / 1.265 GB, free: 338.5 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.29e-06/2.313, allocations: 5.172 kB / 1.265 GB, free: 338.5 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02605/2.339, allocations: 8.233 MB / 1.274 GB, free: 334 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00264/2.342, allocations: 1.071 MB / 1.275 GB, free: 333.2 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001144/2.343, allocations: 50.33 kB / 1.275 GB, free: 333.1 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006035/2.349, allocations: 0.5159 MB / 1.275 GB, free: 332.9 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004442/2.35, allocations: 177.4 kB / 1.275 GB, free: 332.8 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003549/2.35, allocations: 105.8 kB / 1.275 GB, free: 332.8 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.005507/2.355, allocations: 2.946 MB / 1.278 GB, free: 331.3 MB / 0.8887 GB Notification: Performance of sort global known variables: time 3.71e-07/2.355, allocations: 0 / 1.278 GB, free: 331.3 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.005646/2.361, allocations: 1.548 MB / 1.28 GB, free: 331.1 MB / 0.8887 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.002376/2.364, allocations: 1.056 MB / 1.281 GB, free: 330.7 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.01967/2.383, allocations: 6.387 MB / 1.287 GB, free: 326.5 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 1.098e-05/2.383, allocations: 4 kB / 1.287 GB, free: 326.5 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.008047/2.391, allocations: 3.049 MB / 1.29 GB, free: 323.4 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01116/2.402, allocations: 2.092 MB / 1.292 GB, free: 321.3 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02591/2.428, allocations: 9.269 MB / 1.301 GB, free: 312 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001686/2.43, allocations: 2.298 MB / 1.303 GB, free: 309.7 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.005982/2.436, allocations: 1.037 MB / 1.304 GB, free: 308.7 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002001/2.438, allocations: 371.2 kB / 1.305 GB, free: 308.3 MB / 0.8887 GB Notification: Performance of SimCode: time 1.833e-06/2.438, allocations: 0 / 1.305 GB, free: 308.3 MB / 0.8887 GB Notification: Performance of Templates: time 0.1272/2.565, allocations: 97.44 MB / 1.4 GB, free: 211.7 MB / 0.8887 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)