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/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.564/2.564, allocations: 390.3 MB / 405.3 MB, free: 13.4 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002006/0.002006, allocations: 188.1 kB / 498.1 MB, free: 5.68 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.637/1.637, allocations: 223.2 MB / 0.7948 GB, free: 17.76 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009828/0.0009827, allocations: 96.33 kB / 0.9346 GB, free: 6.082 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003801/0.0003798, allocations: 11.58 kB / 1.084 GB, free: 221.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2994/0.2998, allocations: 142.3 MB / 1.223 GB, free: 114.1 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.059/5.359, allocations: 2.188 GB / 3.411 GB, free: 296.3 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002604/5.359, allocations: 97 kB / 3.411 GB, free: 296.2 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 12.86/18.22, allocations: 3.411 GB / 6.822 GB, free: 77.88 MB / 1.276 GB Notification: Performance of FrontEnd: time 2.535e-06/18.22, allocations: 0 / 6.822 GB, free: 77.88 MB / 1.276 GB Notification: Performance of Transformations before backend: time 0.0008269/18.22, allocations: 114.6 kB / 6.822 GB, free: 77.86 MB / 1.276 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.03102/18.25, allocations: 6.44 MB / 6.829 GB, free: 74.86 MB / 1.276 GB Notification: Performance of prepare preOptimizeDAE: time 6.612e-05/18.25, allocations: 11 kB / 6.829 GB, free: 74.86 MB / 1.276 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003239/18.25, allocations: 434 kB / 6.829 GB, free: 74.79 MB / 1.276 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01522/18.27, allocations: 2.044 MB / 6.831 GB, free: 74.14 MB / 1.276 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01777/18.29, allocations: 4.283 MB / 6.835 GB, free: 72.29 MB / 1.276 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.003136/18.29, allocations: 0.912 MB / 6.836 GB, free: 72.04 MB / 1.276 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001971/18.29, allocations: 344.7 kB / 6.836 GB, free: 71.81 MB / 1.276 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01311/18.3, allocations: 4.903 MB / 6.841 GB, free: 68.26 MB / 1.276 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.059e-05/18.3, allocations: 0 / 6.841 GB, free: 68.26 MB / 1.276 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005153/18.3, allocations: 129.2 kB / 6.841 GB, free: 68.17 MB / 1.276 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001718/18.3, allocations: 154 kB / 6.841 GB, free: 68.02 MB / 1.276 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01429/18.32, allocations: 5.309 MB / 6.847 GB, free: 62.7 MB / 1.276 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.04254/18.36, allocations: 20.09 MB / 6.866 GB, free: 41.34 MB / 1.276 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0104/18.37, allocations: 4.171 MB / 6.87 GB, free: 37.17 MB / 1.276 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009018/18.37, allocations: 0.6968 MB / 6.871 GB, free: 36.34 MB / 1.276 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005991/18.38, allocations: 2.485 MB / 6.873 GB, free: 33.84 MB / 1.276 GB Notification: Performance of pre-optimization done (n=251): time 4.679e-06/18.38, allocations: 0 / 6.873 GB, free: 33.84 MB / 1.276 GB Notification: Performance of matching and sorting (n=251): time 0.01714/18.4, allocations: 6.276 MB / 6.88 GB, free: 27.56 MB / 1.276 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.597e-05/18.4, allocations: 105.2 kB / 6.88 GB, free: 27.44 MB / 1.276 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005784/18.4, allocations: 3.169 MB / 6.883 GB, free: 24.27 MB / 1.276 GB Notification: Performance of collectPreVariables (initialization): time 0.001266/18.4, allocations: 93.7 kB / 6.883 GB, free: 24.17 MB / 1.276 GB Notification: Performance of collectInitialEqns (initialization): time 0.001767/18.41, allocations: 1.854 MB / 6.885 GB, free: 22.29 MB / 1.276 GB Notification: Performance of collectInitialBindings (initialization): time 0.001396/18.41, allocations: 0.8432 MB / 6.886 GB, free: 21.44 MB / 1.276 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002345/18.41, allocations: 60 kB / 6.886 GB, free: 21.38 MB / 1.276 GB Notification: Performance of setup shared object (initialization): time 0.0001561/18.41, allocations: 424.6 kB / 6.886 GB, free: 20.96 MB / 1.276 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005111/18.41, allocations: 2.083 MB / 6.888 GB, free: 18.87 MB / 1.276 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006233/18.42, allocations: 2.854 MB / 6.891 GB, free: 15.74 MB / 1.276 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005815/18.42, allocations: 2.215 MB / 6.893 GB, free: 13.5 MB / 1.276 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.505e-05/18.42, allocations: 4 kB / 6.893 GB, free: 13.5 MB / 1.276 GB Notification: Performance of matching and sorting (n=404) (initialization): time 0.01618/18.44, allocations: 5.367 MB / 6.898 GB, free: 8.09 MB / 1.276 GB Notification: Performance of prepare postOptimizeDAE: time 0.001756/18.44, allocations: 5.241 MB / 6.903 GB, free: 2.527 MB / 1.276 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.953e-05/18.44, allocations: 15.98 kB / 6.903 GB, free: 2.512 MB / 1.276 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.993e-05/18.44, allocations: 28 kB / 6.903 GB, free: 2.484 MB / 1.276 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007764/18.45, allocations: 1.208 MB / 6.905 GB, free: 1.285 MB / 1.276 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003633/18.45, allocations: 5.978 MB / 6.91 GB, free: 11.07 MB / 1.292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008737/18.46, allocations: 0.8746 MB / 6.911 GB, free: 10.2 MB / 1.292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001398/18.46, allocations: 167.9 kB / 6.911 GB, free: 10.03 MB / 1.292 GB Notification: Performance of prepare postOptimizeDAE: time 2.349e-05/18.46, allocations: 4 kB / 6.911 GB, free: 10.03 MB / 1.292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01451/18.48, allocations: 4.96 MB / 6.916 GB, free: 5.031 MB / 1.292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.876e-05/18.48, allocations: 12.53 kB / 6.916 GB, free: 5.02 MB / 1.292 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.52e-05/18.48, allocations: 28 kB / 6.916 GB, free: 4.992 MB / 1.292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006081/18.49, allocations: 1.127 MB / 6.917 GB, free: 3.863 MB / 1.292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.909e-05/18.49, allocations: 35.92 kB / 6.917 GB, free: 3.828 MB / 1.292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007836/18.49, allocations: 0.8245 MB / 6.918 GB, free: 3 MB / 1.292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001198/18.49, allocations: 167.9 kB / 6.918 GB, free: 2.836 MB / 1.292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 52 * 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 (403): * Single equations (assignments): 392 * 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.00435/18.5, allocations: 0.9184 MB / 6.919 GB, free: 1.91 MB / 1.292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002293/18.5, allocations: 434.6 kB / 6.92 GB, free: 1.48 MB / 1.292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01431/18.52, allocations: 5.034 MB / 6.925 GB, free: 12.39 MB / 1.307 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.379e-05/18.52, allocations: 28 kB / 6.925 GB, free: 12.37 MB / 1.307 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.231e-05/18.52, allocations: 0 / 6.925 GB, free: 12.37 MB / 1.307 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.878e-05/18.52, allocations: 23.83 kB / 6.925 GB, free: 12.34 MB / 1.307 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02862/18.54, allocations: 9.464 MB / 6.934 GB, free: 2.699 MB / 1.307 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.714e-05/18.54, allocations: 8 kB / 6.934 GB, free: 2.691 MB / 1.307 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005331/18.55, allocations: 0.9278 MB / 6.935 GB, free: 1.773 MB / 1.307 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.224e-05/18.55, allocations: 12 kB / 6.935 GB, free: 1.762 MB / 1.307 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007366/18.55, allocations: 91.91 kB / 6.935 GB, free: 1.672 MB / 1.307 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.117/19.67, allocations: 5.933 MB / 6.941 GB, free: 122.1 MB / 1.307 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.906e-06/19.67, allocations: 7.375 kB / 6.941 GB, free: 122.1 MB / 1.307 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01684/19.68, allocations: 5.458 MB / 6.946 GB, free: 120.9 MB / 1.307 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005013/19.69, allocations: 1.013 MB / 6.947 GB, free: 120.8 MB / 1.307 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001892/19.69, allocations: 53.38 kB / 6.947 GB, free: 120.8 MB / 1.307 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007333/19.7, allocations: 0.6332 MB / 6.948 GB, free: 120.8 MB / 1.307 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007647/19.7, allocations: 195.3 kB / 6.948 GB, free: 120.8 MB / 1.307 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005529/19.7, allocations: 137.8 kB / 6.948 GB, free: 120.8 MB / 1.307 GB Notification: Performance of sorting global known variables: time 0.006666/19.71, allocations: 2.387 MB / 6.95 GB, free: 120.7 MB / 1.307 GB Notification: Performance of sort global known variables: time 4.21e-07/19.71, allocations: 1.594 kB / 6.95 GB, free: 120.7 MB / 1.307 GB Notification: Performance of remove unused functions: time 0.01679/19.72, allocations: 2.839 MB / 6.953 GB, free: 120.6 MB / 1.307 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.02962/19.75, allocations: 13.42 MB / 6.966 GB, free: 114.6 MB / 1.307 GB Notification: Performance of simCode: created initialization part: time 0.02416/19.78, allocations: 7.719 MB / 6.974 GB, free: 114.4 MB / 1.307 GB Notification: Performance of simCode: created event and clocks part: time 1.577e-05/19.78, allocations: 0.875 kB / 6.974 GB, free: 114.4 MB / 1.307 GB Notification: Performance of simCode: created simulation system equations: time 0.007767/19.79, allocations: 2.47 MB / 6.976 GB, free: 114.4 MB / 1.307 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01243/19.8, allocations: 2.004 MB / 6.978 GB, free: 114.4 MB / 1.307 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03953/19.84, allocations: 19.69 MB / 6.997 GB, free: 101.3 MB / 1.307 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004977/19.84, allocations: 2.466 MB / 7 GB, free: 100.5 MB / 1.307 GB Notification: Performance of simCode: alias equations: time 0.01149/19.85, allocations: 1.301 MB / 7.001 GB, free: 100.5 MB / 1.307 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005385/19.86, allocations: 1.903 MB / 7.003 GB, free: 100.5 MB / 1.307 GB Notification: Performance of SimCode: time 1.393e-06/19.86, allocations: 0.9375 kB / 7.003 GB, free: 100.5 MB / 1.307 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.323/20.18, allocations: 185.7 MB / 7.184 GB, free: 92.52 MB / 1.307 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000193/20.18, allocations: 276.2 kB / 7.185 GB, free: 92.16 MB / 1.307 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.448/29.63, allocations: 0 / 7.185 GB, free: 92.16 MB / 1.307 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