Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_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 9.1.1-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.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.DryCoilEffectivenessNTU,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatExchangers_Validation_DryCoilEffectivenessNTU",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU,fileNamePrefix="Buildings_9_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.0009918/0.0009918, allocations: 99.62 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.000963/0.0009629, 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.368/1.368, allocations: 223.2 MB / 239.9 MB, free: 5.445 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.295/2.295, allocations: 390.3 MB / 0.6653 GB, free: 2.992 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003386/0.0003387, allocations: 8 kB / 0.8146 GB, free: 14.23 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.672/0.6723, allocations: 142.3 MB / 0.9536 GB, free: 8.102 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU): time 0.3097/0.9821, allocations: 290.9 MB / 1.238 GB, free: 12.57 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.8128/1.795, allocations: 29.4 MB / 1.266 GB, free: 12.53 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.008919/1.804, allocations: 137.9 kB / 1.267 GB, free: 12.53 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0102/1.814, allocations: 2.295 MB / 1.269 GB, free: 12.52 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.02945/1.844, allocations: 7.728 MB / 1.276 GB, free: 12.42 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.01042/1.854, allocations: 3.231 MB / 1.279 GB, free: 12.3 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0204/1.874, allocations: 7.309 MB / 1.287 GB, free: 12.29 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009616/1.884, allocations: 3.515 MB / 1.29 GB, free: 11.9 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01602/1.9, allocations: 5.038 MB / 1.295 GB, free: 11.88 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007393/1.908, allocations: 2.714 MB / 1.298 GB, free: 11.86 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.001832/1.909, allocations: 211 kB / 1.298 GB, free: 11.86 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01134/1.921, allocations: 3.125 MB / 1.301 GB, free: 11.86 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.00304/1.924, allocations: 1.071 MB / 1.302 GB, free: 11.86 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.004307/1.928, allocations: 1.067 MB / 1.303 GB, free: 27.82 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.01257/1.941, allocations: 6.126 MB / 1.309 GB, free: 27.35 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/1.941, allocations: 0 / 1.309 GB, free: 27.35 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.354e-06/1.941, allocations: 0 / 1.309 GB, free: 27.35 MB / 1.014 GB Notification: Performance of Transformations before backend: time 0.0003092/1.941, allocations: 2.812 kB / 1.309 GB, free: 27.35 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.01731/1.959, allocations: 5.249 MB / 1.314 GB, free: 24.96 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.357e-05/1.959, allocations: 11.5 kB / 1.314 GB, free: 24.96 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002114/1.961, allocations: 439.1 kB / 1.315 GB, free: 24.9 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0119/1.973, allocations: 2.234 MB / 1.317 GB, free: 24.5 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009441/1.982, allocations: 3.502 MB / 1.32 GB, free: 23.84 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.003213/1.985, allocations: 0.9135 MB / 1.321 GB, free: 23.77 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001797/1.987, allocations: 346.2 kB / 1.321 GB, free: 23.77 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01399/2.001, allocations: 4.87 MB / 1.326 GB, free: 23.39 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.432e-05/2.001, allocations: 2.531 kB / 1.326 GB, free: 23.39 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004584/2.002, allocations: 135.2 kB / 1.326 GB, free: 23.39 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001306/2.002, allocations: 148.8 kB / 1.326 GB, free: 23.38 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01489/2.017, allocations: 5.576 MB / 1.332 GB, free: 22.33 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.03926/2.056, allocations: 19.81 MB / 1.351 GB, free: 10.55 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01213/2.068, allocations: 4.138 MB / 1.355 GB, free: 9.672 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001061/2.069, allocations: 0.5247 MB / 1.356 GB, free: 9.168 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006961/2.076, allocations: 2.399 MB / 1.358 GB, free: 8.453 MB / 1.014 GB Notification: Performance of pre-optimization done (n=251): time 7.484e-06/2.076, allocations: 0 / 1.358 GB, free: 8.453 MB / 1.014 GB Notification: Performance of matching and sorting (n=251): time 0.02704/2.103, allocations: 6.107 MB / 1.364 GB, free: 7.059 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001015/2.104, allocations: 108.7 kB / 1.364 GB, free: 6.961 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009444/2.113, allocations: 3.64 MB / 1.368 GB, free: 6.047 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.00109/2.114, allocations: 90.67 kB / 1.368 GB, free: 6.016 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.002712/2.117, allocations: 1.849 MB / 1.37 GB, free: 5.316 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.001743/2.119, allocations: 0.8374 MB / 1.37 GB, free: 4.695 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007886/2.12, allocations: 64.78 kB / 1.37 GB, free: 4.695 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0003917/2.12, allocations: 424.5 kB / 1.371 GB, free: 4.348 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008967/2.129, allocations: 1.998 MB / 1.373 GB, free: 3.941 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007703/2.137, allocations: 2.721 MB / 1.375 GB, free: 2.789 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006403/2.143, allocations: 2.127 MB / 1.378 GB, free: 2.387 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.508e-05/2.143, allocations: 2.219 kB / 1.378 GB, free: 2.387 MB / 1.014 GB Notification: Performance of matching and sorting (n=389) (initialization): time 0.01659/2.16, allocations: 5.159 MB / 1.383 GB, free: 324 kB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 0.001811/2.162, allocations: 4.762 MB / 1.387 GB, free: 11.38 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.502e-05/2.162, allocations: 8 kB / 1.387 GB, free: 11.38 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.109e-05/2.162, allocations: 32 kB / 1.387 GB, free: 11.34 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007258/2.169, allocations: 1.222 MB / 1.388 GB, free: 10.19 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003586/2.173, allocations: 5.958 MB / 1.394 GB, free: 4.109 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007049/2.18, allocations: 0.8508 MB / 1.395 GB, free: 3.309 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001083/2.181, allocations: 148.9 kB / 1.395 GB, free: 3.188 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.965e-05/2.181, allocations: 7.938 kB / 1.395 GB, free: 3.18 MB / 1.029 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01568/2.197, allocations: 4.757 MB / 1.4 GB, free: 15.67 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.796e-05/2.197, allocations: 12 kB / 1.4 GB, free: 15.66 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.63e-05/2.197, allocations: 24 kB / 1.4 GB, free: 15.63 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005704/2.202, allocations: 1.088 MB / 1.401 GB, free: 14.61 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.654e-05/2.203, allocations: 35 kB / 1.401 GB, free: 14.58 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007444/2.21, allocations: 0.8041 MB / 1.402 GB, free: 13.83 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001375/2.211, allocations: 156.9 kB / 1.402 GB, free: 13.7 MB / 1.045 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 47 * Number of states: 0 () * Number of discrete variables: 15 (hexCroUnm.flowRegime,$whenCondition1,hexPar.flowRegime,hexCou.flowRegime,hexCroC1Mix.flowRegime,hexCroC1Unm.flowRegime,$PRE.trapezoid.T_start,trapezoid.T_start,$PRE.trapezoid.count,trapezoid.count,hexPar.flowRegime_nominal,hexCou.flowRegime_nominal,hexCroC1Mix.flowRegime_nominal,hexCroC1Unm.flowRegime_nominal,hexCroUnm.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.003693/2.215, allocations: 0.9115 MB / 1.403 GB, free: 13.19 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001855/2.217, allocations: 438.6 kB / 1.403 GB, free: 12.76 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01472/2.232, allocations: 4.891 MB / 1.408 GB, free: 9.09 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.06e-05/2.232, allocations: 28 kB / 1.408 GB, free: 9.062 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.733e-05/2.232, allocations: 4 kB / 1.408 GB, free: 9.059 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.125e-05/2.232, allocations: 15.91 kB / 1.408 GB, free: 9.043 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02724/2.259, allocations: 9.335 MB / 1.417 GB, free: 2.352 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.218e-05/2.259, allocations: 4 kB / 1.417 GB, free: 2.348 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005321/2.265, allocations: 0.9037 MB / 1.418 GB, free: 1.496 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.479e-05/2.265, allocations: 12 kB / 1.418 GB, free: 1.484 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007063/2.265, allocations: 94.92 kB / 1.418 GB, free: 1.426 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003177/2.269, allocations: 5.935 MB / 1.424 GB, free: 11.36 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.01e-05/2.269, allocations: 6.906 kB / 1.424 GB, free: 11.36 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01577/2.284, allocations: 5.335 MB / 1.429 GB, free: 6.738 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003583/2.288, allocations: 1.02 MB / 1.43 GB, free: 5.961 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001635/2.29, allocations: 52.86 kB / 1.43 GB, free: 5.945 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005934/2.296, allocations: 0.6106 MB / 1.431 GB, free: 5.371 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007033/2.296, allocations: 198.5 kB / 1.431 GB, free: 5.203 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006923/2.297, allocations: 126.8 kB / 1.431 GB, free: 5.098 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.004832/2.302, allocations: 2.4 MB / 1.434 GB, free: 3.414 MB / 1.061 GB Notification: Performance of sort global known variables: time 2.41e-07/2.302, allocations: 0 / 1.434 GB, free: 3.414 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.009196/2.311, allocations: 2.305 MB / 1.436 GB, free: 1.27 MB / 1.061 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,hexPar.flowRegime,hexCou.flowRegime,hexCroC1Mix.flowRegime,hexCroC1Unm.flowRegime,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 (283): * Single equations (assignments): 269 * 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.0173/2.328, allocations: 7.53 MB / 1.443 GB, free: 10.69 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.02523/2.354, allocations: 7.525 MB / 1.45 GB, free: 4.914 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.616e-05/2.354, allocations: 0 / 1.45 GB, free: 4.914 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.007887/2.362, allocations: 2.43 MB / 1.453 GB, free: 3.098 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01208/2.374, allocations: 2.035 MB / 1.455 GB, free: 1.422 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03425/2.408, allocations: 18.76 MB / 1.473 GB, free: 15.28 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003879/2.412, allocations: 2.472 MB / 1.476 GB, free: 12.84 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.00978/2.422, allocations: 1.24 MB / 1.477 GB, free: 11.64 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004601/2.427, allocations: 1.892 MB / 1.479 GB, free: 11.17 MB / 1.107 GB Notification: Performance of SimCode: time 9.12e-07/2.427, allocations: 0 / 1.479 GB, free: 11.17 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1852/2.612, allocations: 118.3 MB / 1.594 GB, free: 6.168 MB / 1.217 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002291/2.612, allocations: 269.2 kB / 1.594 GB, free: 5.809 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.806/8.418, allocations: 0 / 1.594 GB, free: 5.809 MB / 1.217 GB (rm -f Buildings_9_Buildings.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_HeatExchangers_Validation_DryCoilEffectivenessNTU_fmu --startTime=0 --stopTime=360 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_HeatExchangers_Validation_DryCoilEffectivenessNTU.fmu > Buildings_9_Buildings.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU_res.mat does not exist to compare? outputFormat=mat