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.001091/0.001091, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001115/0.001115, allocations: 194.2 kB / 16.13 MB, free: 6.668 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.159/1.159, allocations: 222.9 MB / 239.8 MB, free: 4.602 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6741/0.6741, allocations: 132.2 MB / 422.1 MB, free: 2.047 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001983/0.001983, allocations: 59.27 kB / 0.5012 GB, free: 9.148 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1331/0.1351, allocations: 80.2 MB / 0.5795 GB, free: 9.176 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU): time 0.7731/0.9083, allocations: 367.1 MB / 0.938 GB, free: 25.07 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.03346/0.9418, allocations: 33.57 MB / 0.9708 GB, free: 24.18 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005208/0.947, allocations: 139.5 kB / 0.9709 GB, free: 24.18 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.004396/0.9514, allocations: 1.953 MB / 0.9729 GB, free: 24.03 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.01377/0.9652, allocations: 6.924 MB / 0.9796 GB, free: 21.67 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.007779/0.973, allocations: 4.103 MB / 0.9836 GB, free: 19.18 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.01045/0.9835, allocations: 13.63 MB / 0.9969 GB, free: 11.72 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003103/0.9866, allocations: 3.286 MB / 1 GB, free: 8.504 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009905/0.9965, allocations: 4.723 MB / 1.005 GB, free: 4.602 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003537/1, allocations: 3.351 MB / 1.008 GB, free: 1.605 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0004516/1.001, allocations: 242.8 kB / 1.008 GB, free: 1.371 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01133/1.012, allocations: 7.251 MB / 1.015 GB, free: 11.19 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.001015/1.013, allocations: 1.161 MB / 1.016 GB, free: 10.05 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.002685/1.016, allocations: 2.515 MB / 1.019 GB, free: 7.555 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.01127/1.027, allocations: 9.751 MB / 1.028 GB, free: 14.27 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 4.147e-06/1.027, allocations: 0 / 1.028 GB, free: 14.27 MB / 0.7012 GB Notification: Performance of FrontEnd: time 8.32e-07/1.027, allocations: 0 / 1.028 GB, free: 14.27 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 6.196e-05/1.027, allocations: 0 / 1.028 GB, free: 14.27 MB / 0.7012 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.01067/1.038, allocations: 5.932 MB / 1.034 GB, free: 8.289 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 3.558e-05/1.038, allocations: 8.031 kB / 1.034 GB, free: 8.281 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004948/1.038, allocations: 462.6 kB / 1.035 GB, free: 7.82 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02774/1.066, allocations: 4.283 MB / 1.039 GB, free: 3.535 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005798/1.072, allocations: 3.596 MB / 1.042 GB, free: 15.95 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001281/1.073, allocations: 0.5163 MB / 1.043 GB, free: 15.43 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005858/1.074, allocations: 358.9 kB / 1.043 GB, free: 15.08 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01245/1.086, allocations: 5.716 MB / 1.049 GB, free: 9.289 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.843e-05/1.086, allocations: 7.938 kB / 1.049 GB, free: 9.281 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003882/1.087, allocations: 136 kB / 1.049 GB, free: 9.148 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001013/1.087, allocations: 138.5 kB / 1.049 GB, free: 9.012 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01816/1.105, allocations: 6.828 MB / 1.056 GB, free: 2.176 MB / 0.7169 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.03439/1.139, allocations: 22.22 MB / 1.077 GB, free: 11.02 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01001/1.149, allocations: 4.061 MB / 1.081 GB, free: 6.965 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005818/1.155, allocations: 2.266 MB / 1.084 GB, free: 4.695 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01177/1.167, allocations: 8.181 MB / 1.092 GB, free: 12.21 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00635/1.173, allocations: 2.397 MB / 1.094 GB, free: 9.812 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=230): time 3.757e-06/1.173, allocations: 0 / 1.094 GB, free: 9.812 MB / 0.7637 GB Notification: Performance of matching and sorting (n=230): time 0.0296/1.203, allocations: 8.432 MB / 1.102 GB, free: 1.246 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.418e-05/1.203, allocations: 77.41 kB / 1.102 GB, free: 1.16 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006983/1.21, allocations: 4.277 MB / 1.106 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 0.0003573/1.21, allocations: 77.7 kB / 1.107 GB, free: 12.78 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.001418/1.212, allocations: 1.825 MB / 1.108 GB, free: 10.95 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007702/1.212, allocations: 0.7943 MB / 1.109 GB, free: 10.17 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001657/1.214, allocations: 0.8118 MB / 1.11 GB, free: 9.348 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 8.321e-05/1.214, allocations: 305.1 kB / 1.11 GB, free: 9.047 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008128/1.222, allocations: 2.735 MB / 1.113 GB, free: 6.309 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008482/1.231, allocations: 3.426 MB / 1.116 GB, free: 2.648 MB / 0.7794 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.01649/1.247, allocations: 5.96 MB / 1.122 GB, free: 12.45 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.314e-05/1.247, allocations: 4 kB / 1.122 GB, free: 12.45 MB / 0.795 GB Notification: Performance of matching and sorting (n=448) (initialization): time 0.02379/1.271, allocations: 7.586 MB / 1.129 GB, free: 4.793 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 2.458e-05/1.271, allocations: 12 kB / 1.129 GB, free: 4.781 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.352e-05/1.271, allocations: 19.98 kB / 1.129 GB, free: 4.762 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003667/1.275, allocations: 0.9708 MB / 1.13 GB, free: 3.766 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007835/1.283, allocations: 1.411 MB / 1.132 GB, free: 2.355 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01461/1.297, allocations: 13.72 MB / 1.145 GB, free: 3.602 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008883/1.306, allocations: 1.298 MB / 1.146 GB, free: 2.301 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004585/1.307, allocations: 183.8 kB / 1.147 GB, free: 2.121 MB / 0.8106 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.001832/1.309, allocations: 0.8517 MB / 1.147 GB, free: 1.262 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001134/1.31, allocations: 426.8 kB / 1.148 GB, free: 0.8398 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01905/1.329, allocations: 5.79 MB / 1.154 GB, free: 11.02 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.973e-05/1.329, allocations: 23.94 kB / 1.154 GB, free: 11 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.591e-06/1.329, allocations: 4 kB / 1.154 GB, free: 10.99 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.111e-05/1.329, allocations: 11.95 kB / 1.154 GB, free: 10.98 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.239/1.568, allocations: 10.9 MB / 1.164 GB, free: 360.5 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.203e-05/1.568, allocations: 5.656 kB / 1.164 GB, free: 360.5 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004493/1.572, allocations: 0.6754 MB / 1.165 GB, free: 360.5 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003003/1.575, allocations: 0.7851 MB / 1.166 GB, free: 360.4 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002462/1.576, allocations: 85.08 kB / 1.166 GB, free: 360.4 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009609/1.585, allocations: 10.95 MB / 1.176 GB, free: 351.9 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.619e-06/1.585, allocations: 12.91 kB / 1.176 GB, free: 351.9 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02249/1.608, allocations: 8.215 MB / 1.184 GB, free: 349.8 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002002/1.61, allocations: 1.053 MB / 1.185 GB, free: 349.4 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007522/1.611, allocations: 47.06 kB / 1.186 GB, free: 349.3 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005248/1.616, allocations: 0.6033 MB / 1.186 GB, free: 349.3 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003547/1.616, allocations: 173.6 kB / 1.186 GB, free: 349.3 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002583/1.617, allocations: 110.3 kB / 1.186 GB, free: 349.2 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.004369/1.621, allocations: 2.948 MB / 1.189 GB, free: 348.2 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2.01e-07/1.621, allocations: 0 / 1.189 GB, free: 348.2 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.003687/1.625, allocations: 1.548 MB / 1.191 GB, free: 348.1 MB / 0.8262 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.02338/1.648, allocations: 9.599 MB / 1.2 GB, free: 344.6 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.01808/1.666, allocations: 6.381 MB / 1.206 GB, free: 342.4 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 6.632e-06/1.666, allocations: 7.266 kB / 1.206 GB, free: 342.4 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.007019/1.673, allocations: 3.021 MB / 1.209 GB, free: 341.1 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008102/1.681, allocations: 1.976 MB / 1.211 GB, free: 340.7 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1186/1.8, allocations: 48.1 MB / 1.258 GB, free: 313.5 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002149/1.802, allocations: 2.298 MB / 1.26 GB, free: 312.6 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.006619/1.809, allocations: 1.046 MB / 1.261 GB, free: 312.2 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00292/1.812, allocations: 1.806 MB / 1.263 GB, free: 310.9 MB / 0.8262 GB Notification: Performance of SimCode: time 7.82e-07/1.812, allocations: 0 / 1.263 GB, free: 310.9 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.242/3.054, allocations: 124 MB / 1.384 GB, free: 192 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00016/3.054, allocations: 285.3 kB / 1.385 GB, free: 191.6 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.35/8.405, allocations: 7.453 kB / 1.385 GB, free: 191.6 MB / 0.8262 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)