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.001396/0.001396, 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.0017/0.0017, allocations: 195 kB / 16.14 MB, free: 6.648 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.307/1.307, allocations: 222.9 MB / 239.8 MB, free: 4.496 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.269/2.269, allocations: 390.2 MB / 0.6643 GB, free: 0.6016 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001317/0.001317, allocations: 67.84 kB / 0.812 GB, free: 14.79 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.602/0.6033, allocations: 140.4 MB / 0.949 GB, free: 9.238 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU): time 0.8268/1.43, allocations: 367.3 MB / 1.308 GB, free: 26.33 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.03738/1.468, allocations: 33.61 MB / 1.341 GB, free: 25.71 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007525/1.475, allocations: 141.6 kB / 1.341 GB, free: 25.71 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.006049/1.481, allocations: 1.942 MB / 1.343 GB, free: 25.67 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.01928/1.501, allocations: 6.947 MB / 1.349 GB, free: 25.34 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.009934/1.51, allocations: 4.108 MB / 1.353 GB, free: 25.2 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.01441/1.525, allocations: 13.64 MB / 1.367 GB, free: 25.13 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004969/1.53, allocations: 3.275 MB / 1.37 GB, free: 24.6 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01262/1.543, allocations: 4.732 MB / 1.374 GB, free: 23.02 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005764/1.548, allocations: 3.367 MB / 1.378 GB, free: 21.38 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0008199/1.549, allocations: 241.2 kB / 1.378 GB, free: 21.38 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0122/1.561, allocations: 7.252 MB / 1.385 GB, free: 18.53 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.001209/1.563, allocations: 1.156 MB / 1.386 GB, free: 17.75 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.003522/1.566, allocations: 2.513 MB / 1.389 GB, free: 16.2 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.01206/1.578, allocations: 9.771 MB / 1.398 GB, free: 9.156 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5e-06/1.578, allocations: 4 kB / 1.398 GB, free: 9.152 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.132e-06/1.578, allocations: 0 / 1.398 GB, free: 9.152 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 7.704e-05/1.578, allocations: 0 / 1.398 GB, free: 9.152 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.0117/1.59, allocations: 5.935 MB / 1.404 GB, free: 3.188 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.638e-05/1.59, allocations: 12.03 kB / 1.404 GB, free: 3.176 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004507/1.591, allocations: 451.8 kB / 1.404 GB, free: 2.723 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02892/1.62, allocations: 4.286 MB / 1.409 GB, free: 14.44 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008007/1.628, allocations: 3.594 MB / 1.412 GB, free: 10.95 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001434/1.629, allocations: 0.5119 MB / 1.413 GB, free: 10.43 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001164/1.63, allocations: 367.8 kB / 1.413 GB, free: 10.07 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01504/1.645, allocations: 5.717 MB / 1.419 GB, free: 4.277 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.229e-05/1.645, allocations: 2.812 kB / 1.419 GB, free: 4.277 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004521/1.646, allocations: 134.7 kB / 1.419 GB, free: 4.148 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001224/1.646, allocations: 134.5 kB / 1.419 GB, free: 4.016 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02073/1.667, allocations: 6.846 MB / 1.426 GB, free: 13.18 MB / 1.029 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.04093/1.708, allocations: 22.24 MB / 1.447 GB, free: 6.219 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01156/1.719, allocations: 4.052 MB / 1.451 GB, free: 2.18 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007101/1.726, allocations: 2.262 MB / 1.453 GB, free: 15.91 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.016/1.742, allocations: 8.177 MB / 1.461 GB, free: 7.441 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007692/1.75, allocations: 2.393 MB / 1.464 GB, free: 5.039 MB / 1.061 GB Notification: Performance of pre-optimization done (n=230): time 7.935e-06/1.75, allocations: 3.984 kB / 1.464 GB, free: 5.035 MB / 1.061 GB Notification: Performance of matching and sorting (n=230): time 0.03505/1.785, allocations: 8.433 MB / 1.472 GB, free: 12.48 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.111e-05/1.785, allocations: 73.41 kB / 1.472 GB, free: 12.4 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008266/1.794, allocations: 4.295 MB / 1.476 GB, free: 8.086 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 0.000757/1.794, allocations: 77.7 kB / 1.476 GB, free: 8.004 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.001618/1.796, allocations: 1.821 MB / 1.478 GB, free: 6.184 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.001057/1.797, allocations: 0.7949 MB / 1.479 GB, free: 5.395 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001732/1.799, allocations: 0.808 MB / 1.48 GB, free: 4.578 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001013/1.799, allocations: 305.1 kB / 1.48 GB, free: 4.277 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008936/1.808, allocations: 2.742 MB / 1.483 GB, free: 1.535 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00967/1.818, allocations: 3.425 MB / 1.486 GB, free: 13.88 MB / 1.092 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.01949/1.837, allocations: 5.959 MB / 1.492 GB, free: 7.734 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.906e-05/1.837, allocations: 4 kB / 1.492 GB, free: 7.73 MB / 1.092 GB Notification: Performance of matching and sorting (n=448) (initialization): time 0.03061/1.868, allocations: 7.582 MB / 1.499 GB, free: 188 kB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 3.928e-05/1.868, allocations: 17.89 kB / 1.499 GB, free: 172 kB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.066e-05/1.868, allocations: 16 kB / 1.499 GB, free: 156 kB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004365/1.872, allocations: 0.9669 MB / 1.5 GB, free: 15.16 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009563/1.882, allocations: 1.425 MB / 1.502 GB, free: 13.79 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01783/1.9, allocations: 13.74 MB / 1.515 GB, free: 15.09 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0106/1.91, allocations: 1.287 MB / 1.516 GB, free: 13.8 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009678/1.911, allocations: 183.8 kB / 1.516 GB, free: 13.62 MB / 1.123 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.002698/1.914, allocations: 0.8531 MB / 1.517 GB, free: 12.8 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00155/1.916, allocations: 422.8 kB / 1.518 GB, free: 12.38 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02161/1.937, allocations: 5.795 MB / 1.523 GB, free: 6.566 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.275e-05/1.937, allocations: 27.94 kB / 1.523 GB, free: 6.539 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.475e-05/1.937, allocations: 7.984 kB / 1.523 GB, free: 6.531 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.947e-05/1.937, allocations: 7.969 kB / 1.523 GB, free: 6.523 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02704/1.964, allocations: 10.92 MB / 1.534 GB, free: 11.54 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.057e-05/1.964, allocations: 8.094 kB / 1.534 GB, free: 11.54 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006711/1.971, allocations: 0.6602 MB / 1.535 GB, free: 10.9 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005332/1.976, allocations: 0.786 MB / 1.535 GB, free: 10.09 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004457/1.977, allocations: 87.91 kB / 1.536 GB, free: 10 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02003/1.997, allocations: 10.96 MB / 1.546 GB, free: 14.22 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.604e-06/1.997, allocations: 8.062 kB / 1.546 GB, free: 14.21 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0325/2.029, allocations: 8.205 MB / 1.554 GB, free: 5.926 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002532/2.032, allocations: 1.064 MB / 1.555 GB, free: 4.84 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00127/2.033, allocations: 47.94 kB / 1.555 GB, free: 4.793 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006881/2.04, allocations: 0.6081 MB / 1.556 GB, free: 4.188 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004588/2.041, allocations: 166.1 kB / 1.556 GB, free: 4.027 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003378/2.041, allocations: 115.8 kB / 1.556 GB, free: 3.914 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.006498/2.048, allocations: 2.955 MB / 1.559 GB, free: 0.957 MB / 1.154 GB Notification: Performance of sort global known variables: time 1.91e-07/2.048, allocations: 0 / 1.559 GB, free: 0.957 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.005406/2.053, allocations: 1.553 MB / 1.561 GB, free: 15.4 MB / 1.17 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.02805/2.081, allocations: 9.603 MB / 1.57 GB, free: 5.957 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.01962/2.101, allocations: 6.366 MB / 1.576 GB, free: 15.61 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 7.013e-06/2.101, allocations: 0 / 1.576 GB, free: 15.61 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.007643/2.108, allocations: 3.024 MB / 1.579 GB, free: 12.55 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008929/2.117, allocations: 1.976 MB / 1.581 GB, free: 10.62 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1357/2.253, allocations: 48.14 MB / 1.628 GB, free: 7.445 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002612/2.256, allocations: 2.302 MB / 1.63 GB, free: 5.113 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.01045/2.266, allocations: 1.038 MB / 1.631 GB, free: 4.086 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004917/2.271, allocations: 1.806 MB / 1.633 GB, free: 2.281 MB / 1.232 GB Notification: Performance of SimCode: time 8.32e-07/2.271, allocations: 4 kB / 1.633 GB, free: 2.277 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8041/3.075, allocations: 124 MB / 1.754 GB, free: 0.5712 GB / 1.326 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001933/3.076, allocations: 295.6 kB / 1.754 GB, free: 0.5708 GB / 1.326 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.72/8.796, allocations: 8.625 kB / 1.755 GB, free: 0.5708 GB / 1.326 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