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.005537/0.005537, allocations: 101.2 kB / 15.73 MB, free: 6.047 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.001254/0.001255, allocations: 196.4 kB / 16.67 MB, free: 5.977 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.3/1.3, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7316/0.7316, allocations: 132.2 MB / 422.7 MB, free: 1.723 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001175/0.001175, allocations: 71.27 kB / 0.5809 GB, free: 1.113 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1573/0.1585, allocations: 80.21 MB / 0.6592 GB, free: 14 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU): time 0.7244/0.8829, allocations: 369.7 MB / 1.02 GB, free: 14.69 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.04615/0.9291, allocations: 33.27 MB / 1.053 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007217/0.9364, allocations: 155.1 kB / 1.053 GB, free: 13.19 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.006844/0.9433, allocations: 2.356 MB / 1.055 GB, free: 10.82 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.01918/0.9625, allocations: 7.482 MB / 1.062 GB, free: 3.305 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.01112/0.9736, allocations: 4.531 MB / 1.067 GB, free: 14.82 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.01439/0.9881, allocations: 11.04 MB / 1.078 GB, free: 3.742 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006871/0.995, allocations: 3.973 MB / 1.082 GB, free: 15.7 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01329/1.008, allocations: 5.51 MB / 1.087 GB, free: 10.25 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006125/1.014, allocations: 3.441 MB / 1.09 GB, free: 6.805 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.001807/1.016, allocations: 0.5508 MB / 1.091 GB, free: 6.254 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01409/1.03, allocations: 6.795 MB / 1.097 GB, free: 15.45 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.002284/1.033, allocations: 1.464 MB / 1.099 GB, free: 13.98 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.005073/1.038, allocations: 2.831 MB / 1.102 GB, free: 11.13 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0172/1.055, allocations: 9.77 MB / 1.111 GB, free: 1.336 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 7.084e-06/1.055, allocations: 4 kB / 1.111 GB, free: 1.332 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.472e-06/1.055, allocations: 0 / 1.111 GB, free: 1.332 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 0.0002241/1.055, allocations: 0 / 1.111 GB, free: 1.332 MB / 0.8262 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.01615/1.071, allocations: 5.935 MB / 1.117 GB, free: 11.29 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.376e-05/1.071, allocations: 12.03 kB / 1.117 GB, free: 11.28 MB / 0.8419 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001138/1.073, allocations: 451.8 kB / 1.117 GB, free: 10.83 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02982/1.102, allocations: 4.286 MB / 1.122 GB, free: 6.531 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008972/1.111, allocations: 3.695 MB / 1.125 GB, free: 2.777 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003768/1.112, allocations: 308.9 kB / 1.126 GB, free: 2.465 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001456/1.113, allocations: 351.9 kB / 1.126 GB, free: 2.121 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01705/1.13, allocations: 5.697 MB / 1.131 GB, free: 12.34 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001176/1.131, allocations: 0 / 1.131 GB, free: 12.34 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001074/1.132, allocations: 136 kB / 1.132 GB, free: 12.21 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001497/1.132, allocations: 142.5 kB / 1.132 GB, free: 12.07 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02157/1.153, allocations: 6.794 MB / 1.138 GB, free: 5.262 MB / 0.8575 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.5346/1.688, allocations: 22.13 MB / 1.16 GB, free: 73.87 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009974/1.698, allocations: 4.058 MB / 1.164 GB, free: 73.82 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005826/1.704, allocations: 2.267 MB / 1.166 GB, free: 73.8 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01285/1.717, allocations: 8.179 MB / 1.174 GB, free: 71.6 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00633/1.723, allocations: 2.395 MB / 1.176 GB, free: 71.51 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=230): time 6.852e-06/1.723, allocations: 4 kB / 1.176 GB, free: 71.5 MB / 0.8575 GB Notification: Performance of matching and sorting (n=230): time 0.02944/1.753, allocations: 8.429 MB / 1.185 GB, free: 70.37 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.828e-05/1.753, allocations: 80.06 kB / 1.185 GB, free: 70.3 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007751/1.761, allocations: 4.275 MB / 1.189 GB, free: 69.93 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 0.0007429/1.761, allocations: 80.81 kB / 1.189 GB, free: 69.9 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.001279/1.763, allocations: 1.819 MB / 1.191 GB, free: 69.33 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009222/1.764, allocations: 0.7919 MB / 1.192 GB, free: 68.83 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001562/1.765, allocations: 0.8114 MB / 1.192 GB, free: 68.77 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.416e-05/1.765, allocations: 301.1 kB / 1.193 GB, free: 68.47 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007961/1.773, allocations: 2.718 MB / 1.195 GB, free: 68.4 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008151/1.781, allocations: 3.407 MB / 1.199 GB, free: 67.67 MB / 0.8575 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.0158/1.797, allocations: 5.94 MB / 1.204 GB, free: 66.81 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.215e-05/1.797, allocations: 5.312 kB / 1.204 GB, free: 66.81 MB / 0.8575 GB Notification: Performance of matching and sorting (n=448) (initialization): time 0.0235/1.821, allocations: 7.553 MB / 1.212 GB, free: 66.2 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 3.461e-05/1.821, allocations: 16.34 kB / 1.212 GB, free: 66.2 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.968e-05/1.821, allocations: 15.31 kB / 1.212 GB, free: 66.2 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003576/1.824, allocations: 0.9677 MB / 1.213 GB, free: 66.05 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008002/1.832, allocations: 1.407 MB / 1.214 GB, free: 66.01 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01316/1.846, allocations: 14.45 MB / 1.228 GB, free: 54.12 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01024/1.856, allocations: 1.163 MB / 1.229 GB, free: 53.84 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008606/1.857, allocations: 182.5 kB / 1.23 GB, free: 53.84 MB / 0.8575 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.002286/1.859, allocations: 0.8707 MB / 1.23 GB, free: 53.71 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001315/1.86, allocations: 418.9 kB / 1.231 GB, free: 53.49 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01831/1.879, allocations: 5.79 MB / 1.236 GB, free: 53.07 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.538e-05/1.879, allocations: 27.52 kB / 1.236 GB, free: 53.07 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.295e-06/1.879, allocations: 6.562 kB / 1.236 GB, free: 53.07 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.858e-05/1.879, allocations: 13.03 kB / 1.237 GB, free: 53.07 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02633/1.905, allocations: 10.91 MB / 1.247 GB, free: 52.06 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.217e-05/1.905, allocations: 4.016 kB / 1.247 GB, free: 52.06 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004182/1.909, allocations: 0.6689 MB / 1.248 GB, free: 52.04 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002875/1.912, allocations: 0.7658 MB / 1.249 GB, free: 51.92 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003823/1.913, allocations: 77.73 kB / 1.249 GB, free: 51.92 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01077/1.923, allocations: 11.69 MB / 1.26 GB, free: 42.44 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.52e-06/1.923, allocations: 3.438 kB / 1.26 GB, free: 42.44 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02494/1.948, allocations: 8.208 MB / 1.268 GB, free: 37.29 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003034/1.951, allocations: 1.061 MB / 1.269 GB, free: 36.56 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009567/1.952, allocations: 47.25 kB / 1.269 GB, free: 36.55 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005624/1.958, allocations: 0.5266 MB / 1.27 GB, free: 36.05 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003904/1.958, allocations: 168.3 kB / 1.27 GB, free: 35.92 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002729/1.959, allocations: 103.4 kB / 1.27 GB, free: 35.83 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.004745/1.964, allocations: 2.946 MB / 1.273 GB, free: 32.93 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.9e-07/1.964, allocations: 1.5 kB / 1.273 GB, free: 32.93 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.004393/1.968, allocations: 1.538 MB / 1.274 GB, free: 31.43 MB / 0.8575 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.02356/1.991, allocations: 9.611 MB / 1.284 GB, free: 22.09 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.01754/2.009, allocations: 6.389 MB / 1.29 GB, free: 15.72 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 7.344e-06/2.009, allocations: 0 / 1.29 GB, free: 15.72 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.007018/2.016, allocations: 3.038 MB / 1.293 GB, free: 12.66 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008732/2.025, allocations: 2.092 MB / 1.295 GB, free: 10.71 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1084/2.133, allocations: 39.61 MB / 1.334 GB, free: 2.598 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001988/2.135, allocations: 2.295 MB / 1.336 GB, free: 280 kB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.005664/2.141, allocations: 1.044 MB / 1.337 GB, free: 15.24 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003528/2.145, allocations: 1.807 MB / 1.339 GB, free: 13.44 MB / 0.9044 GB Notification: Performance of SimCode: time 2.224e-06/2.145, allocations: 0 / 1.339 GB, free: 13.44 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.229/2.374, allocations: 128.5 MB / 1.464 GB, free: 14.29 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 20.73/23.1, allocations: 16.98 kB / 1.464 GB, free: 14.28 MB / 1.029 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_HeatExchangers_Validation_WetCoilEffectivenessNTU_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_HeatExchangers_Validation_WetCoilEffectivenessNTU.fmu > IDEAS_IDEAS.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU.pipe 2>&1)