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.0007981/0.0007979, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.0008289/0.0008289, allocations: 168.7 kB / 15.95 MB, free: 204 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.375/1.375, allocations: 223.3 MB / 240 MB, free: 5.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.63/2.63, allocations: 409.4 MB / 0.684 GB, free: 0.9258 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0004758/0.000476, allocations: 8 kB / 0.8378 GB, free: 6.551 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8033/0.8037, allocations: 146.8 MB / 0.9811 GB, free: 6.312 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU): time 0.9145/1.718, allocations: 325.7 MB / 1.299 GB, free: 11.3 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.04171/1.76, allocations: 29.99 MB / 1.328 GB, free: 10.74 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.008351/1.768, allocations: 148.3 kB / 1.329 GB, free: 10.74 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.007292/1.776, allocations: 1.819 MB / 1.33 GB, free: 10.71 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.02171/1.798, allocations: 6.101 MB / 1.336 GB, free: 10.45 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.01038/1.808, allocations: 3.044 MB / 1.339 GB, free: 10.28 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.01918/1.827, allocations: 13.97 MB / 1.353 GB, free: 10.26 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00915/1.836, allocations: 3.363 MB / 1.356 GB, free: 25.88 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01588/1.852, allocations: 5.657 MB / 1.362 GB, free: 25.82 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009028/1.861, allocations: 3.671 MB / 1.365 GB, free: 25.8 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.002656/1.864, allocations: 210.6 kB / 1.366 GB, free: 25.8 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01267/1.877, allocations: 3.404 MB / 1.369 GB, free: 25.37 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.003192/1.88, allocations: 1.146 MB / 1.37 GB, free: 25.03 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.003512/1.883, allocations: 1.068 MB / 1.371 GB, free: 24.91 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.01026/1.894, allocations: 6.371 MB / 1.377 GB, free: 21.68 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 8.506e-06/1.894, allocations: 0 / 1.377 GB, free: 21.68 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.675e-06/1.894, allocations: 3.938 kB / 1.377 GB, free: 21.67 MB / 1.014 GB Notification: Performance of Transformations before backend: time 0.0003073/1.894, allocations: 0 / 1.377 GB, free: 21.67 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.01528/1.909, allocations: 5.311 MB / 1.382 GB, free: 18.52 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.817e-05/1.909, allocations: 9.594 kB / 1.382 GB, free: 18.52 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001471/1.911, allocations: 447.2 kB / 1.383 GB, free: 18.38 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01088/1.922, allocations: 2.217 MB / 1.385 GB, free: 17.5 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00946/1.931, allocations: 3.619 MB / 1.389 GB, free: 15.99 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002724/1.934, allocations: 0.9086 MB / 1.389 GB, free: 15.76 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001333/1.935, allocations: 347.6 kB / 1.39 GB, free: 15.76 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01329/1.949, allocations: 4.871 MB / 1.395 GB, free: 14.41 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.498e-05/1.949, allocations: 3.344 kB / 1.395 GB, free: 14.41 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000791/1.95, allocations: 135.4 kB / 1.395 GB, free: 14.41 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001673/1.95, allocations: 154.5 kB / 1.395 GB, free: 14.39 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01386/1.964, allocations: 5.522 MB / 1.4 GB, free: 13.35 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.03978/2.004, allocations: 19.72 MB / 1.42 GB, free: 13.73 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01026/2.014, allocations: 4.028 MB / 1.423 GB, free: 10.64 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005262/2.019, allocations: 2.113 MB / 1.426 GB, free: 9.102 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009976/2.02, allocations: 0.699 MB / 1.426 GB, free: 8.305 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006034/2.026, allocations: 2.39 MB / 1.429 GB, free: 6.461 MB / 1.029 GB Notification: Performance of pre-optimization done (n=247): time 7.504e-06/2.026, allocations: 0 / 1.429 GB, free: 6.461 MB / 1.029 GB Notification: Performance of matching and sorting (n=247): time 0.01811/2.044, allocations: 6.039 MB / 1.434 GB, free: 1.758 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.587e-05/2.045, allocations: 103.1 kB / 1.435 GB, free: 1.637 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008826/2.053, allocations: 3.638 MB / 1.438 GB, free: 15 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 0.001094/2.055, allocations: 88.64 kB / 1.438 GB, free: 14.95 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.002444/2.057, allocations: 1.845 MB / 1.44 GB, free: 14.02 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.001786/2.059, allocations: 0.8299 MB / 1.441 GB, free: 13.3 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008037/2.06, allocations: 60.73 kB / 1.441 GB, free: 13.29 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0003565/2.06, allocations: 430.5 kB / 1.441 GB, free: 12.91 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005874/2.066, allocations: 1.979 MB / 1.443 GB, free: 11.44 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006856/2.073, allocations: 2.709 MB / 1.446 GB, free: 9.07 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00606/2.079, allocations: 2.115 MB / 1.448 GB, free: 7.539 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.274e-05/2.079, allocations: 4 kB / 1.448 GB, free: 7.535 MB / 1.045 GB Notification: Performance of matching and sorting (n=389) (initialization): time 0.01619/2.095, allocations: 5.127 MB / 1.453 GB, free: 3.543 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003656/2.096, allocations: 446.1 kB / 1.453 GB, free: 2.992 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.969e-05/2.096, allocations: 12 kB / 1.453 GB, free: 2.98 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.299e-05/2.096, allocations: 24 kB / 1.453 GB, free: 2.957 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007092/2.103, allocations: 1.225 MB / 1.455 GB, free: 1.762 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00393/2.107, allocations: 5.958 MB / 1.46 GB, free: 11.66 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006926/2.114, allocations: 0.8578 MB / 1.461 GB, free: 10.86 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009879/2.115, allocations: 156.3 kB / 1.461 GB, free: 10.73 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.464e-05/2.115, allocations: 4 kB / 1.461 GB, free: 10.73 MB / 1.061 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01439/2.129, allocations: 4.729 MB / 1.466 GB, free: 7.184 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.335e-05/2.129, allocations: 16.72 kB / 1.466 GB, free: 7.168 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.883e-05/2.129, allocations: 25.75 kB / 1.466 GB, free: 7.145 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005284/2.135, allocations: 1.076 MB / 1.467 GB, free: 6.094 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.989e-05/2.135, allocations: 35.92 kB / 1.467 GB, free: 6.059 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006976/2.142, allocations: 0.8054 MB / 1.468 GB, free: 5.305 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001039/2.143, allocations: 146.3 kB / 1.468 GB, free: 5.188 MB / 1.061 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.004076/2.147, allocations: 0.9128 MB / 1.469 GB, free: 4.637 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002695/2.15, allocations: 442.5 kB / 1.469 GB, free: 4.199 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01447/2.164, allocations: 4.829 MB / 1.474 GB, free: 0.5859 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.798e-05/2.164, allocations: 28 kB / 1.474 GB, free: 0.5586 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.827e-05/2.164, allocations: 3.984 kB / 1.474 GB, free: 0.5547 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.357e-05/2.164, allocations: 11.95 kB / 1.474 GB, free: 0.543 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02206/2.186, allocations: 9.243 MB / 1.483 GB, free: 9.898 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.836e-05/2.186, allocations: 8.125 kB / 1.483 GB, free: 9.891 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004311/2.191, allocations: 0.9047 MB / 1.484 GB, free: 9.008 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.185e-05/2.191, allocations: 16 kB / 1.484 GB, free: 8.992 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003399/2.191, allocations: 87.75 kB / 1.484 GB, free: 8.941 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003231/2.194, allocations: 5.93 MB / 1.49 GB, free: 2.867 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.835e-06/2.194, allocations: 11.94 kB / 1.49 GB, free: 2.855 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01238/2.207, allocations: 4.736 MB / 1.495 GB, free: 14.96 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003332/2.21, allocations: 0.9981 MB / 1.496 GB, free: 14.2 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001569/2.212, allocations: 54.17 kB / 1.496 GB, free: 14.18 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006263/2.218, allocations: 0.7229 MB / 1.496 GB, free: 13.5 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005294/2.219, allocations: 196.2 kB / 1.496 GB, free: 13.33 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005093/2.219, allocations: 128.7 kB / 1.497 GB, free: 13.22 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.005792/2.225, allocations: 2.396 MB / 1.499 GB, free: 11.54 MB / 1.092 GB Notification: Performance of sort global known variables: time 2.9e-07/2.225, allocations: 0 / 1.499 GB, free: 11.54 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.01/2.235, allocations: 2.299 MB / 1.501 GB, free: 9.398 MB / 1.092 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.01557/2.251, allocations: 5.916 MB / 1.507 GB, free: 4.434 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.02185/2.272, allocations: 7.457 MB / 1.514 GB, free: 13.06 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 1.74e-05/2.273, allocations: 4.5 kB / 1.514 GB, free: 13.05 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.006801/2.279, allocations: 2.362 MB / 1.517 GB, free: 10.69 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01345/2.293, allocations: 2.069 MB / 1.519 GB, free: 8.637 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08215/2.375, allocations: 32.46 MB / 1.55 GB, free: 5.965 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002746/2.378, allocations: 2.387 MB / 1.553 GB, free: 3.543 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.008356/2.386, allocations: 1.226 MB / 1.554 GB, free: 2.355 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003752/2.39, allocations: 1.889 MB / 1.556 GB, free: 476 kB / 1.139 GB Notification: Performance of SimCode: time 6.01e-07/2.39, allocations: 8 kB / 1.556 GB, free: 468 kB / 1.139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.193/2.583, allocations: 119.8 MB / 1.673 GB, free: 9.762 MB / 1.264 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002179/2.583, allocations: 278.1 kB / 1.673 GB, free: 9.402 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.545/8.129, allocations: 0 / 1.673 GB, free: 9.402 MB / 1.264 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