Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.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/Buildings 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/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(Buildings.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatExchangers_Validation_WetCoilEffectivenessNTU",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU,fileNamePrefix="Buildings_9_Buildings_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.0009024/0.0009024, allocations: 89.89 kB / 15.36 MB, free: 0.7383 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.005413/0.005413, allocations: 171.5 kB / 16.26 MB, free: 6.613 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.266/1.266, allocations: 223.3 MB / 240.3 MB, free: 5.234 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.202/2.202, allocations: 390.9 MB / 0.6664 GB, free: 2.328 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003159/0.0003159, allocations: 8 kB / 0.8161 GB, free: 13.13 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5661/0.5664, allocations: 142.4 MB / 0.9552 GB, free: 7.738 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU): time 0.8079/1.374, allocations: 362.3 MB / 1.309 GB, free: 41.49 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.03651/1.411, allocations: 33.25 MB / 1.341 GB, free: 40.84 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006087/1.417, allocations: 131.6 kB / 1.342 GB, free: 40.84 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.005538/1.423, allocations: 1.947 MB / 1.343 GB, free: 40.79 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0169/1.439, allocations: 6.938 MB / 1.35 GB, free: 40.47 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.009277/1.449, allocations: 4.119 MB / 1.354 GB, free: 40.32 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.02022/1.469, allocations: 13.65 MB / 1.368 GB, free: 40 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004774/1.474, allocations: 3.181 MB / 1.371 GB, free: 38.89 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01215/1.486, allocations: 4.613 MB / 1.375 GB, free: 37.89 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005419/1.491, allocations: 3.221 MB / 1.378 GB, free: 36.77 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.000535/1.492, allocations: 192.7 kB / 1.378 GB, free: 36.77 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0117/1.504, allocations: 7.213 MB / 1.386 GB, free: 33.91 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.000945/1.505, allocations: 1.085 MB / 1.387 GB, free: 33.2 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.002911/1.508, allocations: 2.437 MB / 1.389 GB, free: 31.7 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.01075/1.518, allocations: 9.569 MB / 1.398 GB, free: 26.02 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/1.518, allocations: 3.984 kB / 1.398 GB, free: 26.02 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.413e-06/1.518, allocations: 0 / 1.398 GB, free: 26.02 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 7.007e-05/1.518, allocations: 2.938 kB / 1.398 GB, free: 26.02 MB / 0.9981 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.009001/1.527, allocations: 4.965 MB / 1.403 GB, free: 21.59 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.463e-05/1.527, allocations: 12.03 kB / 1.403 GB, free: 21.58 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004555/1.528, allocations: 451.8 kB / 1.404 GB, free: 21.13 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0271/1.555, allocations: 4.562 MB / 1.408 GB, free: 16.57 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005441/1.56, allocations: 3.601 MB / 1.412 GB, free: 13.07 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001237/1.562, allocations: 0.5553 MB / 1.412 GB, free: 12.51 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005471/1.562, allocations: 359.9 kB / 1.412 GB, free: 12.16 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01174/1.574, allocations: 5.813 MB / 1.418 GB, free: 6.273 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.837e-05/1.574, allocations: 11.59 kB / 1.418 GB, free: 6.266 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003858/1.574, allocations: 138 kB / 1.418 GB, free: 6.133 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.104e-05/1.575, allocations: 134.5 kB / 1.418 GB, free: 6 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01792/1.593, allocations: 7.041 MB / 1.425 GB, free: 14.96 MB / 1.014 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.03858/1.631, allocations: 22.48 MB / 1.447 GB, free: 7.695 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01075/1.642, allocations: 4.144 MB / 1.451 GB, free: 3.543 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006361/1.648, allocations: 2.324 MB / 1.454 GB, free: 1.211 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01331/1.662, allocations: 8.199 MB / 1.462 GB, free: 8.715 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006618/1.668, allocations: 2.463 MB / 1.464 GB, free: 6.246 MB / 1.045 GB Notification: Performance of pre-optimization done (n=230): time 3.707e-06/1.668, allocations: 0 / 1.464 GB, free: 6.246 MB / 1.045 GB Notification: Performance of matching and sorting (n=230): time 0.03069/1.699, allocations: 8.702 MB / 1.472 GB, free: 13.41 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.084e-05/1.699, allocations: 81.34 kB / 1.473 GB, free: 13.32 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008027/1.707, allocations: 4.316 MB / 1.477 GB, free: 8.98 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 0.0003237/1.707, allocations: 77.7 kB / 1.477 GB, free: 8.898 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.001677/1.709, allocations: 1.827 MB / 1.479 GB, free: 7.07 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008455/1.71, allocations: 0.7979 MB / 1.479 GB, free: 6.277 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000585/1.711, allocations: 309.1 kB / 1.48 GB, free: 5.969 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 9.698e-05/1.711, allocations: 301.1 kB / 1.48 GB, free: 5.672 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008604/1.719, allocations: 2.829 MB / 1.483 GB, free: 2.844 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009007/1.728, allocations: 3.518 MB / 1.486 GB, free: 15.09 MB / 1.076 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.01757/1.746, allocations: 6.106 MB / 1.492 GB, free: 8.746 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-05/1.746, allocations: 4 kB / 1.492 GB, free: 8.742 MB / 1.076 GB Notification: Performance of matching and sorting (n=448) (initialization): time 0.02519/1.771, allocations: 7.797 MB / 1.5 GB, free: 0.8828 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.95e-05/1.771, allocations: 16.06 kB / 1.5 GB, free: 0.8672 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.899e-05/1.771, allocations: 19.98 kB / 1.5 GB, free: 0.8477 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003934/1.775, allocations: 0.9823 MB / 1.501 GB, free: 15.84 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008014/1.783, allocations: 1.432 MB / 1.502 GB, free: 14.41 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01612/1.799, allocations: 13.79 MB / 1.516 GB, free: 15.57 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009827/1.809, allocations: 1.37 MB / 1.517 GB, free: 14.2 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005599/1.81, allocations: 187.8 kB / 1.517 GB, free: 14.01 MB / 1.107 GB Warning: The initial conditions are over specified. The following 2 initial equations are redundant, so they are removed from the initialization sytem: 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.002169/1.812, allocations: 0.8531 MB / 1.518 GB, free: 13.15 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001173/1.813, allocations: 422.8 kB / 1.518 GB, free: 12.73 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02108/1.834, allocations: 5.961 MB / 1.524 GB, free: 6.738 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.862e-05/1.834, allocations: 28 kB / 1.524 GB, free: 6.711 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.379e-05/1.834, allocations: 3.984 kB / 1.524 GB, free: 6.707 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.061e-05/1.834, allocations: 7.969 kB / 1.524 GB, free: 6.699 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02981/1.864, allocations: 11.07 MB / 1.535 GB, free: 11.53 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.646e-05/1.864, allocations: 8.406 kB / 1.535 GB, free: 11.52 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004367/1.869, allocations: 0.7021 MB / 1.536 GB, free: 10.82 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003442/1.872, allocations: 0.8066 MB / 1.537 GB, free: 9.988 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003299/1.872, allocations: 79.91 kB / 1.537 GB, free: 9.91 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0132/1.886, allocations: 11.04 MB / 1.547 GB, free: 14 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.152e-06/1.886, allocations: 11.94 kB / 1.547 GB, free: 13.99 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02605/1.912, allocations: 8.423 MB / 1.556 GB, free: 5.465 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002653/1.914, allocations: 1.143 MB / 1.557 GB, free: 4.297 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001203/1.916, allocations: 51.98 kB / 1.557 GB, free: 4.246 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006434/1.922, allocations: 0.6469 MB / 1.557 GB, free: 3.602 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000374/1.922, allocations: 169.7 kB / 1.558 GB, free: 3.438 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002968/1.923, allocations: 111.9 kB / 1.558 GB, free: 3.328 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.006519/1.929, allocations: 2.982 MB / 1.561 GB, free: 352 kB / 1.139 GB Notification: Performance of sort global known variables: time 5.31e-07/1.929, allocations: 0 / 1.561 GB, free: 352 kB / 1.139 GB Notification: Performance of remove unused functions: time 0.005093/1.934, allocations: 1.557 MB / 1.562 GB, free: 14.79 MB / 1.154 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.02714/1.961, allocations: 9.83 MB / 1.572 GB, free: 5.074 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.01956/1.981, allocations: 6.504 MB / 1.578 GB, free: 14.51 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 4.458e-06/1.981, allocations: 5.25 kB / 1.578 GB, free: 14.5 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.007648/1.989, allocations: 3.107 MB / 1.581 GB, free: 11.32 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01221/2.001, allocations: 2.049 MB / 1.583 GB, free: 9.305 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1258/2.127, allocations: 48.86 MB / 1.631 GB, free: 5.246 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002555/2.129, allocations: 2.295 MB / 1.633 GB, free: 2.922 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.006422/2.136, allocations: 1.045 MB / 1.634 GB, free: 1.887 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003351/2.139, allocations: 1.815 MB / 1.636 GB, free: 72 kB / 1.217 GB Notification: Performance of SimCode: time 8.21e-07/2.139, allocations: 0 / 1.636 GB, free: 72 kB / 1.217 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.144/5.283, allocations: 128.1 MB / 1.761 GB, free: 0.5299 GB / 1.295 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001814/5.284, allocations: 294.2 kB / 1.761 GB, free: 0.5295 GB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.195/11.48, allocations: 4 kB / 1.761 GB, free: 0.5295 GB / 1.295 GB (rm -f Buildings_9_Buildings.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_HeatExchangers_Validation_WetCoilEffectivenessNTU_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_HeatExchangers_Validation_WetCoilEffectivenessNTU.fmu > Buildings_9_Buildings.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU_res.mat does not exist to compare? outputFormat=mat