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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00133/0.00133, allocations: 104.4 kB / 19.7 MB, free: 2.125 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00222/0.00222, allocations: 214.2 kB / 22.99 MB, free: 4.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.447/1.447, allocations: 230.6 MB / 256.8 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002747/0.002747, allocations: 299.1 kB / 313.5 MB, free: 2.609 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.232/1.232, allocations: 180.6 MB / 0.5377 GB, free: 14.49 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU") translateModel(BuildingSystems.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU") [Timeout 660] "Notification: NcDataReader2 requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: BuildingSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002958/0.002958, allocations: 108.2 kB / 0.7407 GB, free: 27.95 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1863/0.1892, allocations: 95.38 MB / 0.8339 GB, free: 7.855 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU): time 0.8105/0.9997, allocations: 330.9 MB / 1.157 GB, free: 7.43 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.05487/1.055, allocations: 31.18 MB / 1.187 GB, free: 8.176 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007828/1.062, allocations: 202.3 kB / 1.188 GB, free: 7.977 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.008081/1.07, allocations: 2.325 MB / 1.19 GB, free: 5.637 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.02416/1.095, allocations: 7.902 MB / 1.198 GB, free: 13.7 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.01327/1.108, allocations: 4.619 MB / 1.202 GB, free: 9.121 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.01852/1.126, allocations: 11.18 MB / 1.213 GB, free: 13.91 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006561/1.133, allocations: 3.134 MB / 1.216 GB, free: 10.71 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01691/1.15, allocations: 5.711 MB / 1.222 GB, free: 5.043 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00811/1.158, allocations: 3.368 MB / 1.225 GB, free: 1.672 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.002254/1.16, allocations: 0.5508 MB / 1.226 GB, free: 1.121 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01541/1.176, allocations: 5.776 MB / 1.231 GB, free: 11.33 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.00304/1.179, allocations: 1.499 MB / 1.233 GB, free: 9.828 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.005727/1.184, allocations: 2.291 MB / 1.235 GB, free: 7.527 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.02139/1.206, allocations: 9.753 MB / 1.244 GB, free: 13.74 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 7.053e-06/1.206, allocations: 0 / 1.244 GB, free: 13.74 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.803e-06/1.206, allocations: 0 / 1.244 GB, free: 13.74 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 0.0002535/1.206, allocations: 0 / 1.244 GB, free: 13.74 MB / 0.8887 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.01785/1.224, allocations: 6.042 MB / 1.25 GB, free: 7.605 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 5.197e-05/1.224, allocations: 13.34 kB / 1.25 GB, free: 7.594 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03141/1.255, allocations: 4.39 MB / 1.255 GB, free: 3.195 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01098/1.266, allocations: 3.636 MB / 1.258 GB, free: 15.48 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005287/1.267, allocations: 338.9 kB / 1.258 GB, free: 15.14 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00177/1.269, allocations: 352 kB / 1.259 GB, free: 14.8 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01982/1.289, allocations: 5.897 MB / 1.265 GB, free: 8.77 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001388/1.289, allocations: 4 kB / 1.265 GB, free: 8.766 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001201/1.29, allocations: 140 kB / 1.265 GB, free: 8.629 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001896/1.29, allocations: 138.5 kB / 1.265 GB, free: 8.492 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02382/1.314, allocations: 6.779 MB / 1.271 GB, free: 1.703 MB / 0.9044 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.04699/1.361, allocations: 16.06 MB / 1.287 GB, free: 1.465 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01292/1.374, allocations: 3.854 MB / 1.291 GB, free: 13.61 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007552/1.381, allocations: 2.141 MB / 1.293 GB, free: 11.47 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01866/1.4, allocations: 5.682 MB / 1.299 GB, free: 5.758 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008887/1.409, allocations: 2.694 MB / 1.301 GB, free: 2.992 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=228): time 6.613e-06/1.409, allocations: 4 kB / 1.301 GB, free: 2.988 MB / 0.9356 GB Notification: Performance of matching and sorting (n=228): time 0.0368/1.446, allocations: 7.918 MB / 1.309 GB, free: 11.04 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000112/1.446, allocations: 132.8 kB / 1.309 GB, free: 10.89 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009542/1.455, allocations: 3.621 MB / 1.313 GB, free: 7.277 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 0.0008949/1.456, allocations: 81.7 kB / 1.313 GB, free: 7.191 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.002489/1.459, allocations: 1.879 MB / 1.314 GB, free: 5.297 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.001673/1.46, allocations: 0.8328 MB / 1.315 GB, free: 4.457 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00402/1.464, allocations: 0.8161 MB / 1.316 GB, free: 3.633 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001393/1.465, allocations: 305.1 kB / 1.316 GB, free: 3.332 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01013/1.475, allocations: 2.708 MB / 1.319 GB, free: 0.6211 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01159/1.486, allocations: 4.062 MB / 1.323 GB, free: 12.16 MB / 0.9669 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.0209/1.507, allocations: 5.845 MB / 1.329 GB, free: 6.098 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.983e-05/1.507, allocations: 7.938 kB / 1.329 GB, free: 6.09 MB / 0.9669 GB Notification: Performance of matching and sorting (n=446) (initialization): time 0.03164/1.539, allocations: 7.48 MB / 1.336 GB, free: 14.54 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 5.558e-05/1.539, allocations: 12.5 kB / 1.336 GB, free: 14.53 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.046e-05/1.539, allocations: 16 kB / 1.336 GB, free: 14.52 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004341/1.543, allocations: 0.9753 MB / 1.337 GB, free: 13.51 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009312/1.553, allocations: 1.404 MB / 1.338 GB, free: 12.11 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02079/1.573, allocations: 13.55 MB / 1.352 GB, free: 13.73 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01044/1.584, allocations: 1.091 MB / 1.353 GB, free: 12.63 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001234/1.585, allocations: 179.8 kB / 1.353 GB, free: 12.46 MB / 0.9981 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: 11 (hexWetNTU.UAFroRated.isFulWet,hexWetNTU.UAFroRated.isFulDry,$PRE.w_a2.nextTimeEvent,$whenCondition1,hexWetNTU_TX.flowRegime_nominal,hexWetNTU_TX.UAFroRated.isFulWet,hexWetNTU_TX.UAFroRated.isFulDry,hexWetNTU.flowRegime_nominal,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 (416): * Single equations (assignments): 401 * 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.003661/1.589, allocations: 0.8615 MB / 1.354 GB, free: 11.59 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002071/1.591, allocations: 373.6 kB / 1.354 GB, free: 11.22 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02404/1.615, allocations: 5.739 MB / 1.36 GB, free: 5.445 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.137e-05/1.615, allocations: 28 kB / 1.36 GB, free: 5.418 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.478e-06/1.615, allocations: 0 / 1.36 GB, free: 5.418 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.977e-05/1.615, allocations: 15.95 kB / 1.36 GB, free: 5.402 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4446/2.06, allocations: 9.564 MB / 1.369 GB, free: 410.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.14e-05/2.06, allocations: 4.281 kB / 1.369 GB, free: 410.8 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004839/2.064, allocations: 0.6635 MB / 1.37 GB, free: 410.8 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003363/2.068, allocations: 0.7658 MB / 1.37 GB, free: 410.8 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008812/2.069, allocations: 89.88 kB / 1.371 GB, free: 410.8 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01213/2.081, allocations: 10.87 MB / 1.381 GB, free: 402.1 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.025e-05/2.081, allocations: 8.375 kB / 1.381 GB, free: 402.1 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03058/2.111, allocations: 8.146 MB / 1.389 GB, free: 399.3 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003153/2.115, allocations: 0.9402 MB / 1.39 GB, free: 399 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001231/2.116, allocations: 49.94 kB / 1.39 GB, free: 398.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006169/2.122, allocations: 0.5211 MB / 1.391 GB, free: 398.9 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000591/2.123, allocations: 172.5 kB / 1.391 GB, free: 398.9 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004187/2.123, allocations: 113.2 kB / 1.391 GB, free: 398.9 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.005378/2.128, allocations: 2.459 MB / 1.393 GB, free: 398 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.51e-07/2.128, allocations: 0 / 1.393 GB, free: 398 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.005803/2.134, allocations: 1.616 MB / 1.395 GB, free: 397.9 MB / 0.9981 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 (226): * Single equations (assignments): 213 * 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.003148/2.137, allocations: 1.058 MB / 1.396 GB, free: 397.7 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.01991/2.157, allocations: 6.234 MB / 1.402 GB, free: 395.6 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.208e-05/2.157, allocations: 0 / 1.402 GB, free: 395.6 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.00789/2.165, allocations: 2.925 MB / 1.405 GB, free: 394.2 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007238/2.172, allocations: 1.499 MB / 1.406 GB, free: 393.8 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02504/2.197, allocations: 9.34 MB / 1.415 GB, free: 387.4 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001532/2.199, allocations: 1.771 MB / 1.417 GB, free: 386.1 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002539/2.201, allocations: 395 kB / 1.417 GB, free: 385.8 MB / 0.9981 GB Notification: Performance of SimCode: time 1.373e-06/2.201, allocations: 0 / 1.417 GB, free: 385.8 MB / 0.9981 GB Notification: Performance of Templates: time 0.1807/2.382, allocations: 256.3 MB / 1.668 GB, free: 129.6 MB / 0.9981 GB " [Timeout remaining time 658] make -j1 -f BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU.makefile [Timeout 660] (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) [Timeout 480] [Calling sys.exit(0), Time elapsed: 21.451502395793796] Failed to read output from testmodel.py, exit status != 0: 2.3917757580056787 2.402774698 1.194030202 Calling exit ...