Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_HeatExchangers_Validation_WetCoilEffectivenessNTU",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU,fileNamePrefix="IDEAS_dev_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.006122/0.006122, allocations: 103.5 kB / 15.73 MB, free: 6.043 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.001266/0.001266, allocations: 201.2 kB / 16.68 MB, free: 5.98 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.377/1.377, allocations: 222.9 MB / 240.4 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8034/0.8034, allocations: 135.1 MB / 425.7 MB, free: 4.133 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001188/0.001188, allocations: 63.47 kB / 0.5851 GB, free: 21.96 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1501/0.1513, allocations: 80.93 MB / 0.6642 GB, free: 6.305 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU): time 0.7885/0.9398, allocations: 369.7 MB / 1.025 GB, free: 13.26 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.4992/1.439, allocations: 33.24 MB / 1.058 GB, free: 48.62 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006832/1.446, allocations: 152.6 kB / 1.058 GB, free: 48.62 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.009095/1.455, allocations: 2.36 MB / 1.06 GB, free: 48.62 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.02385/1.479, allocations: 7.484 MB / 1.067 GB, free: 48.56 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.01225/1.491, allocations: 4.536 MB / 1.072 GB, free: 48.43 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.01874/1.51, allocations: 11.05 MB / 1.083 GB, free: 48.41 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008019/1.518, allocations: 3.971 MB / 1.086 GB, free: 48 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01571/1.534, allocations: 5.506 MB / 1.092 GB, free: 47.93 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007639/1.542, allocations: 3.443 MB / 1.095 GB, free: 47.53 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.002199/1.544, allocations: 0.5526 MB / 1.096 GB, free: 47.53 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0155/1.559, allocations: 6.795 MB / 1.102 GB, free: 47.45 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.002763/1.562, allocations: 1.457 MB / 1.104 GB, free: 47.27 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.006085/1.568, allocations: 2.829 MB / 1.107 GB, free: 46.54 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.01978/1.588, allocations: 9.779 MB / 1.116 GB, free: 45.4 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 7.203e-06/1.588, allocations: 0 / 1.116 GB, free: 45.4 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.255e-06/1.588, allocations: 0.8438 kB / 1.116 GB, free: 45.4 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 0.000215/1.588, allocations: 0 / 1.116 GB, free: 45.4 MB / 0.8106 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.01658/1.605, allocations: 5.934 MB / 1.122 GB, free: 42.87 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.95e-05/1.605, allocations: 10.58 kB / 1.122 GB, free: 42.87 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00129/1.606, allocations: 454.8 kB / 1.122 GB, free: 42.81 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02994/1.636, allocations: 4.29 MB / 1.127 GB, free: 41.94 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009373/1.646, allocations: 3.698 MB / 1.13 GB, free: 40.42 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004485/1.646, allocations: 307.1 kB / 1.13 GB, free: 40.38 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00169/1.648, allocations: 349.5 kB / 1.131 GB, free: 40.38 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01784/1.666, allocations: 5.701 MB / 1.136 GB, free: 38.77 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.774e-05/1.666, allocations: 6.406 kB / 1.136 GB, free: 38.76 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000788/1.667, allocations: 136.4 kB / 1.137 GB, free: 38.76 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001647/1.667, allocations: 134.8 kB / 1.137 GB, free: 38.75 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02303/1.69, allocations: 6.804 MB / 1.143 GB, free: 35.41 MB / 0.8106 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.04357/1.733, allocations: 22.13 MB / 1.165 GB, free: 15.4 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0115/1.745, allocations: 4.067 MB / 1.169 GB, free: 11.37 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006615/1.752, allocations: 2.268 MB / 1.171 GB, free: 9.102 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01727/1.769, allocations: 8.172 MB / 1.179 GB, free: 0.6836 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007761/1.777, allocations: 2.393 MB / 1.181 GB, free: 14.28 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=230): time 5.32e-06/1.777, allocations: 0 / 1.181 GB, free: 14.28 MB / 0.8262 GB Notification: Performance of matching and sorting (n=230): time 0.03519/1.812, allocations: 8.435 MB / 1.19 GB, free: 5.727 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.871e-05/1.812, allocations: 73.41 kB / 1.19 GB, free: 5.645 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009399/1.822, allocations: 4.272 MB / 1.194 GB, free: 1.352 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 0.0008243/1.822, allocations: 77.7 kB / 1.194 GB, free: 1.27 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.002006/1.824, allocations: 1.825 MB / 1.196 GB, free: 15.45 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.001326/1.826, allocations: 0.7922 MB / 1.197 GB, free: 14.66 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002825/1.829, allocations: 0.8057 MB / 1.197 GB, free: 13.85 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 8.601e-05/1.829, allocations: 309.1 kB / 1.198 GB, free: 13.55 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009435/1.838, allocations: 2.717 MB / 1.2 GB, free: 10.83 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01063/1.849, allocations: 3.404 MB / 1.204 GB, free: 7.199 MB / 0.8419 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.02028/1.869, allocations: 5.937 MB / 1.209 GB, free: 1.074 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.886e-05/1.869, allocations: 7.938 kB / 1.209 GB, free: 1.066 MB / 0.8419 GB Notification: Performance of matching and sorting (n=448) (initialization): time 0.03208/1.901, allocations: 7.558 MB / 1.217 GB, free: 9.555 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 4.352e-05/1.901, allocations: 12 kB / 1.217 GB, free: 9.543 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.571e-05/1.901, allocations: 15.98 kB / 1.217 GB, free: 9.527 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004226/1.906, allocations: 0.9678 MB / 1.218 GB, free: 8.535 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009052/1.915, allocations: 1.408 MB / 1.219 GB, free: 7.172 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01743/1.932, allocations: 14.46 MB / 1.233 GB, free: 7.699 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01096/1.943, allocations: 1.168 MB / 1.234 GB, free: 6.531 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001386/1.945, allocations: 191.8 kB / 1.235 GB, free: 6.344 MB / 0.8731 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.00363/1.948, allocations: 0.8555 MB / 1.235 GB, free: 5.523 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00223/1.951, allocations: 418.8 kB / 1.236 GB, free: 5.109 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02447/1.975, allocations: 5.789 MB / 1.241 GB, free: 15.3 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.667e-05/1.975, allocations: 24 kB / 1.241 GB, free: 15.28 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.216e-05/1.975, allocations: 4 kB / 1.241 GB, free: 15.28 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.195e-05/1.975, allocations: 15.95 kB / 1.241 GB, free: 15.26 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03383/2.009, allocations: 10.91 MB / 1.252 GB, free: 4.312 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.155e-05/2.009, allocations: 4 kB / 1.252 GB, free: 4.309 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004963/2.014, allocations: 0.67 MB / 1.253 GB, free: 3.66 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003343/2.017, allocations: 0.7649 MB / 1.254 GB, free: 2.875 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007577/2.018, allocations: 83.91 kB / 1.254 GB, free: 2.793 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01352/2.032, allocations: 11.69 MB / 1.265 GB, free: 6.238 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.321e-06/2.032, allocations: 11.25 kB / 1.265 GB, free: 6.23 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02993/2.062, allocations: 8.2 MB / 1.273 GB, free: 13.96 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003548/2.065, allocations: 1.054 MB / 1.274 GB, free: 12.88 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001713/2.067, allocations: 47.98 kB / 1.274 GB, free: 12.83 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006992/2.074, allocations: 0.5228 MB / 1.275 GB, free: 12.31 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007427/2.075, allocations: 176.1 kB / 1.275 GB, free: 12.14 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006663/2.076, allocations: 111.9 kB / 1.275 GB, free: 12.03 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.00746/2.083, allocations: 2.939 MB / 1.278 GB, free: 9.09 MB / 0.92 GB Notification: Performance of sort global known variables: time 4.11e-07/2.083, allocations: 4 kB / 1.278 GB, free: 9.086 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.006491/2.09, allocations: 1.529 MB / 1.279 GB, free: 7.555 MB / 0.92 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.03152/2.121, allocations: 9.619 MB / 1.289 GB, free: 14.11 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.02355/2.145, allocations: 6.374 MB / 1.295 GB, free: 7.754 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 9.798e-06/2.145, allocations: 0 / 1.295 GB, free: 7.754 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.009677/2.154, allocations: 3.051 MB / 1.298 GB, free: 4.68 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0141/2.169, allocations: 2.089 MB / 1.3 GB, free: 2.641 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1304/2.299, allocations: 39.59 MB / 1.339 GB, free: 10.46 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003363/2.302, allocations: 2.299 MB / 1.341 GB, free: 8.129 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.007681/2.31, allocations: 1.051 MB / 1.342 GB, free: 7.086 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005113/2.315, allocations: 1.803 MB / 1.344 GB, free: 5.281 MB / 0.9825 GB Notification: Performance of SimCode: time 1.553e-06/2.315, allocations: 0 / 1.344 GB, free: 5.281 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5791/2.895, allocations: 128.6 MB / 1.469 GB, free: 0.5227 GB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 21.53/24.43, allocations: 10.39 kB / 1.469 GB, free: 0.5227 GB / 1.061 GB (rm -f IDEAS_dev_IDEAS.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_HeatExchangers_Validation_WetCoilEffectivenessNTU_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_HeatExchangers_Validation_WetCoilEffectivenessNTU.fmu > IDEAS_dev_IDEAS.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU.pipe 2>&1)