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: "" <> buildModelFMU(IBPSA.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_HeatExchangers_Validation_WetCoilEffectivenessNTU",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_HeatExchangers_Validation_WetCoilEffectivenessNTU",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001207/0.001207, allocations: 100.1 kB / 15.88 MB, free: 12 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.001218/0.001218, allocations: 210.2 kB / 16.79 MB, free: 6.84 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.209/1.209, allocations: 222.9 MB / 240.5 MB, free: 4.605 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6175/0.6175, allocations: 115.3 MB / 405.9 MB, free: 2.809 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001168/0.001168, allocations: 65.81 kB / 493 MB, free: 6.723 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1116/0.1128, allocations: 76.19 MB / 0.5558 GB, free: 10.73 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU): time 0.751/0.8638, allocations: 367.2 MB / 0.9144 GB, free: 24.56 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.03245/0.8963, allocations: 33.67 MB / 0.9473 GB, free: 19.92 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005011/0.9013, allocations: 139.8 kB / 0.9474 GB, free: 19.92 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.004324/0.9057, allocations: 1.945 MB / 0.9493 GB, free: 18.97 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.01385/0.9195, allocations: 6.945 MB / 0.9561 GB, free: 15.87 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.00782/0.9274, allocations: 4.146 MB / 0.9602 GB, free: 13.31 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.01051/0.9379, allocations: 13.66 MB / 0.9735 GB, free: 1.734 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003636/0.9415, allocations: 3.299 MB / 0.9767 GB, free: 14.51 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01177/0.9533, allocations: 4.744 MB / 0.9814 GB, free: 10.08 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005422/0.9588, allocations: 3.362 MB / 0.9846 GB, free: 6.938 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0007882/0.9596, allocations: 244 kB / 0.9849 GB, free: 6.699 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01228/0.9718, allocations: 7.252 MB / 0.992 GB, free: 132 kB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.001065/0.9729, allocations: 1.16 MB / 0.9931 GB, free: 14.99 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.002926/0.9759, allocations: 2.513 MB / 0.9955 GB, free: 12.5 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.0106/0.9865, allocations: 9.798 MB / 1.005 GB, free: 3.172 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 3.347e-06/0.9865, allocations: 3.938 kB / 1.005 GB, free: 3.168 MB / 0.67 GB Notification: Performance of FrontEnd: time 6.92e-07/0.9865, allocations: 0 / 1.005 GB, free: 3.168 MB / 0.67 GB Notification: Performance of Transformations before backend: time 4.331e-05/0.9865, allocations: 4 kB / 1.005 GB, free: 3.164 MB / 0.67 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.0105/0.997, allocations: 5.953 MB / 1.011 GB, free: 13.16 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 3.419e-05/0.9971, allocations: 8.031 kB / 1.011 GB, free: 13.16 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005034/0.9976, allocations: 451.8 kB / 1.011 GB, free: 12.7 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02845/1.026, allocations: 4.288 MB / 1.016 GB, free: 8.414 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005886/1.032, allocations: 3.596 MB / 1.019 GB, free: 4.836 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001287/1.033, allocations: 0.5225 MB / 1.02 GB, free: 4.309 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005722/1.034, allocations: 363.3 kB / 1.02 GB, free: 3.957 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01269/1.047, allocations: 5.71 MB / 1.026 GB, free: 14.17 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.736e-05/1.047, allocations: 0 / 1.026 GB, free: 14.17 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004001/1.047, allocations: 134 kB / 1.026 GB, free: 14.04 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001005/1.047, allocations: 142.5 kB / 1.026 GB, free: 13.9 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01863/1.066, allocations: 6.829 MB / 1.032 GB, free: 7.062 MB / 0.7012 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.03365/1.099, allocations: 22.28 MB / 1.054 GB, free: 15.84 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01057/1.11, allocations: 4.021 MB / 1.058 GB, free: 11.81 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006299/1.116, allocations: 2.25 MB / 1.06 GB, free: 9.562 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01223/1.129, allocations: 8.16 MB / 1.068 GB, free: 1.098 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006797/1.135, allocations: 2.497 MB / 1.071 GB, free: 14.58 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=228): time 3.687e-06/1.135, allocations: 0 / 1.071 GB, free: 14.58 MB / 0.7481 GB Notification: Performance of matching and sorting (n=228): time 0.03076/1.166, allocations: 8.418 MB / 1.079 GB, free: 6.031 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.467e-05/1.166, allocations: 128.8 kB / 1.079 GB, free: 5.879 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006678/1.173, allocations: 4.318 MB / 1.083 GB, free: 1.543 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 0.000357/1.173, allocations: 77.7 kB / 1.083 GB, free: 1.461 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.001413/1.175, allocations: 1.831 MB / 1.085 GB, free: 15.62 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007596/1.175, allocations: 0.7993 MB / 1.086 GB, free: 14.83 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001525/1.177, allocations: 0.8233 MB / 1.087 GB, free: 14 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 8.214e-05/1.177, allocations: 301.1 kB / 1.087 GB, free: 13.71 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008429/1.186, allocations: 2.74 MB / 1.09 GB, free: 10.96 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009023/1.195, allocations: 3.463 MB / 1.093 GB, free: 7.258 MB / 0.7637 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.01686/1.211, allocations: 5.953 MB / 1.099 GB, free: 1.074 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.009e-05/1.211, allocations: 4 kB / 1.099 GB, free: 1.07 MB / 0.7637 GB Notification: Performance of matching and sorting (n=454) (initialization): time 0.02436/1.236, allocations: 7.606 MB / 1.106 GB, free: 9.402 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.343e-05/1.236, allocations: 8.5 kB / 1.106 GB, free: 9.395 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.237e-05/1.236, allocations: 23.94 kB / 1.106 GB, free: 9.371 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00381/1.24, allocations: 0.9714 MB / 1.107 GB, free: 8.371 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008165/1.248, allocations: 1.415 MB / 1.109 GB, free: 6.957 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2258/1.474, allocations: 13.71 MB / 1.122 GB, free: 348.4 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01031/1.484, allocations: 1.301 MB / 1.123 GB, free: 348.4 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005736/1.485, allocations: 184.8 kB / 1.124 GB, free: 348.4 MB / 0.7794 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.001758/1.486, allocations: 0.8659 MB / 1.124 GB, free: 348.3 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001046/1.487, allocations: 426.2 kB / 1.125 GB, free: 348.3 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01968/1.507, allocations: 5.776 MB / 1.13 GB, free: 347.1 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.711e-05/1.507, allocations: 24.33 kB / 1.13 GB, free: 347.1 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.394e-06/1.507, allocations: 3.844 kB / 1.13 GB, free: 347.1 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.759e-05/1.507, allocations: 12.91 kB / 1.13 GB, free: 347.1 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02521/1.532, allocations: 10.89 MB / 1.141 GB, free: 342.8 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.193e-05/1.532, allocations: 4.406 kB / 1.141 GB, free: 342.8 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004245/1.537, allocations: 0.6609 MB / 1.142 GB, free: 342.8 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003143/1.54, allocations: 0.788 MB / 1.142 GB, free: 342.6 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002487/1.54, allocations: 82.42 kB / 1.143 GB, free: 342.6 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0104/1.551, allocations: 10.96 MB / 1.153 GB, free: 332.8 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.909e-06/1.551, allocations: 4.562 kB / 1.153 GB, free: 332.8 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02407/1.575, allocations: 8.188 MB / 1.161 GB, free: 329.9 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001976/1.577, allocations: 1.065 MB / 1.162 GB, free: 329.3 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007541/1.577, allocations: 43.91 kB / 1.162 GB, free: 329.2 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00574/1.583, allocations: 0.6175 MB / 1.163 GB, free: 329.1 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003331/1.584, allocations: 171.5 kB / 1.163 GB, free: 329.1 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002568/1.584, allocations: 107.5 kB / 1.163 GB, free: 329.1 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.004512/1.588, allocations: 2.971 MB / 1.166 GB, free: 328 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.8e-07/1.588, allocations: 4 kB / 1.166 GB, free: 328 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.003877/1.592, allocations: 1.563 MB / 1.168 GB, free: 327.8 MB / 0.7794 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.02342/1.616, allocations: 9.563 MB / 1.177 GB, free: 322.9 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0174/1.633, allocations: 6.431 MB / 1.183 GB, free: 319.6 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 4.689e-06/1.633, allocations: 320 / 1.183 GB, free: 319.6 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.006494/1.64, allocations: 3.004 MB / 1.186 GB, free: 317.1 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007284/1.647, allocations: 1.973 MB / 1.188 GB, free: 315.2 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1047/1.752, allocations: 48.25 MB / 1.235 GB, free: 263.8 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001247/1.753, allocations: 2.306 MB / 1.238 GB, free: 261.5 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.005184/1.758, allocations: 1.04 MB / 1.239 GB, free: 260.4 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002323/1.76, allocations: 1.803 MB / 1.24 GB, free: 258.6 MB / 0.7794 GB Notification: Performance of SimCode: time 3.91e-07/1.76, allocations: 0 / 1.24 GB, free: 258.6 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.143/2.904, allocations: 124.4 MB / 1.362 GB, free: 135.2 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001747/2.904, allocations: 282.8 kB / 1.362 GB, free: 134.9 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.413/8.316, allocations: 4 kB / 1.362 GB, free: 134.9 MB / 0.7794 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_HeatExchangers_Validation_WetCoilEffectivenessNTU_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_HeatExchangers_Validation_WetCoilEffectivenessNTU.fmu > IBPSA_latest_IBPSA.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU.pipe 2>&1)