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.001072/0.001072, allocations: 90.91 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.008314/0.008314, allocations: 171.8 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.208/1.208, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.455/2.455, allocations: 462.6 MB / 0.7364 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003305/0.0003305, allocations: 13.5 kB / 0.9029 GB, free: 36.48 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2672/0.2675, allocations: 159.6 MB / 1.059 GB, free: 4.855 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU): time 0.8645/1.132, allocations: 362.3 MB / 1.413 GB, free: 5.879 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.04379/1.176, allocations: 33.28 MB / 1.445 GB, free: 11.97 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006795/1.183, allocations: 134 kB / 1.445 GB, free: 11.92 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.006415/1.189, allocations: 1.94 MB / 1.447 GB, free: 10.32 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.02092/1.21, allocations: 6.937 MB / 1.454 GB, free: 4.875 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.01217/1.222, allocations: 4.168 MB / 1.458 GB, free: 1.707 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.01802/1.24, allocations: 13.65 MB / 1.471 GB, free: 5.75 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00719/1.248, allocations: 3.205 MB / 1.474 GB, free: 2.484 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01574/1.263, allocations: 4.62 MB / 1.479 GB, free: 13.89 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007065/1.27, allocations: 3.226 MB / 1.482 GB, free: 10.66 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.001824/1.272, allocations: 192 kB / 1.482 GB, free: 10.48 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0153/1.288, allocations: 7.214 MB / 1.489 GB, free: 3.246 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.002702/1.29, allocations: 1.085 MB / 1.49 GB, free: 2.156 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.006144/1.297, allocations: 2.446 MB / 1.493 GB, free: 15.69 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.0187/1.315, allocations: 9.595 MB / 1.502 GB, free: 6.066 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/1.315, allocations: 0 / 1.502 GB, free: 6.066 MB / 1.092 GB Notification: Performance of FrontEnd: time 2.174e-06/1.315, allocations: 4 kB / 1.502 GB, free: 6.062 MB / 1.092 GB Notification: Performance of Transformations before backend: time 0.0002791/1.316, allocations: 0 / 1.502 GB, free: 6.062 MB / 1.092 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.01354/1.329, allocations: 4.966 MB / 1.507 GB, free: 0.9922 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 5.068e-05/1.329, allocations: 11.97 kB / 1.507 GB, free: 0.9805 MB / 1.092 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001442/1.331, allocations: 455.8 kB / 1.507 GB, free: 0.5234 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02999/1.361, allocations: 4.563 MB / 1.512 GB, free: 11.95 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008743/1.369, allocations: 3.617 MB / 1.515 GB, free: 8.27 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001608/1.371, allocations: 0.5596 MB / 1.516 GB, free: 7.703 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0015/1.373, allocations: 352 kB / 1.516 GB, free: 7.359 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01818/1.391, allocations: 5.822 MB / 1.522 GB, free: 1.453 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001442/1.391, allocations: 3.938 kB / 1.522 GB, free: 1.449 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001125/1.392, allocations: 132 kB / 1.522 GB, free: 1.32 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000154/1.392, allocations: 134.5 kB / 1.522 GB, free: 1.188 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02246/1.415, allocations: 7.025 MB / 1.529 GB, free: 10.15 MB / 1.123 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.04434/1.459, allocations: 22.54 MB / 1.551 GB, free: 2.48 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01191/1.471, allocations: 4.11 MB / 1.555 GB, free: 14.36 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006957/1.478, allocations: 2.328 MB / 1.557 GB, free: 12.04 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0172/1.495, allocations: 8.176 MB / 1.565 GB, free: 3.488 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007513/1.503, allocations: 2.567 MB / 1.568 GB, free: 0.8984 MB / 1.154 GB Notification: Performance of pre-optimization done (n=228): time 6.031e-06/1.503, allocations: 0 / 1.568 GB, free: 0.8984 MB / 1.154 GB Notification: Performance of matching and sorting (n=228): time 0.03349/1.537, allocations: 8.68 MB / 1.576 GB, free: 8.078 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.676e-05/1.537, allocations: 128.8 kB / 1.576 GB, free: 7.93 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008847/1.545, allocations: 4.349 MB / 1.581 GB, free: 3.562 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 0.0007016/1.546, allocations: 81.69 kB / 1.581 GB, free: 3.477 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.001708/1.548, allocations: 1.822 MB / 1.583 GB, free: 1.637 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.001219/1.549, allocations: 0.7973 MB / 1.583 GB, free: 0.8281 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009357/1.55, allocations: 309.2 kB / 1.584 GB, free: 0.5195 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 7.992e-05/1.55, allocations: 301.1 kB / 1.584 GB, free: 228 kB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009035/1.559, allocations: 2.833 MB / 1.587 GB, free: 13.39 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009512/1.569, allocations: 3.557 MB / 1.59 GB, free: 9.586 MB / 1.186 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.01809/1.587, allocations: 6.098 MB / 1.596 GB, free: 3.242 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.59e-05/1.587, allocations: 7.938 kB / 1.596 GB, free: 3.234 MB / 1.186 GB Notification: Performance of matching and sorting (n=454) (initialization): time 0.02931/1.616, allocations: 7.819 MB / 1.604 GB, free: 11.35 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 4.298e-05/1.616, allocations: 12 kB / 1.604 GB, free: 11.34 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.366e-05/1.616, allocations: 16 kB / 1.604 GB, free: 11.32 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003871/1.62, allocations: 0.9875 MB / 1.605 GB, free: 10.3 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008634/1.629, allocations: 1.443 MB / 1.606 GB, free: 8.859 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01565/1.645, allocations: 13.81 MB / 1.62 GB, free: 10.02 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01079/1.655, allocations: 1.389 MB / 1.621 GB, free: 8.625 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001004/1.656, allocations: 183.8 kB / 1.621 GB, free: 8.445 MB / 1.217 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: 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.002928/1.659, allocations: 0.8677 MB / 1.622 GB, free: 7.566 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00146/1.661, allocations: 418.8 kB / 1.622 GB, free: 7.152 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02068/1.682, allocations: 5.925 MB / 1.628 GB, free: 1.191 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.187e-05/1.682, allocations: 28 kB / 1.628 GB, free: 1.164 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.873e-06/1.682, allocations: 7.938 kB / 1.628 GB, free: 1.156 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.018e-05/1.682, allocations: 11.95 kB / 1.628 GB, free: 1.145 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02767/1.709, allocations: 11.05 MB / 1.639 GB, free: 5.926 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-05/1.709, allocations: 4 kB / 1.639 GB, free: 5.922 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004436/1.714, allocations: 0.7026 MB / 1.64 GB, free: 5.219 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003308/1.717, allocations: 0.7989 MB / 1.641 GB, free: 4.395 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003496/1.718, allocations: 83.91 kB / 1.641 GB, free: 4.312 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01217/1.73, allocations: 11.03 MB / 1.651 GB, free: 8.402 MB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.08e-05/1.73, allocations: 11.88 kB / 1.651 GB, free: 8.391 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02637/1.756, allocations: 8.39 MB / 1.66 GB, free: 15.89 MB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002789/1.759, allocations: 1.147 MB / 1.661 GB, free: 14.72 MB / 1.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000769/1.76, allocations: 48 kB / 1.661 GB, free: 14.68 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006085/1.766, allocations: 0.6682 MB / 1.661 GB, free: 14.01 MB / 1.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004037/1.766, allocations: 169.6 kB / 1.662 GB, free: 13.84 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002689/1.767, allocations: 107.9 kB / 1.662 GB, free: 13.74 MB / 1.264 GB Notification: Performance of sorting global known variables: time 0.00564/1.772, allocations: 3.003 MB / 1.665 GB, free: 10.73 MB / 1.264 GB Notification: Performance of sort global known variables: time 2.51e-07/1.772, allocations: 0 / 1.665 GB, free: 10.73 MB / 1.264 GB Notification: Performance of remove unused functions: time 0.005339/1.778, allocations: 1.56 MB / 1.666 GB, free: 9.172 MB / 1.264 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.02672/1.804, allocations: 9.806 MB / 1.676 GB, free: 15.44 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.02067/1.825, allocations: 6.581 MB / 1.682 GB, free: 8.797 MB / 1.279 GB Notification: Performance of simCode: created event and clocks part: time 9.127e-06/1.825, allocations: 384 / 1.682 GB, free: 8.797 MB / 1.279 GB Notification: Performance of simCode: created simulation system equations: time 0.007879/1.833, allocations: 3.069 MB / 1.685 GB, free: 5.652 MB / 1.279 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01202/1.845, allocations: 2.044 MB / 1.687 GB, free: 3.645 MB / 1.279 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1233/1.968, allocations: 48.99 MB / 1.735 GB, free: 15.39 MB / 1.342 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0018/1.97, allocations: 2.299 MB / 1.737 GB, free: 13.06 MB / 1.342 GB Notification: Performance of simCode: alias equations: time 0.006076/1.976, allocations: 1.042 MB / 1.738 GB, free: 12.03 MB / 1.342 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00309/1.979, allocations: 1.818 MB / 1.74 GB, free: 10.21 MB / 1.342 GB Notification: Performance of SimCode: time 9.61e-07/1.979, allocations: 3.938 kB / 1.74 GB, free: 10.21 MB / 1.342 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 5.502/7.481, allocations: 128.5 MB / 1.865 GB, free: 465.8 MB / 1.357 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001729/7.481, allocations: 308.2 kB / 1.866 GB, free: 465.4 MB / 1.357 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.112/13.59, allocations: 0 / 1.866 GB, free: 465.4 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