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.001447/0.001447, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.002274/0.002274, allocations: 192.2 kB / 16.13 MB, free: 6.656 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.469/1.469, allocations: 222.9 MB / 239.8 MB, free: 4.586 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.956/2.956, allocations: 472.6 MB / 0.7447 GB, free: 4.941 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001426/0.001426, allocations: 71.33 kB / 0.9114 GB, free: 33.54 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3829/0.3843, allocations: 159.9 MB / 1.068 GB, free: 10.93 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement): time 0.002408/0.3868, allocations: 1.337 MB / 1.069 GB, free: 9.582 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.002115/0.3889, allocations: 1.423 MB / 1.07 GB, free: 8.152 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.985e-05/0.3889, allocations: 0 / 1.07 GB, free: 8.152 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.281e-05/0.389, allocations: 0 / 1.07 GB, free: 8.152 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.000176/0.3892, allocations: 15.98 kB / 1.07 GB, free: 8.137 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005395/0.3897, allocations: 190 kB / 1.07 GB, free: 7.957 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 4.975e-05/0.3898, allocations: 23.92 kB / 1.07 GB, free: 7.934 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 4.129e-05/0.3898, allocations: 8 kB / 1.07 GB, free: 7.926 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 8.572e-05/0.3899, allocations: 23.91 kB / 1.07 GB, free: 7.902 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001098/0.39, allocations: 8 kB / 1.07 GB, free: 7.895 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.609e-05/0.3901, allocations: 4 kB / 1.07 GB, free: 7.891 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002417/0.3903, allocations: 147.8 kB / 1.071 GB, free: 7.746 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.218e-05/0.3903, allocations: 0 / 1.071 GB, free: 7.746 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.776e-05/0.3904, allocations: 15.88 kB / 1.071 GB, free: 7.73 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002419/0.3906, allocations: 151.7 kB / 1.071 GB, free: 7.582 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 6.412e-06/0.3906, allocations: 0 / 1.071 GB, free: 7.582 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.373e-06/0.3906, allocations: 0 / 1.071 GB, free: 7.582 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.659e-06/0.3906, allocations: 4 kB / 1.071 GB, free: 7.578 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.000365/0.391, allocations: 367.8 kB / 1.071 GB, free: 7.172 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.954e-05/0.3911, allocations: 8.031 kB / 1.071 GB, free: 7.164 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.732e-05/0.3911, allocations: 84.12 kB / 1.071 GB, free: 7.082 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001664/0.3913, allocations: 239.6 kB / 1.071 GB, free: 6.809 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.417e-05/0.3914, allocations: 154.9 kB / 1.072 GB, free: 6.656 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.195e-05/0.3914, allocations: 162.7 kB / 1.072 GB, free: 6.496 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.356e-05/0.3915, allocations: 105 kB / 1.072 GB, free: 6.387 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.286e-05/0.3916, allocations: 75.28 kB / 1.072 GB, free: 6.312 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.026e-05/0.3916, allocations: 154.6 kB / 1.072 GB, free: 6.16 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.519e-05/0.3917, allocations: 154.5 kB / 1.072 GB, free: 6.008 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.875e-05/0.3917, allocations: 150.6 kB / 1.072 GB, free: 5.859 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002833/0.392, allocations: 457.9 kB / 1.073 GB, free: 5.363 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 7.766e-05/0.3921, allocations: 169.1 kB / 1.073 GB, free: 5.188 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.446e-05/0.3921, allocations: 84.08 kB / 1.073 GB, free: 5.102 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.469e-05/0.3922, allocations: 79.22 kB / 1.073 GB, free: 5.023 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.432e-05/0.3922, allocations: 113.8 kB / 1.073 GB, free: 4.902 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=0): time 9.92e-07/0.3922, allocations: 0 / 1.073 GB, free: 4.902 MB / 0.8262 GB Notification: Performance of matching and sorting (n=0): time 7.742e-05/0.3923, allocations: 25.7 kB / 1.073 GB, free: 4.871 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.778e-05/0.3924, allocations: 126.7 kB / 1.073 GB, free: 4.734 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001082/0.3925, allocations: 105.8 kB / 1.073 GB, free: 4.621 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.634e-05/0.3925, allocations: 25.7 kB / 1.073 GB, free: 4.59 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 4.226e-05/0.3926, allocations: 88.14 kB / 1.074 GB, free: 4.5 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.335e-06/0.3926, allocations: 0 / 1.074 GB, free: 4.5 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.667e-05/0.3926, allocations: 25.7 kB / 1.074 GB, free: 4.469 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001105/0.3927, allocations: 310.8 kB / 1.074 GB, free: 4.156 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.372e-05/0.3927, allocations: 4 kB / 1.074 GB, free: 4.152 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.595e-05/0.3928, allocations: 34.5 kB / 1.074 GB, free: 4.109 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.91e-05/0.3928, allocations: 22.58 kB / 1.074 GB, free: 4.078 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.3928, allocations: 0 / 1.074 GB, free: 4.078 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001294/0.393, allocations: 57.47 kB / 1.074 GB, free: 4.016 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.493e-05/0.393, allocations: 8 kB / 1.074 GB, free: 4.008 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.867e-06/0.393, allocations: 0 / 1.074 GB, free: 4.008 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.899e-06/0.393, allocations: 0 / 1.074 GB, free: 4.008 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.14e-05/0.3931, allocations: 7.938 kB / 1.074 GB, free: 4 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.184e-06/0.3931, allocations: 4 kB / 1.074 GB, free: 3.996 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00015/0.3933, allocations: 8.078 kB / 1.074 GB, free: 3.988 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.357e-05/0.3933, allocations: 8 kB / 1.074 GB, free: 3.98 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.0001012/0.3934, allocations: 189.1 kB / 1.074 GB, free: 3.785 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.208e-05/0.3935, allocations: 108.9 kB / 1.074 GB, free: 3.672 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.517e-05/0.3935, allocations: 115.8 kB / 1.074 GB, free: 3.551 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.124e-05/0.3936, allocations: 180.3 kB / 1.075 GB, free: 3.367 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.282e-05/0.3937, allocations: 184.5 kB / 1.075 GB, free: 3.18 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.442e-05/0.3937, allocations: 180.2 kB / 1.075 GB, free: 2.996 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002181/0.394, allocations: 409.2 kB / 1.075 GB, free: 2.539 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.464e-05/0.394, allocations: 108.9 kB / 1.075 GB, free: 2.426 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.06e-05/0.394, allocations: 101 kB / 1.076 GB, free: 2.32 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.186e-05/0.3941, allocations: 184.3 kB / 1.076 GB, free: 2.133 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.857e-05/0.3942, allocations: 188.2 kB / 1.076 GB, free: 1.941 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.947e-05/0.3942, allocations: 176.3 kB / 1.076 GB, free: 1.762 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.959e-05/0.3943, allocations: 180.2 kB / 1.076 GB, free: 1.578 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001425/0.3944, allocations: 311.9 kB / 1.077 GB, free: 1.25 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 8.828e-05/0.3945, allocations: 190.1 kB / 1.077 GB, free: 1.039 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.466e-05/0.3946, allocations: 176.3 kB / 1.077 GB, free: 0.8594 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.995e-05/0.3947, allocations: 105.1 kB / 1.077 GB, free: 0.75 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.769e-05/0.3948, allocations: 184.2 kB / 1.077 GB, free: 0.5625 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.716e-05/0.3948, allocations: 108.9 kB / 1.077 GB, free: 460 kB / 0.8262 GB Notification: Performance of sorting global known variables: time 3.781e-05/0.3949, allocations: 83.27 kB / 1.077 GB, free: 376 kB / 0.8262 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3949, allocations: 4 kB / 1.077 GB, free: 372 kB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0004189/0.3953, allocations: 59.92 kB / 1.077 GB, free: 312 kB / 0.8262 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.0005879/0.3959, allocations: 342.4 kB / 1.078 GB, free: 16 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 7.802e-05/0.396, allocations: 4 kB / 1.078 GB, free: 15.99 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.396, allocations: 4 kB / 1.078 GB, free: 15.99 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 3.126e-06/0.396, allocations: 0 / 1.078 GB, free: 15.99 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003663/0.3964, allocations: 0.5324 MB / 1.078 GB, free: 15.45 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002545/0.3966, allocations: 171 kB / 1.078 GB, free: 15.26 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002212/0.3969, allocations: 0.677 MB / 1.079 GB, free: 14.55 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 2.777e-05/0.3969, allocations: 7.984 kB / 1.079 GB, free: 14.55 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.307e-05/0.3969, allocations: 11.44 kB / 1.079 GB, free: 14.54 MB / 0.8419 GB Notification: Performance of SimCode: time 1.713e-06/0.3969, allocations: 0 / 1.079 GB, free: 14.54 MB / 0.8419 GB Notification: Performance of Templates: time 0.004296/0.4012, allocations: 1.602 MB / 1.081 GB, free: 12.95 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)