Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU") translateModel(BuildingSystems.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001318/0.001318, allocations: 108.5 kB / 16.41 MB, free: 6.453 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.001263/0.001263, allocations: 192 kB / 17.34 MB, free: 5.715 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.464/1.464, allocations: 222.9 MB / 241 MB, free: 15.06 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002554/0.002554, allocations: 293.1 kB / 291.5 MB, free: 14.42 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.04/1.04, allocations: 169.2 MB / 0.499 GB, free: 4.418 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002736/0.002736, allocations: 95.84 kB / 0.6821 GB, free: 6.926 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4089/0.4117, allocations: 86.99 MB / 0.7671 GB, free: 3.75 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU): time 0.7502/1.162, allocations: 370.6 MB / 1.129 GB, free: 5.98 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.05357/1.215, allocations: 33.38 MB / 1.162 GB, free: 4.812 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007095/1.223, allocations: 155.1 kB / 1.162 GB, free: 4.66 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.007308/1.23, allocations: 2.462 MB / 1.164 GB, free: 2.184 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.02262/1.252, allocations: 7.832 MB / 1.172 GB, free: 10.32 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.01284/1.265, allocations: 4.618 MB / 1.176 GB, free: 5.73 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.01831/1.284, allocations: 11.08 MB / 1.187 GB, free: 10.62 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006374/1.29, allocations: 3.301 MB / 1.19 GB, free: 7.254 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01475/1.305, allocations: 5.569 MB / 1.196 GB, free: 1.73 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00695/1.312, allocations: 3.453 MB / 1.199 GB, free: 14.27 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.001533/1.313, allocations: 0.5508 MB / 1.2 GB, free: 13.72 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01572/1.329, allocations: 6.818 MB / 1.206 GB, free: 6.891 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.002748/1.332, allocations: 1.506 MB / 1.208 GB, free: 5.379 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.005328/1.337, allocations: 2.846 MB / 1.211 GB, free: 2.52 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.01993/1.357, allocations: 9.839 MB / 1.22 GB, free: 8.648 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.661e-06/1.357, allocations: 0 / 1.22 GB, free: 8.648 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.164e-06/1.357, allocations: 0 / 1.22 GB, free: 8.648 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 0.0001805/1.357, allocations: 0 / 1.22 GB, free: 8.648 MB / 0.8575 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.01511/1.372, allocations: 6.122 MB / 1.226 GB, free: 2.414 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.263e-05/1.372, allocations: 12.03 kB / 1.226 GB, free: 2.402 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03148/1.404, allocations: 4.32 MB / 1.23 GB, free: 14.07 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01099/1.415, allocations: 3.733 MB / 1.234 GB, free: 10.28 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004826/1.415, allocations: 309.3 kB / 1.234 GB, free: 9.969 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001674/1.417, allocations: 359.9 kB / 1.235 GB, free: 9.617 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01882/1.436, allocations: 5.693 MB / 1.24 GB, free: 3.84 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.808e-05/1.436, allocations: 4 kB / 1.24 GB, free: 3.836 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00095/1.437, allocations: 132 kB / 1.24 GB, free: 3.707 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000149/1.437, allocations: 134.5 kB / 1.24 GB, free: 3.574 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02303/1.46, allocations: 6.794 MB / 1.247 GB, free: 12.77 MB / 0.8887 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.04962/1.51, allocations: 22.22 MB / 1.269 GB, free: 5.422 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01306/1.523, allocations: 3.867 MB / 1.273 GB, free: 1.559 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007749/1.53, allocations: 2.145 MB / 1.275 GB, free: 15.41 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01855/1.549, allocations: 8.173 MB / 1.283 GB, free: 6.871 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008424/1.557, allocations: 2.501 MB / 1.285 GB, free: 4.348 MB / 0.92 GB Notification: Performance of pre-optimization done (n=228): time 6.211e-06/1.557, allocations: 0 / 1.285 GB, free: 4.348 MB / 0.92 GB Notification: Performance of matching and sorting (n=228): time 0.03763/1.595, allocations: 8.416 MB / 1.293 GB, free: 11.79 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000111/1.595, allocations: 124.8 kB / 1.293 GB, free: 11.65 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01061/1.606, allocations: 4.318 MB / 1.298 GB, free: 7.312 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 0.000784/1.607, allocations: 77.7 kB / 1.298 GB, free: 7.23 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.002258/1.609, allocations: 1.853 MB / 1.3 GB, free: 5.363 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.00155/1.61, allocations: 0.8366 MB / 1.3 GB, free: 4.52 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002011/1.612, allocations: 0.8358 MB / 1.301 GB, free: 3.676 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001366/1.612, allocations: 301.1 kB / 1.301 GB, free: 3.379 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00982/1.622, allocations: 2.72 MB / 1.304 GB, free: 0.6562 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01108/1.633, allocations: 3.436 MB / 1.307 GB, free: 12.97 MB / 0.9512 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.02025/1.654, allocations: 5.932 MB / 1.313 GB, free: 6.809 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.846e-05/1.654, allocations: 4 kB / 1.313 GB, free: 6.805 MB / 0.9512 GB Notification: Performance of matching and sorting (n=454) (initialization): time 0.4051/2.059, allocations: 7.58 MB / 1.321 GB, free: 401.8 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 4.576e-05/2.059, allocations: 14.89 kB / 1.321 GB, free: 401.8 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.271e-05/2.059, allocations: 16.84 kB / 1.321 GB, free: 401.8 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004512/2.063, allocations: 0.9708 MB / 1.322 GB, free: 401.7 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00956/2.073, allocations: 1.404 MB / 1.323 GB, free: 401.7 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01518/2.088, allocations: 14.47 MB / 1.337 GB, free: 389.7 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01534/2.103, allocations: 1.193 MB / 1.338 GB, free: 389.7 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001325/2.105, allocations: 189.7 kB / 1.338 GB, free: 389.6 MB / 0.9512 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: 65 * Number of states: 0 () * Number of discrete variables: 19 (hexWetNTU.UAFroRated.isFulWet,hexWetNTU.UAFroRated.isFulDry,$PRE.w_a2.nextTimeEvent,$whenCondition1,hexWetNTU.flowRegime_nominal,hexWetNTU.dryWetCalcs.fullyDry.cfg,hexWetNTU.dryWetCalcs.fullyWet.cfg,hexWetNTU.dryWetCalcs.cfg,hexWetNTU.flowRegime,hexWetNTU_TX.flowRegime_nominal,hexWetNTU_TX.dryWetCalcs.fullyDry.cfg,hexWetNTU_TX.dryWetCalcs.fullyWet.cfg,hexWetNTU_TX.dryWetCalcs.cfg,hexWetNTU_TX.flowRegime,hexWetNTU_TX.UAFroRated.isFulWet,hexWetNTU_TX.UAFroRated.isFulDry,w_a2.nextTimeEventScaled,$PRE.w_a2.nextTimeEventScaled,w_a2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (424): * Single equations (assignments): 409 * 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.003177/2.108, allocations: 0.8681 MB / 1.339 GB, free: 389.1 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002054/2.11, allocations: 450 kB / 1.34 GB, free: 389.1 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0296/2.14, allocations: 5.766 MB / 1.345 GB, free: 387.3 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.227e-05/2.14, allocations: 23.78 kB / 1.345 GB, free: 387.3 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.047e-05/2.14, allocations: 3.938 kB / 1.345 GB, free: 387.3 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.008e-05/2.14, allocations: 11.34 kB / 1.345 GB, free: 387.3 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03743/2.177, allocations: 10.89 MB / 1.356 GB, free: 383 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.272e-05/2.177, allocations: 3.906 kB / 1.356 GB, free: 383 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006789/2.184, allocations: 0.6667 MB / 1.357 GB, free: 382.9 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00427/2.188, allocations: 0.7674 MB / 1.357 GB, free: 382.5 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007444/2.189, allocations: 81.59 kB / 1.358 GB, free: 382.4 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01703/2.206, allocations: 11.69 MB / 1.369 GB, free: 371.5 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.011e-06/2.206, allocations: 7.75 kB / 1.369 GB, free: 371.5 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0384/2.244, allocations: 8.186 MB / 1.377 GB, free: 367.1 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003426/2.248, allocations: 1.083 MB / 1.378 GB, free: 366.1 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001386/2.249, allocations: 48 kB / 1.378 GB, free: 366.1 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00948/2.259, allocations: 0.5431 MB / 1.379 GB, free: 365.5 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005461/2.259, allocations: 161.7 kB / 1.379 GB, free: 365.4 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000449/2.26, allocations: 107.9 kB / 1.379 GB, free: 365.2 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.007638/2.267, allocations: 2.967 MB / 1.382 GB, free: 362.3 MB / 0.9512 GB Notification: Performance of sort global known variables: time 2.2e-07/2.267, allocations: 2.844 kB / 1.382 GB, free: 362.3 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.00699/2.274, allocations: 1.555 MB / 1.383 GB, free: 360.8 MB / 0.9512 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: 3 ($whenCondition1,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 (225): * Single equations (assignments): 212 * 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.003782/2.278, allocations: 1.055 MB / 1.384 GB, free: 360.1 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.03073/2.309, allocations: 6.247 MB / 1.39 GB, free: 353.8 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 9.347e-06/2.309, allocations: 9.125 kB / 1.39 GB, free: 353.8 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.01095/2.32, allocations: 2.913 MB / 1.393 GB, free: 350.8 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01363/2.333, allocations: 2.084 MB / 1.395 GB, free: 348.8 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03557/2.369, allocations: 9.3 MB / 1.404 GB, free: 339.4 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001934/2.371, allocations: 2.302 MB / 1.407 GB, free: 337.1 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.007723/2.379, allocations: 1.039 MB / 1.408 GB, free: 336.1 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002389/2.381, allocations: 371.2 kB / 1.408 GB, free: 335.7 MB / 0.9512 GB Notification: Performance of SimCode: time 1.282e-06/2.381, allocations: 0 / 1.408 GB, free: 335.7 MB / 0.9512 GB Notification: Performance of Templates: time 0.1577/2.539, allocations: 98.26 MB / 1.504 GB, free: 238.4 MB / 0.9512 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU.sim & ./BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU.pipe 2>&1)