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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.001356/0.001356, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001589/0.001589, allocations: 193 kB / 16.25 MB, free: 6.629 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.421/1.421, allocations: 222.9 MB / 239.9 MB, free: 4.504 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.283/2.283, allocations: 437 MB / 0.7101 GB, free: 5.266 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00132/0.001321, allocations: 67.91 kB / 0.8688 GB, free: 4.992 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4906/0.492, allocations: 151.6 MB / 1.017 GB, free: 2.73 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Validation.WetCoilEffectivenessNTU): time 0.7617/1.254, allocations: 365.6 MB / 1.374 GB, free: 9.059 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.03395/1.288, allocations: 33.15 MB / 1.406 GB, free: 1.758 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00643/1.294, allocations: 135.2 kB / 1.406 GB, free: 1.758 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.005595/1.3, allocations: 2.054 MB / 1.408 GB, free: 1.242 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.01748/1.317, allocations: 7.006 MB / 1.415 GB, free: 15.13 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.01032/1.328, allocations: 4.204 MB / 1.419 GB, free: 12.5 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.01364/1.341, allocations: 11.09 MB / 1.43 GB, free: 6.301 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005194/1.346, allocations: 3.943 MB / 1.434 GB, free: 3.719 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01372/1.36, allocations: 5.487 MB / 1.439 GB, free: 14.59 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005863/1.366, allocations: 3.576 MB / 1.443 GB, free: 11.24 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.001081/1.367, allocations: 0.5508 MB / 1.443 GB, free: 10.69 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01265/1.38, allocations: 7.012 MB / 1.45 GB, free: 4.363 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.001742/1.382, allocations: 1.474 MB / 1.452 GB, free: 2.914 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.003842/1.385, allocations: 2.845 MB / 1.455 GB, free: 88 kB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.01948/1.405, allocations: 10.01 MB / 1.464 GB, free: 6.543 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/1.405, allocations: 0 / 1.464 GB, free: 6.543 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.543e-06/1.405, allocations: 0 / 1.464 GB, free: 6.543 MB / 1.045 GB Notification: Performance of Transformations before backend: time 0.0002302/1.405, allocations: 0 / 1.464 GB, free: 6.543 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.01435/1.42, allocations: 5.949 MB / 1.47 GB, free: 0.5469 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.049e-05/1.42, allocations: 12.03 kB / 1.47 GB, free: 0.5352 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008622/1.421, allocations: 455 kB / 1.471 GB, free: 84 kB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02835/1.449, allocations: 4.295 MB / 1.475 GB, free: 11.78 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007473/1.456, allocations: 3.602 MB / 1.478 GB, free: 8.191 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001369/1.458, allocations: 0.5185 MB / 1.479 GB, free: 7.664 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001128/1.459, allocations: 354.6 kB / 1.479 GB, free: 7.32 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0144/1.473, allocations: 5.714 MB / 1.485 GB, free: 1.527 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.864e-05/1.473, allocations: 7.938 kB / 1.485 GB, free: 1.52 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005346/1.474, allocations: 132 kB / 1.485 GB, free: 1.391 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001041/1.474, allocations: 134.5 kB / 1.485 GB, free: 1.258 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01868/1.493, allocations: 6.827 MB / 1.492 GB, free: 10.43 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.03501/1.528, allocations: 22.28 MB / 1.513 GB, free: 3.211 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009803/1.538, allocations: 4.024 MB / 1.517 GB, free: 15.2 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005841/1.543, allocations: 2.256 MB / 1.52 GB, free: 12.93 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01198/1.555, allocations: 8.166 MB / 1.528 GB, free: 4.461 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006437/1.562, allocations: 2.493 MB / 1.53 GB, free: 1.949 MB / 1.107 GB Notification: Performance of pre-optimization done (n=228): time 4.579e-06/1.562, allocations: 4 kB / 1.53 GB, free: 1.945 MB / 1.107 GB Notification: Performance of matching and sorting (n=228): time 0.02948/1.591, allocations: 8.411 MB / 1.538 GB, free: 9.402 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.388e-05/1.591, allocations: 124.8 kB / 1.538 GB, free: 9.254 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007497/1.599, allocations: 4.321 MB / 1.542 GB, free: 4.914 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 0.0003498/1.599, allocations: 77.7 kB / 1.543 GB, free: 4.832 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.001488/1.601, allocations: 1.825 MB / 1.544 GB, free: 3.004 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007918/1.602, allocations: 0.7929 MB / 1.545 GB, free: 2.219 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001795/1.603, allocations: 0.827 MB / 1.546 GB, free: 1.387 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 7.644e-05/1.604, allocations: 309.1 kB / 1.546 GB, free: 1.082 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008085/1.612, allocations: 2.736 MB / 1.549 GB, free: 14.34 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008671/1.62, allocations: 3.459 MB / 1.552 GB, free: 10.64 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.01678/1.637, allocations: 5.964 MB / 1.558 GB, free: 4.438 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-05/1.637, allocations: 4 kB / 1.558 GB, free: 4.434 MB / 1.139 GB Notification: Performance of matching and sorting (n=454) (initialization): time 0.02515/1.662, allocations: 7.606 MB / 1.566 GB, free: 12.77 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 3.139e-05/1.662, allocations: 12 kB / 1.566 GB, free: 12.75 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.907e-05/1.662, allocations: 12.5 kB / 1.566 GB, free: 12.74 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003882/1.666, allocations: 0.9753 MB / 1.567 GB, free: 11.74 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008337/1.675, allocations: 1.407 MB / 1.568 GB, free: 10.33 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03624/1.711, allocations: 14.55 MB / 1.582 GB, free: 10.71 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01034/1.721, allocations: 1.3 MB / 1.583 GB, free: 9.402 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008767/1.722, allocations: 190.4 kB / 1.584 GB, free: 9.219 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.002394/1.725, allocations: 0.8637 MB / 1.584 GB, free: 8.344 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001375/1.726, allocations: 418.8 kB / 1.585 GB, free: 7.93 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01983/1.746, allocations: 5.789 MB / 1.59 GB, free: 2.113 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.437e-05/1.746, allocations: 24 kB / 1.59 GB, free: 2.09 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.546e-06/1.746, allocations: 0 / 1.59 GB, free: 2.09 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.465e-05/1.746, allocations: 15.89 kB / 1.59 GB, free: 2.074 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02564/1.772, allocations: 10.89 MB / 1.601 GB, free: 7.082 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.097e-05/1.772, allocations: 4 kB / 1.601 GB, free: 7.078 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004194/1.776, allocations: 0.6675 MB / 1.602 GB, free: 6.41 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002938/1.779, allocations: 0.7676 MB / 1.603 GB, free: 5.617 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002776/1.779, allocations: 79.91 kB / 1.603 GB, free: 5.539 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01376/1.793, allocations: 11.69 MB / 1.614 GB, free: 8.934 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.691e-06/1.793, allocations: 8 kB / 1.614 GB, free: 8.926 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02455/1.817, allocations: 8.18 MB / 1.622 GB, free: 0.6523 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002161/1.819, allocations: 1.061 MB / 1.623 GB, free: 15.56 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001104/1.821, allocations: 47.98 kB / 1.623 GB, free: 15.52 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006353/1.827, allocations: 0.6132 MB / 1.624 GB, free: 14.9 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003639/1.827, allocations: 169.6 kB / 1.624 GB, free: 14.74 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000303/1.828, allocations: 107.9 kB / 1.624 GB, free: 14.63 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.005779/1.833, allocations: 2.975 MB / 1.627 GB, free: 11.66 MB / 1.217 GB Notification: Performance of sort global known variables: time 2.2e-07/1.833, allocations: 0 / 1.627 GB, free: 11.66 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.004589/1.838, allocations: 1.553 MB / 1.628 GB, free: 10.1 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.02589/1.864, allocations: 9.579 MB / 1.638 GB, free: 0.6367 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.02377/1.888, allocations: 7.101 MB / 1.645 GB, free: 9.477 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 7.805e-06/1.888, allocations: 0 / 1.645 GB, free: 9.477 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.007805/1.896, allocations: 3.015 MB / 1.648 GB, free: 6.387 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01004/1.906, allocations: 2.112 MB / 1.65 GB, free: 4.359 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1282/2.034, allocations: 48.26 MB / 1.697 GB, free: 0.8711 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002151/2.036, allocations: 2.305 MB / 1.699 GB, free: 14.54 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.006306/2.042, allocations: 1.037 MB / 1.7 GB, free: 13.5 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003073/2.045, allocations: 1.803 MB / 1.702 GB, free: 11.7 MB / 1.295 GB Notification: Performance of SimCode: time 5.71e-07/2.045, allocations: 3.938 kB / 1.702 GB, free: 11.7 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.043/6.089, allocations: 128.1 MB / 1.827 GB, free: 0.5041 GB / 1.342 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001844/6.089, allocations: 292.3 kB / 1.827 GB, free: 0.5037 GB / 1.342 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.772/11.86, allocations: 0 / 1.827 GB, free: 0.5037 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