Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU,fileNamePrefix="IDEAS_IDEAS_Fluid_HeatExchangers_Validation_WetCoilEffectivenessNTU",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU,fileNamePrefix="IDEAS_IDEAS_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.005237/0.005237, allocations: 96.73 kB / 15.73 MB, free: 6.484 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.001116/0.001116, allocations: 192 kB / 16.67 MB, free: 6.391 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.27/1.27, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7182/0.7182, allocations: 132.2 MB / 422.7 MB, free: 1.695 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001206/0.001206, allocations: 67.89 kB / 0.5809 GB, free: 8.062 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3744/0.3757, allocations: 80.21 MB / 0.6592 GB, free: 9.867 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU): time 0.6767/1.052, allocations: 369.7 MB / 1.02 GB, free: 2.258 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.04426/1.097, allocations: 33.26 MB / 1.053 GB, free: 2.797 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006473/1.103, allocations: 156.5 kB / 1.053 GB, free: 2.699 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.006174/1.109, allocations: 2.442 MB / 1.055 GB, free: 364 kB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.01915/1.129, allocations: 7.821 MB / 1.063 GB, free: 8.504 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.01027/1.139, allocations: 4.55 MB / 1.067 GB, free: 3.988 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.01394/1.153, allocations: 11.05 MB / 1.078 GB, free: 8.902 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005383/1.158, allocations: 3.973 MB / 1.082 GB, free: 4.863 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0126/1.171, allocations: 5.555 MB / 1.087 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005633/1.177, allocations: 3.453 MB / 1.091 GB, free: 11.91 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.001189/1.178, allocations: 0.5508 MB / 1.091 GB, free: 11.36 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0128/1.191, allocations: 6.81 MB / 1.098 GB, free: 4.535 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.001945/1.193, allocations: 1.476 MB / 1.099 GB, free: 3.055 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.004122/1.197, allocations: 2.823 MB / 1.102 GB, free: 224 kB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.01805/1.215, allocations: 9.812 MB / 1.112 GB, free: 6.375 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 6.021e-06/1.215, allocations: 3.938 kB / 1.112 GB, free: 6.371 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.553e-06/1.215, allocations: 0 / 1.112 GB, free: 6.371 MB / 0.795 GB Notification: Performance of Transformations before backend: time 0.0001124/1.215, allocations: 0 / 1.112 GB, free: 6.371 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.01271/1.228, allocations: 6.102 MB / 1.118 GB, free: 160 kB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.064e-05/1.228, allocations: 12.03 kB / 1.118 GB, free: 148 kB / 0.795 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005474/1.228, allocations: 459.7 kB / 1.118 GB, free: 15.68 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03045/1.259, allocations: 4.312 MB / 1.122 GB, free: 11.36 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007994/1.267, allocations: 3.719 MB / 1.126 GB, free: 7.578 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002859/1.267, allocations: 308.8 kB / 1.126 GB, free: 7.27 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000854/1.268, allocations: 356 kB / 1.127 GB, free: 6.922 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01474/1.283, allocations: 5.689 MB / 1.132 GB, free: 1.148 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.407e-05/1.283, allocations: 11.92 kB / 1.132 GB, free: 1.137 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000436/1.283, allocations: 136 kB / 1.132 GB, free: 1.004 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001137/1.283, allocations: 134.5 kB / 1.132 GB, free: 0.8711 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0209/1.304, allocations: 6.802 MB / 1.139 GB, free: 10.06 MB / 0.8262 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.03887/1.343, allocations: 22.16 MB / 1.161 GB, free: 2.77 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01132/1.354, allocations: 4.074 MB / 1.165 GB, free: 14.7 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006874/1.361, allocations: 2.27 MB / 1.167 GB, free: 12.42 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01413/1.376, allocations: 8.185 MB / 1.175 GB, free: 3.867 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006903/1.382, allocations: 2.389 MB / 1.177 GB, free: 1.465 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=230): time 4.639e-06/1.383, allocations: 0 / 1.177 GB, free: 1.465 MB / 0.8575 GB Notification: Performance of matching and sorting (n=230): time 0.03222/1.415, allocations: 8.455 MB / 1.186 GB, free: 8.871 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.166e-05/1.415, allocations: 77.41 kB / 1.186 GB, free: 8.785 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007602/1.422, allocations: 4.276 MB / 1.19 GB, free: 4.488 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 0.0006675/1.423, allocations: 77.7 kB / 1.19 GB, free: 4.406 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.001506/1.425, allocations: 1.853 MB / 1.192 GB, free: 2.539 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.000973/1.426, allocations: 0.8327 MB / 1.192 GB, free: 1.699 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001573/1.427, allocations: 0.8122 MB / 1.193 GB, free: 0.8789 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 8.698e-05/1.427, allocations: 301.1 kB / 1.194 GB, free: 0.582 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008808/1.436, allocations: 2.72 MB / 1.196 GB, free: 13.86 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009428/1.446, allocations: 3.408 MB / 1.2 GB, free: 10.22 MB / 0.8887 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.01854/1.464, allocations: 5.938 MB / 1.205 GB, free: 4.039 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.263e-05/1.464, allocations: 11.94 kB / 1.205 GB, free: 4.027 MB / 0.8887 GB Notification: Performance of matching and sorting (n=448) (initialization): time 0.3112/1.775, allocations: 7.571 MB / 1.213 GB, free: 377.6 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 3.717e-05/1.776, allocations: 10.78 kB / 1.213 GB, free: 377.6 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.225e-05/1.776, allocations: 18.72 kB / 1.213 GB, free: 377.6 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004019/1.78, allocations: 0.9651 MB / 1.214 GB, free: 377.5 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009154/1.789, allocations: 1.404 MB / 1.215 GB, free: 377.5 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01479/1.804, allocations: 14.46 MB / 1.229 GB, free: 364.8 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009858/1.813, allocations: 1.176 MB / 1.23 GB, free: 364.7 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007757/1.814, allocations: 184.6 kB / 1.231 GB, free: 364.7 MB / 0.8887 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: 67 * Number of states: 0 () * Number of discrete variables: 13 (hexWetNTU.UAFroRated.isFulWet,hexWetNTU.UAFroRated.isFulDry,hexWetNTU.flowRegime_nominal,hexWetNTU_TX.flowRegime_nominal,$PRE.w_a2.nextTimeEvent,$whenCondition1,hexWetNTU_TX.UAFroRated.isFulWet,hexWetNTU_TX.UAFroRated.isFulDry,w_a2.nextTimeEventScaled,$PRE.w_a2.nextTimeEventScaled,w_a2.nextTimeEvent,hexWetNTU_TX.flowRegime,hexWetNTU.flowRegime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (418): * Single equations (assignments): 403 * 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.002003/1.816, allocations: 0.8636 MB / 1.231 GB, free: 364.2 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001206/1.817, allocations: 440.3 kB / 1.232 GB, free: 364.2 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01954/1.837, allocations: 5.792 MB / 1.237 GB, free: 362.4 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.004e-05/1.837, allocations: 28.59 kB / 1.237 GB, free: 362.3 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.143e-06/1.837, allocations: 0 / 1.237 GB, free: 362.3 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.794e-05/1.837, allocations: 14.16 kB / 1.237 GB, free: 362.3 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.026/1.863, allocations: 10.92 MB / 1.248 GB, free: 357.2 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.476e-05/1.863, allocations: 3.75 kB / 1.248 GB, free: 357.2 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004568/1.868, allocations: 0.6704 MB / 1.249 GB, free: 357 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003114/1.871, allocations: 0.7645 MB / 1.25 GB, free: 356.7 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005333/1.871, allocations: 81.09 kB / 1.25 GB, free: 356.6 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01143/1.883, allocations: 11.69 MB / 1.261 GB, free: 345.6 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.509e-06/1.883, allocations: 6.156 kB / 1.261 GB, free: 345.6 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02524/1.908, allocations: 8.237 MB / 1.269 GB, free: 341.2 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002382/1.911, allocations: 1.076 MB / 1.27 GB, free: 340.4 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008846/1.911, allocations: 39.91 kB / 1.27 GB, free: 340.3 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00573/1.917, allocations: 0.5261 MB / 1.271 GB, free: 340.1 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003849/1.918, allocations: 172 kB / 1.271 GB, free: 340 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002768/1.918, allocations: 110.3 kB / 1.271 GB, free: 340 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.004888/1.923, allocations: 2.938 MB / 1.274 GB, free: 338.5 MB / 0.8887 GB Notification: Performance of sort global known variables: time 5.91e-07/1.923, allocations: 0 / 1.274 GB, free: 338.5 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.004291/1.927, allocations: 1.541 MB / 1.275 GB, free: 338.3 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: 5 ($whenCondition1,hexWetNTU.flowRegime,hexWetNTU_TX.flowRegime,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 (227): * Single equations (assignments): 214 * 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.02529/1.952, allocations: 9.652 MB / 1.285 GB, free: 333.1 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.0189/1.971, allocations: 6.382 MB / 1.291 GB, free: 328.3 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 6.933e-06/1.971, allocations: 4 kB / 1.291 GB, free: 328.3 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.007374/1.979, allocations: 3.045 MB / 1.294 GB, free: 325.2 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008624/1.987, allocations: 2.092 MB / 1.296 GB, free: 323.2 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09578/2.083, allocations: 39.76 MB / 1.335 GB, free: 282.8 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001301/2.085, allocations: 2.298 MB / 1.337 GB, free: 280.4 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.004719/2.089, allocations: 1.041 MB / 1.338 GB, free: 279.4 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002503/2.092, allocations: 1.8 MB / 1.34 GB, free: 277.6 MB / 0.8887 GB Notification: Performance of SimCode: time 1.152e-06/2.092, allocations: 0 / 1.34 GB, free: 277.6 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1553/2.247, allocations: 125.9 MB / 1.463 GB, free: 152.6 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate platform static: time 20.36/22.61, allocations: 16.81 kB / 1.463 GB, free: 152.6 MB / 0.8887 GB (rm -f IDEAS_IDEAS.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU.pipe ; mkfifo IDEAS_IDEAS.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU.pipe >> ../files/IDEAS_IDEAS.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU_res.csv --start-time 0 --stop-time 1000 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.4 IDEAS_IDEAS_Fluid_HeatExchangers_Validation_WetCoilEffectivenessNTU.fmu > IDEAS_IDEAS.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU.pipe 2>&1)