Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU.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.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.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.DryCoilEffectivenessNTU,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatExchangers_Validation_DryCoilEffectivenessNTU",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatExchangers_Validation_DryCoilEffectivenessNTU",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.0009316/0.0009319, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.00089/0.0008901, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.266/1.266, allocations: 223.2 MB / 239.9 MB, free: 5.453 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.395/2.395, allocations: 409.2 MB / 0.6838 GB, free: 0.9062 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003638/0.0003639, allocations: 12 kB / 0.8375 GB, free: 6.555 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7504/0.7508, allocations: 146.8 MB / 0.9809 GB, free: 6.273 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU): time 0.8897/1.641, allocations: 290.9 MB / 1.265 GB, free: 10.55 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.03587/1.676, allocations: 29.45 MB / 1.294 GB, free: 10.23 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006057/1.683, allocations: 134.4 kB / 1.294 GB, free: 10.23 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.007774/1.69, allocations: 2.303 MB / 1.296 GB, free: 10.22 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.02353/1.714, allocations: 7.722 MB / 1.304 GB, free: 10.13 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.009303/1.723, allocations: 3.246 MB / 1.307 GB, free: 10.02 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.01343/1.737, allocations: 7.32 MB / 1.314 GB, free: 9.996 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006551/1.743, allocations: 3.532 MB / 1.317 GB, free: 25.61 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01226/1.756, allocations: 5.044 MB / 1.322 GB, free: 25.59 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007011/1.763, allocations: 2.722 MB / 1.325 GB, free: 25.57 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.002107/1.765, allocations: 214.2 kB / 1.325 GB, free: 25.57 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01042/1.775, allocations: 3.126 MB / 1.328 GB, free: 25.57 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.002668/1.778, allocations: 1.08 MB / 1.329 GB, free: 25.57 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.003045/1.781, allocations: 1.064 MB / 1.33 GB, free: 25.54 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.009596/1.791, allocations: 6.144 MB / 1.336 GB, free: 25.06 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.536e-06/1.791, allocations: 0 / 1.336 GB, free: 25.06 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.164e-06/1.791, allocations: 0 / 1.336 GB, free: 25.06 MB / 1.014 GB Notification: Performance of Transformations before backend: time 0.0002849/1.791, allocations: 0 / 1.336 GB, free: 25.06 MB / 1.014 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 822 * Number of variables: 822 Notification: Performance of Generate backend data structure: time 0.01611/1.807, allocations: 5.246 MB / 1.341 GB, free: 22.52 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.608e-05/1.807, allocations: 8.594 kB / 1.341 GB, free: 22.52 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001504/1.809, allocations: 443.9 kB / 1.342 GB, free: 22.38 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01105/1.82, allocations: 2.228 MB / 1.344 GB, free: 21.51 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007848/1.828, allocations: 3.519 MB / 1.348 GB, free: 20.1 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002981/1.831, allocations: 0.9118 MB / 1.348 GB, free: 19.87 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001257/1.832, allocations: 350.1 kB / 1.349 GB, free: 19.87 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01046/1.842, allocations: 4.847 MB / 1.353 GB, free: 18.54 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.567e-05/1.842, allocations: 2.625 kB / 1.353 GB, free: 18.54 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003928/1.843, allocations: 132 kB / 1.354 GB, free: 18.54 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001328/1.843, allocations: 154.9 kB / 1.354 GB, free: 18.52 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01229/1.855, allocations: 5.525 MB / 1.359 GB, free: 17.48 MB / 1.014 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.03306/1.888, allocations: 19.84 MB / 1.379 GB, free: 5.66 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01018/1.899, allocations: 4.039 MB / 1.382 GB, free: 4.809 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007317/1.899, allocations: 0.5198 MB / 1.383 GB, free: 4.309 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005476/1.905, allocations: 2.387 MB / 1.385 GB, free: 3.598 MB / 1.014 GB Notification: Performance of pre-optimization done (n=247): time 4.167e-06/1.905, allocations: 0 / 1.385 GB, free: 3.598 MB / 1.014 GB Notification: Performance of matching and sorting (n=247): time 0.01648/1.921, allocations: 6.026 MB / 1.391 GB, free: 2.219 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.62e-05/1.921, allocations: 115.7 kB / 1.391 GB, free: 2.117 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005726/1.927, allocations: 3.661 MB / 1.395 GB, free: 15.71 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 0.0008259/1.928, allocations: 85.58 kB / 1.395 GB, free: 15.66 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.001722/1.93, allocations: 1.861 MB / 1.397 GB, free: 14.71 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.00103/1.931, allocations: 0.8348 MB / 1.398 GB, free: 14 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002171/1.931, allocations: 61.06 kB / 1.398 GB, free: 13.98 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001987/1.931, allocations: 420.3 kB / 1.398 GB, free: 13.61 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005233/1.937, allocations: 1.98 MB / 1.4 GB, free: 12.14 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006317/1.943, allocations: 2.7 MB / 1.403 GB, free: 9.789 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00577/1.949, allocations: 2.113 MB / 1.405 GB, free: 8.281 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.32e-05/1.949, allocations: 4 kB / 1.405 GB, free: 8.277 MB / 1.029 GB Notification: Performance of matching and sorting (n=389) (initialization): time 0.01373/1.962, allocations: 5.122 MB / 1.41 GB, free: 4.344 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 0.001876/1.964, allocations: 4.658 MB / 1.414 GB, free: 15.5 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.945e-05/1.964, allocations: 15.98 kB / 1.414 GB, free: 15.49 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.473e-05/1.964, allocations: 24 kB / 1.414 GB, free: 15.46 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006969/1.971, allocations: 1.233 MB / 1.415 GB, free: 14.3 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003329/1.975, allocations: 5.967 MB / 1.421 GB, free: 8.215 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007366/1.982, allocations: 0.8446 MB / 1.422 GB, free: 7.418 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008917/1.983, allocations: 155.5 kB / 1.422 GB, free: 7.293 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.454e-05/1.983, allocations: 4 kB / 1.422 GB, free: 7.289 MB / 1.045 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01248/1.996, allocations: 4.726 MB / 1.427 GB, free: 3.809 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.6e-05/1.996, allocations: 12 kB / 1.427 GB, free: 3.797 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.488e-05/1.996, allocations: 27.98 kB / 1.427 GB, free: 3.77 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005107/2.001, allocations: 1.086 MB / 1.428 GB, free: 2.75 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.051e-05/2.001, allocations: 34.56 kB / 1.428 GB, free: 2.719 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006057/2.007, allocations: 0.8045 MB / 1.429 GB, free: 1.961 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004619/2.007, allocations: 148.5 kB / 1.429 GB, free: 1.84 MB / 1.045 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition1,$PRE.trapezoid.T_start,trapezoid.T_start,$PRE.trapezoid.count,trapezoid.count,hexCroUnm.flowRegime,hexCroUnm.flowRegime_nominal,hexCroC1Unm.flowRegime,hexCroC1Unm.flowRegime_nominal,hexCroC1Mix.flowRegime,hexCroC1Mix.flowRegime_nominal,hexCou.flowRegime,hexCou.flowRegime_nominal,hexPar.flowRegime,hexPar.flowRegime_nominal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (388): * Single equations (assignments): 377 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 10 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 10 {1,1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00234/2.01, allocations: 0.9105 MB / 1.43 GB, free: 1.336 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00128/2.011, allocations: 446.5 kB / 1.43 GB, free: 0.8945 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01233/2.023, allocations: 4.827 MB / 1.435 GB, free: 13.28 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.143e-05/2.024, allocations: 28 kB / 1.435 GB, free: 13.25 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.181e-05/2.024, allocations: 3.953 kB / 1.435 GB, free: 13.25 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.06e-05/2.024, allocations: 19.94 kB / 1.435 GB, free: 13.23 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02231/2.046, allocations: 9.273 MB / 1.444 GB, free: 6.582 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-05/2.046, allocations: 8 kB / 1.444 GB, free: 6.574 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004542/2.05, allocations: 0.9029 MB / 1.445 GB, free: 5.719 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.938e-05/2.051, allocations: 12 kB / 1.445 GB, free: 5.707 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002712/2.051, allocations: 87.98 kB / 1.445 GB, free: 5.656 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002986/2.054, allocations: 5.935 MB / 1.451 GB, free: 15.59 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.823e-06/2.054, allocations: 6.625 kB / 1.451 GB, free: 15.59 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01259/2.066, allocations: 5.292 MB / 1.456 GB, free: 11 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002828/2.069, allocations: 1.02 MB / 1.457 GB, free: 10.23 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008034/2.07, allocations: 51.56 kB / 1.457 GB, free: 10.21 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005651/2.076, allocations: 0.7316 MB / 1.458 GB, free: 9.52 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003823/2.076, allocations: 195.5 kB / 1.458 GB, free: 9.352 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003187/2.077, allocations: 135.6 kB / 1.458 GB, free: 9.242 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.003743/2.08, allocations: 2.411 MB / 1.46 GB, free: 7.551 MB / 1.076 GB Notification: Performance of sort global known variables: time 2.51e-07/2.08, allocations: 0 / 1.46 GB, free: 7.551 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.006498/2.087, allocations: 2.315 MB / 1.463 GB, free: 5.398 MB / 1.076 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,trapezoid.T_start,trapezoid.count) * Number of discrete states: 1 (trapezoid.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (279): * Single equations (assignments): 265 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 10 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 10 {1,1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01373/2.101, allocations: 7.47 MB / 1.47 GB, free: 14.87 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.0214/2.122, allocations: 7.452 MB / 1.477 GB, free: 9.156 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-05/2.122, allocations: 4.75 kB / 1.477 GB, free: 9.152 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.006205/2.128, allocations: 2.365 MB / 1.48 GB, free: 7.379 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01035/2.139, allocations: 2.034 MB / 1.482 GB, free: 5.703 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02445/2.163, allocations: 18.06 MB / 1.499 GB, free: 4.395 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001924/2.165, allocations: 2.468 MB / 1.502 GB, free: 1.957 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.006732/2.172, allocations: 1.234 MB / 1.503 GB, free: 0.7617 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00263/2.174, allocations: 1.891 MB / 1.505 GB, free: 304 kB / 1.107 GB Notification: Performance of SimCode: time 1.894e-06/2.174, allocations: 0 / 1.505 GB, free: 304 kB / 1.107 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.277/3.452, allocations: 118 MB / 1.62 GB, free: 11.69 MB / 1.232 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002103/3.452, allocations: 274.4 kB / 1.62 GB, free: 11.34 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.703/9.155, allocations: 0 / 1.62 GB, free: 11.34 MB / 1.232 GB (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_HeatExchangers_Validation_DryCoilEffectivenessNTU_fmu --startTime=0 --stopTime=360 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_HeatExchangers_Validation_DryCoilEffectivenessNTU.fmu > Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU_res.mat does not exist to compare? outputFormat=mat