Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.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/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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(Buildings.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU") translateModel(Buildings.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.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.001378/0.001378, allocations: 108 kB / 15.61 MB, free: 148 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001486/0.001486, allocations: 194.1 kB / 16.53 MB, free: 6.664 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.389/1.389, allocations: 222.9 MB / 240.2 MB, free: 4.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.905/2.905, allocations: 472.6 MB / 0.7451 GB, free: 4.727 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001354/0.001354, allocations: 65.28 kB / 0.912 GB, free: 33.38 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3157/0.3171, allocations: 159.9 MB / 1.068 GB, free: 10.48 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU): time 1.123/1.44, allocations: 369.8 MB / 1.429 GB, free: 10.66 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.05663/1.496, allocations: 33.35 MB / 1.462 GB, free: 15.43 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.008924/1.505, allocations: 148.6 kB / 1.462 GB, free: 15.37 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.009304/1.515, allocations: 2.364 MB / 1.464 GB, free: 12.99 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.02771/1.543, allocations: 7.492 MB / 1.472 GB, free: 5.465 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.01293/1.556, allocations: 4.563 MB / 1.476 GB, free: 0.9414 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.01653/1.572, allocations: 11.06 MB / 1.487 GB, free: 5.852 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008906/1.581, allocations: 3.996 MB / 1.491 GB, free: 1.793 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01619/1.597, allocations: 5.432 MB / 1.496 GB, free: 12.41 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007982/1.605, allocations: 3.453 MB / 1.499 GB, free: 8.949 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.002844/1.608, allocations: 0.5508 MB / 1.5 GB, free: 8.398 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01803/1.626, allocations: 6.752 MB / 1.507 GB, free: 1.633 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.003118/1.629, allocations: 1.464 MB / 1.508 GB, free: 168 kB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.007348/1.637, allocations: 2.843 MB / 1.511 GB, free: 13.3 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.02285/1.66, allocations: 9.669 MB / 1.52 GB, free: 3.613 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 8.025e-06/1.66, allocations: 4 kB / 1.52 GB, free: 3.609 MB / 1.123 GB Notification: Performance of FrontEnd: time 2.224e-06/1.66, allocations: 0 / 1.52 GB, free: 3.609 MB / 1.123 GB Notification: Performance of Transformations before backend: time 0.0003366/1.66, allocations: 0 / 1.52 GB, free: 3.609 MB / 1.123 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.01941/1.679, allocations: 5.951 MB / 1.526 GB, free: 13.55 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 5.524e-05/1.68, allocations: 8.031 kB / 1.526 GB, free: 13.55 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0325/1.712, allocations: 4.29 MB / 1.53 GB, free: 9.246 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0104/1.723, allocations: 3.565 MB / 1.534 GB, free: 5.613 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001727/1.724, allocations: 0.5166 MB / 1.534 GB, free: 5.09 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002052/1.726, allocations: 367.8 kB / 1.535 GB, free: 4.73 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02102/1.747, allocations: 5.708 MB / 1.54 GB, free: 14.94 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001496/1.748, allocations: 7.938 kB / 1.54 GB, free: 14.93 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001384/1.749, allocations: 132 kB / 1.54 GB, free: 14.8 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001656/1.749, allocations: 134.5 kB / 1.54 GB, free: 14.67 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02444/1.774, allocations: 6.829 MB / 1.547 GB, free: 7.828 MB / 1.154 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.05204/1.826, allocations: 22.35 MB / 1.569 GB, free: 356 kB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01327/1.839, allocations: 4.027 MB / 1.573 GB, free: 12.32 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008165/1.847, allocations: 2.255 MB / 1.575 GB, free: 10.05 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02068/1.868, allocations: 8.164 MB / 1.583 GB, free: 1.52 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008724/1.877, allocations: 2.501 MB / 1.585 GB, free: 15 MB / 1.201 GB Notification: Performance of pre-optimization done (n=228): time 7.734e-06/1.877, allocations: 0 / 1.585 GB, free: 15 MB / 1.201 GB Notification: Performance of matching and sorting (n=228): time 0.03895/1.916, allocations: 8.418 MB / 1.594 GB, free: 6.441 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001069/1.916, allocations: 124.8 kB / 1.594 GB, free: 6.293 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01177/1.928, allocations: 4.337 MB / 1.598 GB, free: 1.938 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 0.001102/1.929, allocations: 81.69 kB / 1.598 GB, free: 1.852 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.002526/1.931, allocations: 1.814 MB / 1.6 GB, free: 20 kB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.001904/1.933, allocations: 0.7973 MB / 1.601 GB, free: 15.21 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004448/1.938, allocations: 0.8275 MB / 1.601 GB, free: 14.38 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001154/1.938, allocations: 305.1 kB / 1.602 GB, free: 14.07 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01036/1.948, allocations: 2.743 MB / 1.604 GB, free: 11.33 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01137/1.96, allocations: 3.463 MB / 1.608 GB, free: 7.617 MB / 1.217 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.02163/1.981, allocations: 5.951 MB / 1.614 GB, free: 1.43 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.394e-05/1.981, allocations: 4 kB / 1.614 GB, free: 1.426 MB / 1.217 GB Notification: Performance of matching and sorting (n=454) (initialization): time 0.03301/2.015, allocations: 7.615 MB / 1.621 GB, free: 9.742 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 5.124e-05/2.015, allocations: 14.19 kB / 1.621 GB, free: 9.73 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.863e-05/2.015, allocations: 16 kB / 1.621 GB, free: 9.715 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004393/2.019, allocations: 0.9719 MB / 1.622 GB, free: 8.715 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009819/2.029, allocations: 1.416 MB / 1.623 GB, free: 7.297 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01806/2.047, allocations: 14.47 MB / 1.638 GB, free: 7.738 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01174/2.059, allocations: 1.222 MB / 1.639 GB, free: 6.512 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001272/2.06, allocations: 183.8 kB / 1.639 GB, free: 6.332 MB / 1.248 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.003496/2.064, allocations: 0.875 MB / 1.64 GB, free: 5.453 MB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002127/2.066, allocations: 422.8 kB / 1.64 GB, free: 5.035 MB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02273/2.088, allocations: 5.768 MB / 1.646 GB, free: 15.23 MB / 1.264 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.087e-05/2.089, allocations: 27.98 kB / 1.646 GB, free: 15.2 MB / 1.264 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.355e-05/2.089, allocations: 0 / 1.646 GB, free: 15.2 MB / 1.264 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.213e-05/2.089, allocations: 15.95 kB / 1.646 GB, free: 15.19 MB / 1.264 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03551/2.124, allocations: 10.9 MB / 1.657 GB, free: 4.125 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.157e-05/2.124, allocations: 4.047 kB / 1.657 GB, free: 4.121 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005263/2.13, allocations: 0.6713 MB / 1.657 GB, free: 3.449 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003513/2.133, allocations: 0.7637 MB / 1.658 GB, free: 2.66 MB / 1.264 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008411/2.134, allocations: 83.91 kB / 1.658 GB, free: 2.578 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01439/2.148, allocations: 11.69 MB / 1.669 GB, free: 5.969 MB / 1.279 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.231e-06/2.148, allocations: 4 kB / 1.669 GB, free: 5.965 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0298/2.178, allocations: 8.171 MB / 1.677 GB, free: 13.69 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003428/2.182, allocations: 1.073 MB / 1.678 GB, free: 12.59 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001432/2.183, allocations: 51.94 kB / 1.678 GB, free: 12.54 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006933/2.19, allocations: 0.5509 MB / 1.679 GB, free: 11.99 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005973/2.191, allocations: 169.6 kB / 1.679 GB, free: 11.82 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005328/2.191, allocations: 107.9 kB / 1.679 GB, free: 11.72 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.007779/2.199, allocations: 2.987 MB / 1.682 GB, free: 8.73 MB / 1.295 GB Notification: Performance of sort global known variables: time 3.91e-07/2.199, allocations: 0 / 1.682 GB, free: 8.73 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.007814/2.207, allocations: 1.545 MB / 1.684 GB, free: 7.184 MB / 1.295 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.003371/2.21, allocations: 1.041 MB / 1.685 GB, free: 6.312 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.02815/2.238, allocations: 7.1 MB / 1.692 GB, free: 15.15 MB / 1.311 GB Notification: Performance of simCode: created event and clocks part: time 1.227e-05/2.239, allocations: 8 kB / 1.692 GB, free: 15.14 MB / 1.311 GB Notification: Performance of simCode: created simulation system equations: time 0.009617/2.248, allocations: 3.014 MB / 1.695 GB, free: 12.04 MB / 1.311 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01288/2.261, allocations: 2.088 MB / 1.697 GB, free: 10.03 MB / 1.311 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03015/2.291, allocations: 9.266 MB / 1.706 GB, free: 0.7148 MB / 1.311 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00304/2.294, allocations: 2.302 MB / 1.708 GB, free: 14.38 MB / 1.326 GB Notification: Performance of simCode: alias equations: time 0.008094/2.302, allocations: 1.056 MB / 1.709 GB, free: 13.34 MB / 1.326 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002368/2.305, allocations: 367.2 kB / 1.709 GB, free: 12.98 MB / 1.326 GB Notification: Performance of SimCode: time 1.503e-06/2.305, allocations: 0 / 1.709 GB, free: 12.98 MB / 1.326 GB Notification: Performance of Templates: time 0.7616/3.066, allocations: 100.5 MB / 1.808 GB, free: 0.5051 GB / 1.373 GB make -j1 -f Buildings_1.6_Buildings.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU.makefile (rm -f Buildings_1.6_Buildings.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU.pipe >> ../files/Buildings_1.6_Buildings.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU.sim & ./Buildings_1.6_Buildings.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU.pipe 2>&1)