Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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="mat",numberOfIntervals=5000,variableFilter="time|hexWetNTU.Q1_flow|hexWetNTU_TX.Q1_flow|hexWetNTU.sta_b2.T|hexWetNTU_TX.sta_b2.T|relHumOut_eps.phi|hexWetNTU.SHR|hexWetNTU.dryFra|hexWetNTU.UA_nominal|hexWetNTU_TX.UA_nominal",fileNamePrefix="Buildings_10_Buildings.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU") translateModel(Buildings.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|hexWetNTU.Q1_flow|hexWetNTU_TX.Q1_flow|hexWetNTU.sta_b2.T|hexWetNTU_TX.sta_b2.T|relHumOut_eps.phi|hexWetNTU.SHR|hexWetNTU.dryFra|hexWetNTU.UA_nominal|hexWetNTU_TX.UA_nominal",fileNamePrefix="Buildings_10_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.001533/0.001533, allocations: 118.1 kB / 16.42 MB, free: 6.012 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.001765/0.001765, allocations: 183.4 kB / 17.35 MB, free: 5.629 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.512/1.512, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.489/2.489, allocations: 437.1 MB / 0.7112 GB, free: 4.336 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001545/0.001545, allocations: 63.83 kB / 1.019 GB, free: 9.391 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8228/0.8244, allocations: 151.6 MB / 1.167 GB, free: 3.844 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU): time 0.373/1.197, allocations: 369.8 MB / 1.528 GB, free: 0.7305 MB / 1.248 GB Notification: Performance of NFInst.instExpressions: time 0.825/2.022, allocations: 33.33 MB / 1.561 GB, free: 50.84 MB / 1.279 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00718/2.03, allocations: 152.1 kB / 1.561 GB, free: 50.84 MB / 1.279 GB Notification: Performance of NFTyping.typeComponents: time 0.007904/2.038, allocations: 2.445 MB / 1.564 GB, free: 50.84 MB / 1.279 GB Notification: Performance of NFTyping.typeBindings: time 0.02307/2.061, allocations: 7.83 MB / 1.571 GB, free: 50.82 MB / 1.279 GB Notification: Performance of NFTyping.typeClassSections: time 0.01154/2.072, allocations: 4.616 MB / 1.576 GB, free: 50.71 MB / 1.279 GB Notification: Performance of NFFlatten.flatten: time 0.0181/2.09, allocations: 11.11 MB / 1.587 GB, free: 50.7 MB / 1.279 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008999/2.099, allocations: 3.984 MB / 1.59 GB, free: 50.29 MB / 1.279 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01592/2.115, allocations: 5.571 MB / 1.596 GB, free: 50.22 MB / 1.279 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00835/2.124, allocations: 3.463 MB / 1.599 GB, free: 50.21 MB / 1.279 GB Notification: Performance of NFPackage.collectConstants: time 0.002852/2.127, allocations: 0.5493 MB / 1.6 GB, free: 50.21 MB / 1.279 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01842/2.145, allocations: 6.818 MB / 1.606 GB, free: 50.14 MB / 1.279 GB Notification: Performance of NFScalarize.scalarize: time 0.003547/2.149, allocations: 1.471 MB / 1.608 GB, free: 50.14 MB / 1.279 GB Notification: Performance of NFVerifyModel.verify: time 0.008218/2.157, allocations: 2.84 MB / 1.611 GB, free: 49.46 MB / 1.279 GB Notification: Performance of NFConvertDAE.convert: time 0.0241/2.181, allocations: 9.778 MB / 1.62 GB, free: 48.32 MB / 1.279 GB Notification: Performance of FrontEnd - DAE generated: time 8.717e-06/2.181, allocations: 2.188 kB / 1.62 GB, free: 48.32 MB / 1.279 GB Notification: Performance of FrontEnd: time 2.315e-06/2.181, allocations: 0.9375 kB / 1.62 GB, free: 48.32 MB / 1.279 GB Notification: Performance of Transformations before backend: time 0.0003374/2.182, allocations: 0 / 1.62 GB, free: 48.32 MB / 1.279 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.02229/2.204, allocations: 5.951 MB / 1.626 GB, free: 45.77 MB / 1.279 GB Notification: Performance of prepare preOptimizeDAE: time 6.103e-05/2.204, allocations: 9.922 kB / 1.626 GB, free: 45.77 MB / 1.279 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03197/2.236, allocations: 4.296 MB / 1.63 GB, free: 45.5 MB / 1.279 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0107/2.247, allocations: 3.705 MB / 1.634 GB, free: 44.73 MB / 1.279 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004429/2.247, allocations: 309.4 kB / 1.634 GB, free: 44.69 MB / 1.279 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001934/2.249, allocations: 353.1 kB / 1.634 GB, free: 44.69 MB / 1.279 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01879/2.268, allocations: 5.69 MB / 1.64 GB, free: 44.33 MB / 1.279 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.346e-05/2.268, allocations: 5.438 kB / 1.64 GB, free: 44.33 MB / 1.279 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005913/2.269, allocations: 139.5 kB / 1.64 GB, free: 44.33 MB / 1.279 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001443/2.269, allocations: 133.7 kB / 1.64 GB, free: 44.32 MB / 1.279 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02287/2.292, allocations: 6.791 MB / 1.647 GB, free: 44.17 MB / 1.279 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.04813/2.34, allocations: 22.19 MB / 1.669 GB, free: 35.27 MB / 1.279 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01245/2.352, allocations: 4.028 MB / 1.673 GB, free: 34.56 MB / 1.279 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007487/2.36, allocations: 2.257 MB / 1.675 GB, free: 34.15 MB / 1.279 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02032/2.38, allocations: 8.173 MB / 1.683 GB, free: 30.05 MB / 1.279 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008562/2.389, allocations: 2.49 MB / 1.685 GB, free: 29.29 MB / 1.279 GB Notification: Performance of pre-optimization done (n=228): time 9.177e-06/2.389, allocations: 0 / 1.685 GB, free: 29.29 MB / 1.279 GB Notification: Performance of matching and sorting (n=228): time 0.03572/2.425, allocations: 8.419 MB / 1.693 GB, free: 23.57 MB / 1.279 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.491e-05/2.425, allocations: 124.8 kB / 1.693 GB, free: 23.43 MB / 1.279 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01006/2.435, allocations: 4.316 MB / 1.698 GB, free: 19.1 MB / 1.279 GB Notification: Performance of collectPreVariables (initialization): time 0.001062/2.436, allocations: 77.7 kB / 1.698 GB, free: 19.02 MB / 1.279 GB Notification: Performance of collectInitialEqns (initialization): time 0.002099/2.438, allocations: 1.819 MB / 1.7 GB, free: 17.2 MB / 1.279 GB Notification: Performance of collectInitialBindings (initialization): time 0.001664/2.44, allocations: 0.7915 MB / 1.7 GB, free: 16.41 MB / 1.279 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004257/2.444, allocations: 0.8224 MB / 1.701 GB, free: 15.58 MB / 1.279 GB Notification: Performance of setup shared object (initialization): time 5.187e-05/2.444, allocations: 305.1 kB / 1.701 GB, free: 15.28 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00915/2.453, allocations: 2.721 MB / 1.704 GB, free: 12.56 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00974/2.463, allocations: 3.439 MB / 1.707 GB, free: 8.883 MB / 1.279 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.01863/2.482, allocations: 5.94 MB / 1.713 GB, free: 2.762 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.29e-05/2.482, allocations: 7.938 kB / 1.713 GB, free: 2.754 MB / 1.279 GB Notification: Performance of matching and sorting (n=454) (initialization): time 0.03172/2.513, allocations: 7.572 MB / 1.721 GB, free: 11.23 MB / 1.295 GB Notification: Performance of prepare postOptimizeDAE: time 4.641e-05/2.514, allocations: 11.94 kB / 1.721 GB, free: 11.22 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.966e-05/2.514, allocations: 16 kB / 1.721 GB, free: 11.21 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004428/2.518, allocations: 0.9668 MB / 1.722 GB, free: 10.21 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009857/2.528, allocations: 1.411 MB / 1.723 GB, free: 8.852 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01973/2.548, allocations: 14.46 MB / 1.737 GB, free: 9.383 MB / 1.311 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01202/2.56, allocations: 1.19 MB / 1.738 GB, free: 8.195 MB / 1.311 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001547/2.561, allocations: 179.8 kB / 1.738 GB, free: 8.02 MB / 1.311 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.00434/2.566, allocations: 0.861 MB / 1.739 GB, free: 7.195 MB / 1.311 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002582/2.568, allocations: 430.7 kB / 1.74 GB, free: 6.77 MB / 1.311 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02537/2.594, allocations: 5.771 MB / 1.745 GB, free: 0.9844 MB / 1.311 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.58e-05/2.594, allocations: 15.95 kB / 1.745 GB, free: 0.9688 MB / 1.311 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.913e-06/2.594, allocations: 0 / 1.745 GB, free: 0.9688 MB / 1.311 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004242/2.598, allocations: 1.053 MB / 1.746 GB, free: 15.89 MB / 1.326 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002406/2.6, allocations: 44 kB / 1.746 GB, free: 15.85 MB / 1.326 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007775/2.608, allocations: 0.5354 MB / 1.747 GB, free: 15.31 MB / 1.326 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007839/2.609, allocations: 165.8 kB / 1.747 GB, free: 15.15 MB / 1.326 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.02433/2.633, allocations: 5.273 MB / 1.752 GB, free: 9.895 MB / 1.326 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.02543/2.659, allocations: 7.312 MB / 1.759 GB, free: 2.559 MB / 1.326 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.007377/2.666, allocations: 2.109 MB / 1.761 GB, free: 464 kB / 1.326 GB Notification: Performance of sorting global known variables: time 0.008596/2.675, allocations: 2.971 MB / 1.764 GB, free: 13.48 MB / 1.342 GB Notification: Performance of Backend: time 3.056e-06/2.675, allocations: 0 / 1.764 GB, free: 13.48 MB / 1.342 GB Notification: Performance of simCode: created initialization part: time 0.02911/2.704, allocations: 6.47 MB / 1.771 GB, free: 7.309 MB / 1.342 GB Notification: Performance of SimCode: time 0.02174/2.726, allocations: 8.688 MB / 1.779 GB, free: 14.62 MB / 1.357 GB Notification: Performance of Templates: time 0.1827/2.909, allocations: 118.2 MB / 1.895 GB, free: 9.414 MB / 1.467 GB make -j1 -f Buildings_10_Buildings.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU.makefile (rm -f Buildings_10_Buildings.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU.pipe ; mkfifo Buildings_10_Buildings.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU.pipe >> ../files/Buildings_10_Buildings.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU.sim & ./Buildings_10_Buildings.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU.pipe 2>&1)