Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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: translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement") translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001202/0.001202, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001389/0.001389, allocations: 194.1 kB / 16.53 MB, free: 6.391 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.401/1.401, allocations: 222.9 MB / 240.2 MB, free: 4.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.796/2.796, allocations: 472.6 MB / 0.7451 GB, free: 4.656 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00127/0.00127, allocations: 64.06 kB / 0.912 GB, free: 33.46 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3789/0.3802, allocations: 159.9 MB / 1.068 GB, free: 10.43 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement): time 0.00383/0.3841, allocations: 1.269 MB / 1.069 GB, free: 9.141 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.002467/0.3866, allocations: 1.435 MB / 1.071 GB, free: 7.699 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.896e-05/0.3867, allocations: 4 kB / 1.071 GB, free: 7.695 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.635e-05/0.3867, allocations: 0 / 1.071 GB, free: 7.695 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0002284/0.387, allocations: 15.92 kB / 1.071 GB, free: 7.68 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007971/0.3878, allocations: 214.3 kB / 1.071 GB, free: 7.473 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 7.221e-05/0.3879, allocations: 31.91 kB / 1.071 GB, free: 7.441 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 4.342e-05/0.3879, allocations: 0 / 1.071 GB, free: 7.441 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001003/0.388, allocations: 23.92 kB / 1.071 GB, free: 7.418 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000114/0.3881, allocations: 11.98 kB / 1.071 GB, free: 7.406 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.36e-05/0.3882, allocations: 0 / 1.071 GB, free: 7.406 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003038/0.3885, allocations: 151.8 kB / 1.071 GB, free: 7.258 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.386e-05/0.3885, allocations: 3.984 kB / 1.071 GB, free: 7.254 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.695e-05/0.3885, allocations: 7.938 kB / 1.071 GB, free: 7.246 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002767/0.3888, allocations: 147.7 kB / 1.071 GB, free: 7.102 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.3888, allocations: 0 / 1.071 GB, free: 7.102 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.964e-06/0.3888, allocations: 0 / 1.071 GB, free: 7.102 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.431e-06/0.3888, allocations: 0 / 1.071 GB, free: 7.102 MB / 0.8262 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0003842/0.3892, allocations: 373.7 kB / 1.072 GB, free: 6.691 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.685e-05/0.3893, allocations: 8.031 kB / 1.072 GB, free: 6.684 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.661e-05/0.3894, allocations: 84.12 kB / 1.072 GB, free: 6.602 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001747/0.3895, allocations: 243.7 kB / 1.072 GB, free: 6.324 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.689e-05/0.3896, allocations: 158.9 kB / 1.072 GB, free: 6.168 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.125e-05/0.3897, allocations: 158.7 kB / 1.072 GB, free: 6.012 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.299e-05/0.3898, allocations: 101 kB / 1.072 GB, free: 5.906 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.563e-05/0.3898, allocations: 83.28 kB / 1.073 GB, free: 5.824 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.667e-05/0.3898, allocations: 154.5 kB / 1.073 GB, free: 5.672 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.775e-05/0.3899, allocations: 158.5 kB / 1.073 GB, free: 5.516 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.121e-05/0.39, allocations: 150.6 kB / 1.073 GB, free: 5.367 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003092/0.3903, allocations: 453.9 kB / 1.073 GB, free: 4.875 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 8.468e-05/0.3904, allocations: 169.1 kB / 1.074 GB, free: 4.699 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.643e-05/0.3904, allocations: 88.08 kB / 1.074 GB, free: 4.609 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.638e-05/0.3904, allocations: 79.28 kB / 1.074 GB, free: 4.531 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.866e-05/0.3905, allocations: 113.8 kB / 1.074 GB, free: 4.41 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=0): time 1.363e-06/0.3905, allocations: 0 / 1.074 GB, free: 4.41 MB / 0.8262 GB Notification: Performance of matching and sorting (n=0): time 9.161e-05/0.3906, allocations: 33.69 kB / 1.074 GB, free: 4.371 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.469e-05/0.3907, allocations: 126.7 kB / 1.074 GB, free: 4.234 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001152/0.3908, allocations: 105.8 kB / 1.074 GB, free: 4.121 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.523e-05/0.3908, allocations: 25.7 kB / 1.074 GB, free: 4.09 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 4.765e-05/0.3909, allocations: 84.14 kB / 1.074 GB, free: 4.004 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.285e-06/0.3909, allocations: 0 / 1.074 GB, free: 4.004 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.104e-05/0.3909, allocations: 17.72 kB / 1.074 GB, free: 3.98 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001193/0.391, allocations: 326.8 kB / 1.075 GB, free: 3.652 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.381e-05/0.3911, allocations: 0 / 1.075 GB, free: 3.652 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.541e-05/0.3911, allocations: 30.5 kB / 1.075 GB, free: 3.613 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.673e-05/0.3912, allocations: 22.58 kB / 1.075 GB, free: 3.582 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.3912, allocations: 256 / 1.075 GB, free: 3.582 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001584/0.3913, allocations: 61.47 kB / 1.075 GB, free: 3.516 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.865e-05/0.3914, allocations: 8 kB / 1.075 GB, free: 3.508 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.286e-06/0.3914, allocations: 4 kB / 1.075 GB, free: 3.504 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.419e-05/0.3914, allocations: 0 / 1.075 GB, free: 3.504 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.446e-05/0.3915, allocations: 7.938 kB / 1.075 GB, free: 3.496 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.534e-06/0.3915, allocations: 4 kB / 1.075 GB, free: 3.492 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001513/0.3917, allocations: 7.984 kB / 1.075 GB, free: 3.484 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.678e-06/0.3917, allocations: 0 / 1.075 GB, free: 3.484 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001014/0.3918, allocations: 189.2 kB / 1.075 GB, free: 3.289 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.325e-05/0.3918, allocations: 108.9 kB / 1.075 GB, free: 3.176 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.444e-05/0.3919, allocations: 119.8 kB / 1.075 GB, free: 3.051 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.001e-05/0.392, allocations: 180.2 kB / 1.075 GB, free: 2.867 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.419e-05/0.392, allocations: 176.3 kB / 1.075 GB, free: 2.688 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.932e-05/0.3921, allocations: 184.2 kB / 1.076 GB, free: 2.5 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002122/0.3923, allocations: 409.2 kB / 1.076 GB, free: 2.043 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.368e-05/0.3924, allocations: 104.9 kB / 1.076 GB, free: 1.934 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.38e-05/0.3924, allocations: 105 kB / 1.076 GB, free: 1.824 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.539e-05/0.3925, allocations: 180.3 kB / 1.076 GB, free: 1.641 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.828e-05/0.3925, allocations: 180.2 kB / 1.077 GB, free: 1.457 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.655e-05/0.3926, allocations: 188.2 kB / 1.077 GB, free: 1.266 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.698e-05/0.3927, allocations: 184.2 kB / 1.077 GB, free: 1.078 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001285/0.3928, allocations: 307.6 kB / 1.077 GB, free: 0.7539 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 7.147e-05/0.3929, allocations: 186.1 kB / 1.077 GB, free: 0.5469 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.155e-05/0.3929, allocations: 180.3 kB / 1.078 GB, free: 372 kB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.583e-05/0.393, allocations: 104.9 kB / 1.078 GB, free: 260 kB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.875e-05/0.3931, allocations: 180.3 kB / 1.078 GB, free: 72 kB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.41e-05/0.3932, allocations: 104.9 kB / 1.078 GB, free: 15.96 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 5.231e-05/0.3932, allocations: 87.27 kB / 1.078 GB, free: 15.88 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1e-07/0.3932, allocations: 0 / 1.078 GB, free: 15.88 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003384/0.3936, allocations: 55.92 kB / 1.078 GB, free: 15.82 MB / 0.8419 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005728/0.3941, allocations: 347.4 kB / 1.078 GB, free: 15.51 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 9.009e-05/0.3942, allocations: 8 kB / 1.078 GB, free: 15.5 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.3943, allocations: 0 / 1.078 GB, free: 15.5 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 3.968e-06/0.3943, allocations: 4 kB / 1.078 GB, free: 15.5 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003565/0.3946, allocations: 463.8 kB / 1.079 GB, free: 15.04 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002693/0.3949, allocations: 180.2 kB / 1.079 GB, free: 14.84 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000229/0.3951, allocations: 0.6729 MB / 1.08 GB, free: 14.14 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 3.081e-05/0.3952, allocations: 0 / 1.08 GB, free: 14.14 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.911e-05/0.3952, allocations: 11.44 kB / 1.08 GB, free: 14.13 MB / 0.8419 GB Notification: Performance of SimCode: time 3e-07/0.3952, allocations: 0 / 1.08 GB, free: 14.13 MB / 0.8419 GB Notification: Performance of Templates: time 0.00447/0.3997, allocations: 1.62 MB / 1.081 GB, free: 12.52 MB / 0.8419 GB make -j1 -f Buildings_1.6_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.makefile (rm -f Buildings_1.6_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe ; mkfifo Buildings_1.6_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe ; head -c 1048576 < Buildings_1.6_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe >> ../files/Buildings_1.6_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.sim & ./Buildings_1.6_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe 2>&1)