Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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(Buildings.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatExchangers_Validation_WetCoilEffectivenessNTU",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU,fileNamePrefix="Buildings_latest_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.001222/0.001222, 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.00129/0.00129, allocations: 194.4 kB / 16.14 MB, free: 6.645 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.223/1.223, allocations: 222.9 MB / 239.8 MB, free: 4.582 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.542/2.542, allocations: 461.9 MB / 0.7342 GB, free: 14.21 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001189/0.001189, allocations: 63.75 kB / 0.8985 GB, free: 37.02 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2608/0.262, allocations: 157.4 MB / 1.052 GB, free: 8.254 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU): time 0.8516/1.114, allocations: 367.3 MB / 1.411 GB, free: 13.33 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.04529/1.159, allocations: 33.66 MB / 1.444 GB, free: 3.105 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007653/1.167, allocations: 139.9 kB / 1.444 GB, free: 3.051 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.006913/1.174, allocations: 1.946 MB / 1.446 GB, free: 1.449 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.019/1.193, allocations: 6.937 MB / 1.453 GB, free: 12 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.009931/1.203, allocations: 4.157 MB / 1.457 GB, free: 8.109 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.01592/1.219, allocations: 13.66 MB / 1.47 GB, free: 10.4 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00483/1.223, allocations: 3.29 MB / 1.473 GB, free: 7.043 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01288/1.236, allocations: 4.73 MB / 1.478 GB, free: 2.344 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005532/1.242, allocations: 3.368 MB / 1.481 GB, free: 14.97 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0006926/1.243, allocations: 240 kB / 1.481 GB, free: 14.73 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01294/1.255, allocations: 7.26 MB / 1.488 GB, free: 7.461 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.001216/1.257, allocations: 1.163 MB / 1.49 GB, free: 6.293 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.003034/1.26, allocations: 2.518 MB / 1.492 GB, free: 3.762 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.01198/1.272, allocations: 9.785 MB / 1.502 GB, free: 9.953 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/1.272, allocations: 0 / 1.502 GB, free: 9.953 MB / 1.107 GB Notification: Performance of FrontEnd: time 8.31e-07/1.272, allocations: 0 / 1.502 GB, free: 9.953 MB / 1.107 GB Notification: Performance of Transformations before backend: time 6.179e-05/1.272, allocations: 0 / 1.502 GB, free: 9.953 MB / 1.107 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.01136/1.283, allocations: 5.951 MB / 1.507 GB, free: 3.898 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 4.089e-05/1.283, allocations: 15.97 kB / 1.507 GB, free: 3.883 MB / 1.107 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005155/1.284, allocations: 455.8 kB / 1.508 GB, free: 3.426 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02949/1.313, allocations: 4.297 MB / 1.512 GB, free: 15.12 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007045/1.32, allocations: 3.592 MB / 1.515 GB, free: 11.46 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001392/1.322, allocations: 0.5127 MB / 1.516 GB, free: 10.94 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007799/1.323, allocations: 367.9 kB / 1.516 GB, free: 10.58 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01505/1.338, allocations: 5.708 MB / 1.522 GB, free: 4.789 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.765e-05/1.338, allocations: 7.938 kB / 1.522 GB, free: 4.781 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004526/1.338, allocations: 136 kB / 1.522 GB, free: 4.648 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001279/1.338, allocations: 134.5 kB / 1.522 GB, free: 4.516 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01979/1.358, allocations: 6.833 MB / 1.529 GB, free: 13.67 MB / 1.139 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.03992/1.398, allocations: 22.27 MB / 1.551 GB, free: 6.266 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01095/1.409, allocations: 4.028 MB / 1.555 GB, free: 2.242 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006431/1.415, allocations: 2.262 MB / 1.557 GB, free: 15.98 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01381/1.429, allocations: 8.157 MB / 1.565 GB, free: 7.441 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007074/1.436, allocations: 2.493 MB / 1.567 GB, free: 4.93 MB / 1.17 GB Notification: Performance of pre-optimization done (n=228): time 3.948e-06/1.436, allocations: 0 / 1.567 GB, free: 4.93 MB / 1.17 GB Notification: Performance of matching and sorting (n=228): time 0.0322/1.469, allocations: 8.41 MB / 1.575 GB, free: 12.38 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.715e-05/1.469, allocations: 136.8 kB / 1.575 GB, free: 12.22 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007226/1.476, allocations: 4.314 MB / 1.58 GB, free: 7.887 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 0.0005412/1.477, allocations: 81.7 kB / 1.58 GB, free: 7.801 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.001457/1.478, allocations: 1.818 MB / 1.582 GB, free: 5.965 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008132/1.479, allocations: 0.7973 MB / 1.582 GB, free: 5.156 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00161/1.48, allocations: 0.8237 MB / 1.583 GB, free: 4.324 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 8.568e-05/1.481, allocations: 305.1 kB / 1.583 GB, free: 4.023 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008702/1.489, allocations: 2.743 MB / 1.586 GB, free: 1.277 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009782/1.499, allocations: 3.459 MB / 1.589 GB, free: 13.57 MB / 1.201 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.01846/1.518, allocations: 5.95 MB / 1.595 GB, free: 7.383 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.232e-05/1.518, allocations: 4 kB / 1.595 GB, free: 7.379 MB / 1.201 GB Notification: Performance of matching and sorting (n=454) (initialization): time 0.02657/1.544, allocations: 7.608 MB / 1.603 GB, free: 15.7 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 3.761e-05/1.544, allocations: 12 kB / 1.603 GB, free: 15.69 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.536e-05/1.544, allocations: 24.48 kB / 1.603 GB, free: 15.67 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004095/1.548, allocations: 0.9597 MB / 1.604 GB, free: 14.68 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009065/1.557, allocations: 1.428 MB / 1.605 GB, free: 13.25 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01623/1.574, allocations: 13.73 MB / 1.619 GB, free: 14.48 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01062/1.584, allocations: 1.302 MB / 1.62 GB, free: 13.17 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000955/1.585, allocations: 183.8 kB / 1.62 GB, free: 12.99 MB / 1.232 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: 65 * Number of states: 0 () * Number of discrete variables: 19 (hexWetNTU.UAFroRated.isFulWet,hexWetNTU.UAFroRated.isFulDry,$PRE.w_a2.nextTimeEvent,$whenCondition1,hexWetNTU.flowRegime_nominal,hexWetNTU.dryWetCalcs.fullyDry.cfg,hexWetNTU.dryWetCalcs.fullyWet.cfg,hexWetNTU.dryWetCalcs.cfg,hexWetNTU.flowRegime,hexWetNTU_TX.flowRegime_nominal,hexWetNTU_TX.dryWetCalcs.fullyDry.cfg,hexWetNTU_TX.dryWetCalcs.fullyWet.cfg,hexWetNTU_TX.dryWetCalcs.cfg,hexWetNTU_TX.flowRegime,hexWetNTU_TX.UAFroRated.isFulWet,hexWetNTU_TX.UAFroRated.isFulDry,w_a2.nextTimeEventScaled,$PRE.w_a2.nextTimeEventScaled,w_a2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (424): * Single equations (assignments): 409 * 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.002119/1.587, allocations: 0.87 MB / 1.621 GB, free: 12.11 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00129/1.589, allocations: 426.8 kB / 1.621 GB, free: 11.69 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02044/1.609, allocations: 5.776 MB / 1.627 GB, free: 5.883 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.815e-05/1.609, allocations: 24 kB / 1.627 GB, free: 5.859 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.212e-06/1.609, allocations: 0 / 1.627 GB, free: 5.859 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.245e-05/1.609, allocations: 15.95 kB / 1.627 GB, free: 5.844 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02783/1.637, allocations: 10.88 MB / 1.638 GB, free: 10.8 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.364e-05/1.637, allocations: 4 kB / 1.638 GB, free: 10.79 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004767/1.642, allocations: 0.6673 MB / 1.638 GB, free: 10.12 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003475/1.645, allocations: 0.7793 MB / 1.639 GB, free: 9.32 MB / 1.248 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004318/1.646, allocations: 87.91 kB / 1.639 GB, free: 9.234 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01297/1.659, allocations: 10.96 MB / 1.65 GB, free: 13.4 MB / 1.264 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.52e-06/1.659, allocations: 7.938 kB / 1.65 GB, free: 13.39 MB / 1.264 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02743/1.686, allocations: 8.183 MB / 1.658 GB, free: 5.109 MB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002546/1.689, allocations: 1.065 MB / 1.659 GB, free: 4.02 MB / 1.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009409/1.69, allocations: 44 kB / 1.659 GB, free: 3.977 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006343/1.696, allocations: 0.6132 MB / 1.659 GB, free: 3.363 MB / 1.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003988/1.697, allocations: 161.7 kB / 1.66 GB, free: 3.207 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003003/1.697, allocations: 115.9 kB / 1.66 GB, free: 3.094 MB / 1.264 GB Notification: Performance of sorting global known variables: time 0.005441/1.702, allocations: 2.975 MB / 1.663 GB, free: 120 kB / 1.264 GB Notification: Performance of sort global known variables: time 2.184e-06/1.702, allocations: 3.938 kB / 1.663 GB, free: 116 kB / 1.264 GB Notification: Performance of remove unused functions: time 0.004581/1.707, allocations: 1.557 MB / 1.664 GB, free: 14.55 MB / 1.279 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: 3 ($whenCondition1,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 (225): * Single equations (assignments): 212 * 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.02738/1.734, allocations: 9.568 MB / 1.673 GB, free: 5.051 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.02118/1.756, allocations: 6.431 MB / 1.68 GB, free: 14.55 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 8.686e-06/1.756, allocations: 0 / 1.68 GB, free: 14.55 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.008304/1.764, allocations: 3.004 MB / 1.683 GB, free: 11.47 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009451/1.773, allocations: 1.981 MB / 1.685 GB, free: 9.531 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1309/1.904, allocations: 48.26 MB / 1.732 GB, free: 6.02 MB / 1.342 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001765/1.906, allocations: 2.302 MB / 1.734 GB, free: 3.688 MB / 1.342 GB Notification: Performance of simCode: alias equations: time 0.006035/1.912, allocations: 1.045 MB / 1.735 GB, free: 2.652 MB / 1.342 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003007/1.915, allocations: 1.8 MB / 1.737 GB, free: 0.8516 MB / 1.342 GB Notification: Performance of SimCode: time 7.72e-07/1.915, allocations: 0 / 1.737 GB, free: 0.8516 MB / 1.342 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.661/2.576, allocations: 124.4 MB / 1.858 GB, free: 466 MB / 1.357 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001802/2.577, allocations: 292.9 kB / 1.858 GB, free: 465.6 MB / 1.357 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.653/8.229, allocations: 0 / 1.858 GB, free: 465.6 MB / 1.357 GB (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_HeatExchangers_Validation_WetCoilEffectivenessNTU_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_HeatExchangers_Validation_WetCoilEffectivenessNTU.fmu > Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU_res.mat does not exist to compare? outputFormat=mat