Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU") translateModel(IBPSA.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.001342/0.001342, allocations: 105.9 kB / 16.41 MB, free: 6.492 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.001117/0.001117, allocations: 191.9 kB / 17.34 MB, free: 5.762 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.311/1.311, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7341/0.7341, allocations: 122.9 MB / 414.1 MB, free: 15.72 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001241/0.001241, allocations: 66.03 kB / 0.5685 GB, free: 28.71 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1495/0.1507, allocations: 77.94 MB / 0.6446 GB, free: 8.984 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU): time 0.711/0.8618, allocations: 369.7 MB / 1.006 GB, free: 9.578 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.04629/0.9081, allocations: 33.35 MB / 1.038 GB, free: 8.148 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005775/0.9139, allocations: 151.1 kB / 1.038 GB, free: 8 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.006327/0.9203, allocations: 2.364 MB / 1.041 GB, free: 5.621 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.4845/1.405, allocations: 7.493 MB / 1.048 GB, free: 52.59 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.01074/1.416, allocations: 4.583 MB / 1.052 GB, free: 52.57 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.01608/1.432, allocations: 11.08 MB / 1.063 GB, free: 52.56 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006693/1.438, allocations: 3.986 MB / 1.067 GB, free: 52.15 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01531/1.454, allocations: 5.455 MB / 1.073 GB, free: 52.12 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00799/1.462, allocations: 3.449 MB / 1.076 GB, free: 51.78 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.001994/1.464, allocations: 0.5534 MB / 1.076 GB, free: 51.77 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01396/1.478, allocations: 6.807 MB / 1.083 GB, free: 51.77 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.002405/1.48, allocations: 1.467 MB / 1.084 GB, free: 51.59 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.006347/1.486, allocations: 2.841 MB / 1.087 GB, free: 50.86 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0203/1.507, allocations: 9.82 MB / 1.097 GB, free: 49.7 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 7.434e-06/1.507, allocations: 0 / 1.097 GB, free: 49.7 MB / 0.795 GB Notification: Performance of FrontEnd: time 2.235e-06/1.507, allocations: 0.9375 kB / 1.097 GB, free: 49.7 MB / 0.795 GB Notification: Performance of Transformations before backend: time 0.00043/1.507, allocations: 3.75 kB / 1.097 GB, free: 49.7 MB / 0.795 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.02032/1.528, allocations: 6.121 MB / 1.103 GB, free: 47.01 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.173e-05/1.528, allocations: 12 kB / 1.103 GB, free: 47.01 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03006/1.558, allocations: 4.316 MB / 1.107 GB, free: 46.72 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007948/1.566, allocations: 3.732 MB / 1.111 GB, free: 45.95 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004839/1.566, allocations: 308.2 kB / 1.111 GB, free: 45.91 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001704/1.568, allocations: 355.2 kB / 1.111 GB, free: 45.91 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0153/1.583, allocations: 5.696 MB / 1.117 GB, free: 45.57 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.285e-05/1.583, allocations: 3.906 kB / 1.117 GB, free: 45.57 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004919/1.584, allocations: 134.6 kB / 1.117 GB, free: 45.57 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001085/1.584, allocations: 134.4 kB / 1.117 GB, free: 45.57 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02024/1.604, allocations: 6.793 MB / 1.124 GB, free: 44.67 MB / 0.795 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.0384/1.643, allocations: 22.23 MB / 1.146 GB, free: 29.68 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01074/1.654, allocations: 4.035 MB / 1.149 GB, free: 26.78 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006572/1.66, allocations: 2.254 MB / 1.152 GB, free: 24.52 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01357/1.674, allocations: 8.173 MB / 1.16 GB, free: 16.09 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006675/1.68, allocations: 2.493 MB / 1.162 GB, free: 13.58 MB / 0.795 GB Notification: Performance of pre-optimization done (n=228): time 3.898e-06/1.68, allocations: 0 / 1.162 GB, free: 13.58 MB / 0.795 GB Notification: Performance of matching and sorting (n=228): time 0.03144/1.712, allocations: 8.436 MB / 1.17 GB, free: 5.031 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.443e-05/1.712, allocations: 128.8 kB / 1.17 GB, free: 4.879 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007428/1.719, allocations: 4.314 MB / 1.175 GB, free: 0.5469 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 0.0007804/1.72, allocations: 77.7 kB / 1.175 GB, free: 476 kB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.001891/1.722, allocations: 1.863 MB / 1.177 GB, free: 14.64 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.001356/1.724, allocations: 0.8308 MB / 1.177 GB, free: 13.82 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002096/1.726, allocations: 0.8301 MB / 1.178 GB, free: 12.98 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001745/1.726, allocations: 305.1 kB / 1.178 GB, free: 12.68 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009516/1.735, allocations: 2.728 MB / 1.181 GB, free: 9.957 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01121/1.747, allocations: 3.431 MB / 1.184 GB, free: 6.289 MB / 0.8106 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.02035/1.767, allocations: 5.939 MB / 1.19 GB, free: 180 kB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-05/1.767, allocations: 7.938 kB / 1.19 GB, free: 172 kB / 0.8106 GB Notification: Performance of matching and sorting (n=454) (initialization): time 0.02925/1.796, allocations: 7.586 MB / 1.198 GB, free: 8.621 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 4.631e-05/1.796, allocations: 19.92 kB / 1.198 GB, free: 8.602 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.222e-05/1.796, allocations: 12.5 kB / 1.198 GB, free: 8.59 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004172/1.801, allocations: 0.9709 MB / 1.199 GB, free: 7.598 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009166/1.81, allocations: 1.407 MB / 1.2 GB, free: 6.234 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01789/1.828, allocations: 14.47 MB / 1.214 GB, free: 6.77 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0122/1.84, allocations: 1.2 MB / 1.215 GB, free: 5.566 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001403/1.841, allocations: 179.8 kB / 1.216 GB, free: 5.391 MB / 0.8419 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.004001/1.845, allocations: 0.8681 MB / 1.216 GB, free: 4.555 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002245/1.848, allocations: 445.1 kB / 1.217 GB, free: 4.117 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02436/1.872, allocations: 5.767 MB / 1.222 GB, free: 14.34 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.913e-05/1.872, allocations: 20 kB / 1.222 GB, free: 14.32 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.462e-05/1.872, allocations: 4 kB / 1.222 GB, free: 14.31 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.616e-05/1.872, allocations: 11.95 kB / 1.222 GB, free: 14.3 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03182/1.904, allocations: 10.9 MB / 1.233 GB, free: 3.359 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.084e-05/1.904, allocations: 8 kB / 1.233 GB, free: 3.352 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004967/1.909, allocations: 0.6632 MB / 1.234 GB, free: 2.707 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003401/1.912, allocations: 0.7612 MB / 1.234 GB, free: 1.926 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006807/1.913, allocations: 87.84 kB / 1.235 GB, free: 1.84 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01421/1.927, allocations: 11.69 MB / 1.246 GB, free: 5.293 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.041e-06/1.927, allocations: 11.78 kB / 1.246 GB, free: 5.285 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02966/1.957, allocations: 8.192 MB / 1.254 GB, free: 13.02 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003707/1.961, allocations: 1.087 MB / 1.255 GB, free: 11.91 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002984/1.964, allocations: 47.98 kB / 1.255 GB, free: 11.87 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007939/1.972, allocations: 0.5354 MB / 1.256 GB, free: 11.33 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008835/1.973, allocations: 165 kB / 1.256 GB, free: 11.18 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000829/1.974, allocations: 107.9 kB / 1.256 GB, free: 11.07 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.007568/1.981, allocations: 2.971 MB / 1.259 GB, free: 8.098 MB / 0.8887 GB Notification: Performance of sort global known variables: time 2.51e-07/1.981, allocations: 0 / 1.259 GB, free: 8.098 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.00715/1.988, allocations: 1.541 MB / 1.26 GB, free: 6.555 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: 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.002936/1.991, allocations: 1.063 MB / 1.261 GB, free: 5.742 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.0224/2.014, allocations: 6.451 MB / 1.268 GB, free: 15.32 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 8.826e-06/2.014, allocations: 0 / 1.268 GB, free: 15.32 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.008955/2.023, allocations: 3.019 MB / 1.271 GB, free: 12.28 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01471/2.038, allocations: 2.093 MB / 1.273 GB, free: 10.24 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02984/2.067, allocations: 9.302 MB / 1.282 GB, free: 0.9102 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002691/2.07, allocations: 2.306 MB / 1.284 GB, free: 14.57 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.00668/2.077, allocations: 1.033 MB / 1.285 GB, free: 13.55 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002173/2.079, allocations: 367.2 kB / 1.285 GB, free: 13.19 MB / 0.92 GB Notification: Performance of SimCode: time 9.52e-07/2.079, allocations: 0 / 1.285 GB, free: 13.19 MB / 0.92 GB Notification: Performance of Templates: time 0.1489/2.228, allocations: 97.74 MB / 1.381 GB, free: 12.69 MB / 1.014 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU.makefile (rm -f IBPSA_latest_IBPSA.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU.sim & ./IBPSA_latest_IBPSA.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU.pipe 2>&1)