Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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_10_Buildings_Fluid_HeatExchangers_Validation_WetCoilEffectivenessNTU",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU,fileNamePrefix="Buildings_10_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.001499/0.001499, 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.001786/0.001786, allocations: 193.5 kB / 16.14 MB, free: 6.652 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.352/1.352, allocations: 222.9 MB / 239.8 MB, free: 4.629 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.579/2.579, allocations: 437 MB / 0.71 GB, free: 5.363 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001406/0.001406, allocations: 63.91 kB / 0.8687 GB, free: 5.129 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5767/0.5781, allocations: 151.6 MB / 1.017 GB, free: 2.793 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU): time 0.8994/1.477, allocations: 367.3 MB / 1.375 GB, free: 8.645 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.03817/1.516, allocations: 33.65 MB / 1.408 GB, free: 0.7227 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006688/1.522, allocations: 137.1 kB / 1.408 GB, free: 0.7227 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.006041/1.529, allocations: 1.943 MB / 1.41 GB, free: 288 kB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.01956/1.548, allocations: 6.948 MB / 1.417 GB, free: 13.46 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0102/1.558, allocations: 4.153 MB / 1.421 GB, free: 10.81 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.01532/1.574, allocations: 13.66 MB / 1.434 GB, free: 2.523 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005209/1.579, allocations: 3.304 MB / 1.438 GB, free: 15.21 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01387/1.593, allocations: 4.733 MB / 1.442 GB, free: 10.77 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006499/1.599, allocations: 3.369 MB / 1.446 GB, free: 7.621 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.001614/1.601, allocations: 240 kB / 1.446 GB, free: 7.387 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01443/1.615, allocations: 7.259 MB / 1.453 GB, free: 0.8125 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.00217/1.618, allocations: 1.159 MB / 1.454 GB, free: 15.68 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.005057/1.623, allocations: 2.515 MB / 1.456 GB, free: 13.18 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.01654/1.639, allocations: 9.787 MB / 1.466 GB, free: 3.863 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/1.639, allocations: 4 kB / 1.466 GB, free: 3.859 MB / 1.045 GB Notification: Performance of FrontEnd: time 9.51e-07/1.639, allocations: 0 / 1.466 GB, free: 3.859 MB / 1.045 GB Notification: Performance of Transformations before backend: time 0.0002236/1.64, allocations: 0 / 1.466 GB, free: 3.859 MB / 1.045 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.01456/1.654, allocations: 5.95 MB / 1.472 GB, free: 13.86 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.204e-05/1.654, allocations: 8.031 kB / 1.472 GB, free: 13.85 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008734/1.655, allocations: 451.8 kB / 1.472 GB, free: 13.4 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02892/1.684, allocations: 4.297 MB / 1.476 GB, free: 9.102 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007797/1.692, allocations: 3.599 MB / 1.48 GB, free: 5.52 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00141/1.693, allocations: 0.5205 MB / 1.481 GB, free: 4.988 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001178/1.694, allocations: 358.6 kB / 1.481 GB, free: 4.641 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01511/1.71, allocations: 5.712 MB / 1.486 GB, free: 14.85 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.765e-05/1.71, allocations: 0 / 1.486 GB, free: 14.85 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006063/1.71, allocations: 138.7 kB / 1.487 GB, free: 14.72 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001064/1.71, allocations: 134.5 kB / 1.487 GB, free: 14.59 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01918/1.73, allocations: 6.829 MB / 1.493 GB, free: 7.746 MB / 1.076 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.03721/1.767, allocations: 22.27 MB / 1.515 GB, free: 0.5312 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01029/1.777, allocations: 4.027 MB / 1.519 GB, free: 12.51 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00596/1.783, allocations: 2.258 MB / 1.521 GB, free: 10.25 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01264/1.796, allocations: 8.166 MB / 1.529 GB, free: 1.777 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006663/1.802, allocations: 2.485 MB / 1.532 GB, free: 15.27 MB / 1.123 GB Notification: Performance of pre-optimization done (n=228): time 4.177e-06/1.802, allocations: 0 / 1.532 GB, free: 15.27 MB / 1.123 GB Notification: Performance of matching and sorting (n=228): time 0.03042/1.833, allocations: 8.427 MB / 1.54 GB, free: 6.715 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.88e-05/1.833, allocations: 128.8 kB / 1.54 GB, free: 6.562 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008256/1.841, allocations: 4.317 MB / 1.544 GB, free: 2.227 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 0.0005004/1.842, allocations: 81.7 kB / 1.544 GB, free: 2.141 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.001588/1.843, allocations: 1.822 MB / 1.546 GB, free: 324 kB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009891/1.844, allocations: 0.7935 MB / 1.547 GB, free: 15.53 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0021/1.846, allocations: 0.8197 MB / 1.548 GB, free: 14.7 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 7.452e-05/1.847, allocations: 301.1 kB / 1.548 GB, free: 14.41 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008512/1.855, allocations: 2.746 MB / 1.551 GB, free: 11.66 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009341/1.864, allocations: 3.459 MB / 1.554 GB, free: 7.957 MB / 1.139 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.01801/1.882, allocations: 5.957 MB / 1.56 GB, free: 1.766 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.842e-05/1.882, allocations: 8 kB / 1.56 GB, free: 1.758 MB / 1.139 GB Notification: Performance of matching and sorting (n=454) (initialization): time 0.02549/1.908, allocations: 7.605 MB / 1.567 GB, free: 10.09 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 3.409e-05/1.908, allocations: 8.5 kB / 1.567 GB, free: 10.08 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.56e-05/1.908, allocations: 20 kB / 1.567 GB, free: 10.06 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003798/1.912, allocations: 0.9714 MB / 1.568 GB, free: 9.062 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008016/1.92, allocations: 1.419 MB / 1.57 GB, free: 7.645 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05502/1.975, allocations: 13.73 MB / 1.583 GB, free: 8.887 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01279/1.988, allocations: 1.304 MB / 1.584 GB, free: 7.578 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001329/1.989, allocations: 183.8 kB / 1.584 GB, free: 7.398 MB / 1.17 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.003396/1.993, allocations: 0.8695 MB / 1.585 GB, free: 6.52 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002081/1.995, allocations: 422.8 kB / 1.586 GB, free: 6.102 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02179/2.016, allocations: 5.764 MB / 1.591 GB, free: 312 kB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.891e-05/2.016, allocations: 28 kB / 1.591 GB, free: 284 kB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.797e-06/2.016, allocations: 0 / 1.591 GB, free: 284 kB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.914e-05/2.017, allocations: 15.89 kB / 1.591 GB, free: 268 kB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02897/2.045, allocations: 10.89 MB / 1.602 GB, free: 5.277 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.451e-05/2.046, allocations: 4 kB / 1.602 GB, free: 5.273 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004525/2.05, allocations: 0.6636 MB / 1.603 GB, free: 4.609 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003478/2.054, allocations: 0.791 MB / 1.603 GB, free: 3.793 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003456/2.054, allocations: 79.91 kB / 1.604 GB, free: 3.715 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01355/2.067, allocations: 10.98 MB / 1.614 GB, free: 7.863 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.831e-06/2.068, allocations: 4 kB / 1.614 GB, free: 7.859 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02838/2.096, allocations: 8.186 MB / 1.622 GB, free: 15.57 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002826/2.099, allocations: 1.061 MB / 1.623 GB, free: 14.49 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001418/2.1, allocations: 48 kB / 1.623 GB, free: 14.44 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006861/2.107, allocations: 0.6055 MB / 1.624 GB, free: 13.84 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004896/2.108, allocations: 165.7 kB / 1.624 GB, free: 13.68 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003883/2.108, allocations: 111.9 kB / 1.624 GB, free: 13.57 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.007253/2.115, allocations: 2.979 MB / 1.627 GB, free: 10.59 MB / 1.217 GB Notification: Performance of sort global known variables: time 4.71e-07/2.115, allocations: 0 / 1.627 GB, free: 10.59 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.005918/2.121, allocations: 1.553 MB / 1.629 GB, free: 9.031 MB / 1.217 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.02916/2.15, allocations: 9.583 MB / 1.638 GB, free: 15.57 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.0211/2.171, allocations: 6.425 MB / 1.644 GB, free: 9.082 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 8.125e-06/2.172, allocations: 5.188 kB / 1.644 GB, free: 9.078 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.008064/2.18, allocations: 2.998 MB / 1.647 GB, free: 6 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01044/2.19, allocations: 1.971 MB / 1.649 GB, free: 4.066 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.133/2.323, allocations: 48.26 MB / 1.696 GB, free: 0.5781 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002523/2.326, allocations: 2.298 MB / 1.698 GB, free: 14.25 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.006955/2.333, allocations: 1.056 MB / 1.7 GB, free: 13.21 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003632/2.336, allocations: 1.803 MB / 1.701 GB, free: 11.4 MB / 1.295 GB Notification: Performance of SimCode: time 1.182e-06/2.336, allocations: 0 / 1.701 GB, free: 11.4 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2/4.336, allocations: 124.3 MB / 1.823 GB, free: 0.507 GB / 1.342 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000173/4.336, allocations: 300.1 kB / 1.823 GB, free: 0.5067 GB / 1.342 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.223/10.56, allocations: 3.844 kB / 1.823 GB, free: 0.5067 GB / 1.342 GB (rm -f Buildings_10_Buildings.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU.pipe ; mkfifo Buildings_10_Buildings.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU.pipe >> ../files/Buildings_10_Buildings.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_HeatExchangers_Validation_WetCoilEffectivenessNTU_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Fluid_HeatExchangers_Validation_WetCoilEffectivenessNTU.fmu > Buildings_10_Buildings.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_10_Buildings.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU_res.mat does not exist to compare? outputFormat=mat