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.001225/0.001225, allocations: 102 kB / 15.98 MB, free: 6.352 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.0009911/0.0009912, allocations: 193.1 kB / 16.91 MB, free: 6.195 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.221/1.221, allocations: 222.9 MB / 240.6 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6364/0.6364, allocations: 115.3 MB / 406.1 MB, free: 6.32 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001228/0.001228, allocations: 67.91 kB / 493.2 MB, free: 0.5938 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.272/0.2733, allocations: 76.17 MB / 0.556 GB, free: 36.36 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU): time 0.4943/0.7676, allocations: 365.6 MB / 0.913 GB, free: 8.121 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.03665/0.8043, allocations: 33.14 MB / 0.9454 GB, free: 7.219 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004628/0.8089, allocations: 143.1 kB / 0.9455 GB, free: 7.078 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.00488/0.8138, allocations: 2.048 MB / 0.9475 GB, free: 5.02 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.01483/0.8287, allocations: 7.007 MB / 0.9543 GB, free: 13.99 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.008052/0.8367, allocations: 4.209 MB / 0.9585 GB, free: 9.816 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.01007/0.8468, allocations: 11.09 MB / 0.9693 GB, free: 14.69 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003609/0.8504, allocations: 3.945 MB / 0.9731 GB, free: 10.68 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01067/0.8611, allocations: 5.474 MB / 0.9785 GB, free: 5.254 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00359/0.8647, allocations: 3.577 MB / 0.982 GB, free: 1.676 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0005525/0.8653, allocations: 0.5508 MB / 0.9825 GB, free: 1.125 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009304/0.8746, allocations: 7.012 MB / 0.9894 GB, free: 10.1 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.0009811/0.8756, allocations: 1.48 MB / 0.9908 GB, free: 8.613 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.002088/0.8777, allocations: 2.843 MB / 0.9936 GB, free: 5.758 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.009315/0.887, allocations: 10.01 MB / 1.003 GB, free: 11.72 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.887, allocations: 8 kB / 1.003 GB, free: 11.71 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.392e-06/0.887, allocations: 0 / 1.003 GB, free: 11.71 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.203e-05/0.8871, allocations: 4 kB / 1.003 GB, free: 11.71 MB / 0.7169 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.009808/0.8969, allocations: 5.958 MB / 1.009 GB, free: 5.648 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.208e-05/0.8969, allocations: 8.031 kB / 1.009 GB, free: 5.641 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004634/0.8974, allocations: 447.8 kB / 1.01 GB, free: 5.191 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02679/0.9242, allocations: 4.286 MB / 1.014 GB, free: 0.8945 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005583/0.9298, allocations: 3.6 MB / 1.017 GB, free: 13.23 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001263/0.9311, allocations: 0.5244 MB / 1.018 GB, free: 12.7 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005804/0.9317, allocations: 359.9 kB / 1.018 GB, free: 12.34 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01221/0.9439, allocations: 5.712 MB / 1.024 GB, free: 6.547 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.379e-05/0.9439, allocations: 0 / 1.024 GB, free: 6.547 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003956/0.9443, allocations: 144 kB / 1.024 GB, free: 6.406 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.693e-05/0.9444, allocations: 134.5 kB / 1.024 GB, free: 6.273 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2037/1.148, allocations: 6.823 MB / 1.031 GB, free: 314.6 MB / 0.7325 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.03432/1.183, allocations: 22.27 MB / 1.052 GB, free: 301.6 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00922/1.192, allocations: 4.033 MB / 1.056 GB, free: 300.2 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005238/1.197, allocations: 2.259 MB / 1.059 GB, free: 299.4 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.009855/1.207, allocations: 8.163 MB / 1.067 GB, free: 294.2 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005772/1.213, allocations: 2.495 MB / 1.069 GB, free: 292.9 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=228): time 3.897e-06/1.213, allocations: 1.094 kB / 1.069 GB, free: 292.9 MB / 0.7325 GB Notification: Performance of matching and sorting (n=228): time 0.02641/1.239, allocations: 8.421 MB / 1.077 GB, free: 288.7 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.663e-05/1.239, allocations: 128.6 kB / 1.077 GB, free: 288.5 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005002/1.244, allocations: 4.319 MB / 1.082 GB, free: 286.3 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0002379/1.244, allocations: 81.58 kB / 1.082 GB, free: 286.2 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008827/1.245, allocations: 1.822 MB / 1.083 GB, free: 284.6 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004703/1.246, allocations: 0.7953 MB / 1.084 GB, free: 283.9 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001296/1.247, allocations: 0.819 MB / 1.085 GB, free: 283.4 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 2.691e-05/1.247, allocations: 301.1 kB / 1.085 GB, free: 283.2 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00683/1.254, allocations: 2.746 MB / 1.088 GB, free: 281.9 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007192/1.261, allocations: 3.458 MB / 1.091 GB, free: 279.8 MB / 0.7325 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.01387/1.275, allocations: 5.963 MB / 1.097 GB, free: 276.4 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.006e-06/1.275, allocations: 3.656 kB / 1.097 GB, free: 276.4 MB / 0.7325 GB Notification: Performance of matching and sorting (n=454) (initialization): time 0.02021/1.295, allocations: 7.595 MB / 1.105 GB, free: 270 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.019e-05/1.295, allocations: 12.62 kB / 1.105 GB, free: 270 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.842e-05/1.295, allocations: 16 kB / 1.105 GB, free: 270 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003181/1.298, allocations: 0.9743 MB / 1.106 GB, free: 269 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006836/1.305, allocations: 1.416 MB / 1.107 GB, free: 267.6 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01165/1.317, allocations: 14.55 MB / 1.121 GB, free: 252 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007927/1.325, allocations: 1.309 MB / 1.122 GB, free: 250.7 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003635/1.325, allocations: 187.8 kB / 1.123 GB, free: 250.5 MB / 0.7325 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.001335/1.327, allocations: 0.8577 MB / 1.123 GB, free: 249.7 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007486/1.327, allocations: 426.8 kB / 1.124 GB, free: 249.2 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01639/1.344, allocations: 5.773 MB / 1.129 GB, free: 243.4 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.445e-05/1.344, allocations: 24 kB / 1.13 GB, free: 243.4 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.419e-06/1.344, allocations: 4 kB / 1.13 GB, free: 243.4 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.783e-05/1.344, allocations: 11.95 kB / 1.13 GB, free: 243.4 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02008/1.364, allocations: 10.89 MB / 1.14 GB, free: 232.4 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.055e-06/1.364, allocations: 7.984 kB / 1.14 GB, free: 232.4 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003621/1.368, allocations: 0.6714 MB / 1.141 GB, free: 231.7 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002545/1.37, allocations: 0.757 MB / 1.142 GB, free: 231 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002292/1.37, allocations: 83.91 kB / 1.142 GB, free: 230.9 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00934/1.38, allocations: 11.68 MB / 1.153 GB, free: 218.3 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.796e-06/1.38, allocations: 8.062 kB / 1.153 GB, free: 218.3 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02037/1.4, allocations: 8.176 MB / 1.161 GB, free: 210 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00138/1.402, allocations: 1.069 MB / 1.162 GB, free: 208.9 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006726/1.402, allocations: 51.98 kB / 1.162 GB, free: 208.9 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005198/1.407, allocations: 0.6054 MB / 1.163 GB, free: 208.3 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000282/1.408, allocations: 169.6 kB / 1.163 GB, free: 208.1 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002324/1.408, allocations: 111.9 kB / 1.163 GB, free: 208 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.003835/1.412, allocations: 2.975 MB / 1.166 GB, free: 205 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.8e-07/1.412, allocations: 4 kB / 1.166 GB, free: 205 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.003024/1.415, allocations: 1.557 MB / 1.167 GB, free: 203.5 MB / 0.7325 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.02121/1.436, allocations: 9.575 MB / 1.177 GB, free: 194.1 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.01937/1.455, allocations: 7.1 MB / 1.184 GB, free: 187 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.486e-06/1.455, allocations: 0 / 1.184 GB, free: 187 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.005985/1.461, allocations: 3.015 MB / 1.187 GB, free: 183.9 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006583/1.468, allocations: 2.097 MB / 1.189 GB, free: 181.9 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09705/1.565, allocations: 48.26 MB / 1.236 GB, free: 130.4 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001269/1.566, allocations: 2.306 MB / 1.238 GB, free: 128.1 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.004635/1.571, allocations: 1.043 MB / 1.239 GB, free: 127.1 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002176/1.573, allocations: 1.8 MB / 1.241 GB, free: 125.3 MB / 0.7325 GB Notification: Performance of SimCode: time 3.91e-07/1.573, allocations: 0 / 1.241 GB, free: 125.3 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.174/2.747, allocations: 128.1 MB / 1.366 GB, free: 294.9 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001621/2.748, allocations: 291.1 kB / 1.366 GB, free: 294.5 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.205/8.953, allocations: 0 / 1.366 GB, free: 294.5 MB / 0.7325 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)