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.006823/0.006823, allocations: 95.61 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.001589/0.001589, allocations: 197.7 kB / 16.67 MB, free: 5.973 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.332/1.332, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002038/0.002038, allocations: 287.1 kB / 290.8 MB, free: 1.922 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9521/0.9521, allocations: 169.3 MB / 0.4983 GB, free: 13.79 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001606/0.001606, allocations: 100.4 kB / 0.6815 GB, free: 15.48 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1488/0.1505, allocations: 86.97 MB / 0.7664 GB, free: 8.43 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU): time 1.086/1.237, allocations: 369.7 MB / 1.127 GB, free: 34.79 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.04232/1.279, allocations: 33.33 MB / 1.16 GB, free: 34.55 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006331/1.286, allocations: 151.8 kB / 1.16 GB, free: 34.55 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.005766/1.291, allocations: 2.37 MB / 1.162 GB, free: 34.52 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.02105/1.312, allocations: 7.499 MB / 1.17 GB, free: 34.26 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.01301/1.326, allocations: 4.585 MB / 1.174 GB, free: 34.13 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.01464/1.34, allocations: 11.08 MB / 1.185 GB, free: 34.09 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005787/1.346, allocations: 3.992 MB / 1.189 GB, free: 33.61 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01395/1.36, allocations: 5.457 MB / 1.194 GB, free: 33.42 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006696/1.367, allocations: 3.458 MB / 1.198 GB, free: 32.82 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.001636/1.368, allocations: 0.55 MB / 1.198 GB, free: 32.82 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01475/1.383, allocations: 6.809 MB / 1.205 GB, free: 32.31 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.001905/1.385, allocations: 1.467 MB / 1.206 GB, free: 31.83 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.005932/1.391, allocations: 2.844 MB / 1.209 GB, free: 30.93 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0181/1.409, allocations: 9.843 MB / 1.219 GB, free: 24.88 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 6.833e-06/1.409, allocations: 3.938 kB / 1.219 GB, free: 24.88 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.674e-06/1.409, allocations: 0 / 1.219 GB, free: 24.88 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 0.0001781/1.409, allocations: 0 / 1.219 GB, free: 24.88 MB / 0.8419 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.01301/1.422, allocations: 6.123 MB / 1.225 GB, free: 20.62 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.461e-05/1.422, allocations: 8.344 kB / 1.225 GB, free: 20.62 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02746/1.45, allocations: 4.321 MB / 1.229 GB, free: 16.48 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007228/1.457, allocations: 3.721 MB / 1.233 GB, free: 12.86 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002949/1.457, allocations: 313.2 kB / 1.233 GB, free: 12.55 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001112/1.459, allocations: 350.7 kB / 1.233 GB, free: 12.21 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01401/1.473, allocations: 5.693 MB / 1.239 GB, free: 6.441 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.499e-05/1.473, allocations: 7.281 kB / 1.239 GB, free: 6.438 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004104/1.473, allocations: 147.6 kB / 1.239 GB, free: 6.297 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.003e-05/1.473, allocations: 132.6 kB / 1.239 GB, free: 6.168 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01844/1.492, allocations: 6.788 MB / 1.246 GB, free: 15.39 MB / 0.8575 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.04331/1.535, allocations: 22.22 MB / 1.267 GB, free: 8.613 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01175/1.547, allocations: 4.039 MB / 1.271 GB, free: 4.598 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006856/1.554, allocations: 2.258 MB / 1.273 GB, free: 2.336 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01677/1.57, allocations: 8.173 MB / 1.281 GB, free: 9.879 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00749/1.578, allocations: 2.489 MB / 1.284 GB, free: 7.371 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=228): time 6.372e-06/1.578, allocations: 0 / 1.284 GB, free: 7.371 MB / 0.8887 GB Notification: Performance of matching and sorting (n=228): time 0.03319/1.611, allocations: 8.446 MB / 1.292 GB, free: 14.81 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001068/1.611, allocations: 132.8 kB / 1.292 GB, free: 14.66 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01016/1.622, allocations: 4.318 MB / 1.296 GB, free: 10.32 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 0.0009573/1.623, allocations: 73.7 kB / 1.297 GB, free: 10.25 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.00198/1.625, allocations: 1.854 MB / 1.298 GB, free: 8.395 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.001424/1.626, allocations: 0.8297 MB / 1.299 GB, free: 7.574 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003221/1.629, allocations: 0.8348 MB / 1.3 GB, free: 6.734 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 9.42e-05/1.629, allocations: 301.1 kB / 1.3 GB, free: 6.438 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009047/1.638, allocations: 2.716 MB / 1.303 GB, free: 3.719 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009682/1.648, allocations: 3.446 MB / 1.306 GB, free: 36 kB / 0.9044 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.01861/1.667, allocations: 5.937 MB / 1.312 GB, free: 9.93 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.087e-05/1.667, allocations: 4 kB / 1.312 GB, free: 9.926 MB / 0.92 GB Notification: Performance of matching and sorting (n=454) (initialization): time 0.0282/1.695, allocations: 7.588 MB / 1.32 GB, free: 2.379 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 3.942e-05/1.695, allocations: 12 kB / 1.32 GB, free: 2.367 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.938e-05/1.695, allocations: 12 kB / 1.32 GB, free: 2.355 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003872/1.699, allocations: 0.9709 MB / 1.32 GB, free: 1.359 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008548/1.708, allocations: 1.406 MB / 1.322 GB, free: 0 / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01665/1.724, allocations: 14.47 MB / 1.336 GB, free: 0.5195 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01064/1.735, allocations: 1.202 MB / 1.337 GB, free: 15.32 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001134/1.736, allocations: 186.8 kB / 1.337 GB, free: 15.14 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.003037/1.739, allocations: 0.8633 MB / 1.338 GB, free: 14.31 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001941/1.741, allocations: 449.1 kB / 1.339 GB, free: 13.87 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02113/1.762, allocations: 5.78 MB / 1.344 GB, free: 8.078 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.161e-05/1.762, allocations: 24 kB / 1.344 GB, free: 8.055 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.117e-05/1.762, allocations: 0 / 1.344 GB, free: 8.055 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.424e-05/1.762, allocations: 11.95 kB / 1.344 GB, free: 8.043 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02956/1.792, allocations: 10.9 MB / 1.355 GB, free: 13.09 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.684e-05/1.792, allocations: 12.09 kB / 1.355 GB, free: 13.07 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004322/1.796, allocations: 0.6566 MB / 1.356 GB, free: 12.44 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003156/1.799, allocations: 0.7632 MB / 1.356 GB, free: 11.65 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003444/1.8, allocations: 79.91 kB / 1.356 GB, free: 11.57 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01356/1.813, allocations: 11.7 MB / 1.368 GB, free: 15.02 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.953e-06/1.813, allocations: 10.98 kB / 1.368 GB, free: 15.01 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02781/1.841, allocations: 8.194 MB / 1.376 GB, free: 6.734 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003601/1.845, allocations: 1.083 MB / 1.377 GB, free: 5.629 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001854/1.847, allocations: 44 kB / 1.377 GB, free: 5.586 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006936/1.854, allocations: 0.5393 MB / 1.377 GB, free: 5.047 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005871/1.854, allocations: 168.1 kB / 1.378 GB, free: 4.887 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004912/1.855, allocations: 103.9 kB / 1.378 GB, free: 4.785 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.007772/1.863, allocations: 2.971 MB / 1.381 GB, free: 1.812 MB / 0.9825 GB Notification: Performance of sort global known variables: time 3.11e-07/1.863, allocations: 0 / 1.381 GB, free: 1.812 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.006958/1.87, allocations: 1.552 MB / 1.382 GB, free: 264 kB / 0.9825 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.003047/1.873, allocations: 1.055 MB / 1.383 GB, free: 15.44 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.02194/1.895, allocations: 6.451 MB / 1.389 GB, free: 9.012 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.197e-05/1.895, allocations: 0 / 1.389 GB, free: 9.012 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.009341/1.904, allocations: 3.019 MB / 1.392 GB, free: 5.969 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01355/1.918, allocations: 2.079 MB / 1.394 GB, free: 3.945 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03017/1.948, allocations: 9.295 MB / 1.404 GB, free: 10.6 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002601/1.95, allocations: 2.302 MB / 1.406 GB, free: 8.27 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.007931/1.958, allocations: 1.044 MB / 1.407 GB, free: 7.238 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00259/1.961, allocations: 367.2 kB / 1.407 GB, free: 6.879 MB / 1.014 GB Notification: Performance of SimCode: time 1.162e-06/1.961, allocations: 0 / 1.407 GB, free: 6.879 MB / 1.014 GB Notification: Performance of Templates: time 0.5032/2.464, allocations: 97.79 MB / 1.503 GB, free: 0.4898 GB / 1.076 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 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU.pipe 2>&1)