Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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="mat",numberOfIntervals=5000,variableFilter="time|latitude|longitude|timeZone",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement") translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|latitude|longitude|timeZone",fileNamePrefix="Buildings_latest_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.001082/0.001082, allocations: 105.1 kB / 16.41 MB, free: 6.41 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.001117/0.001117, allocations: 189.7 kB / 17.35 MB, free: 5.695 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.223/1.223, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.388/2.388, allocations: 461.9 MB / 0.7355 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001269/0.001269, allocations: 76.09 kB / 1.055 GB, free: 7.688 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6796/0.6809, allocations: 157.4 MB / 1.208 GB, free: 13.61 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement): time 0.00198/0.6829, allocations: 1.274 MB / 1.21 GB, free: 12.33 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.00191/0.6848, allocations: 1.44 MB / 1.211 GB, free: 10.88 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.745e-05/0.6849, allocations: 4 kB / 1.211 GB, free: 10.88 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 1.602e-05/0.6849, allocations: 0 / 1.211 GB, free: 10.88 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0001568/0.6851, allocations: 11.92 kB / 1.211 GB, free: 10.86 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005926/0.6857, allocations: 218.7 kB / 1.211 GB, free: 10.65 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 6.415e-05/0.6857, allocations: 23.91 kB / 1.211 GB, free: 10.63 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 3.167e-05/0.6858, allocations: 4 kB / 1.211 GB, free: 10.62 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 7.332e-05/0.6859, allocations: 16 kB / 1.211 GB, free: 10.61 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001074/0.686, allocations: 15.91 kB / 1.211 GB, free: 10.59 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.212e-05/0.686, allocations: 0 / 1.211 GB, free: 10.59 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002767/0.6863, allocations: 163.8 kB / 1.212 GB, free: 10.43 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.24e-05/0.6863, allocations: 7.969 kB / 1.212 GB, free: 10.43 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 2.179e-05/0.6863, allocations: 11.94 kB / 1.212 GB, free: 10.41 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0002346/0.6866, allocations: 139.8 kB / 1.212 GB, free: 10.28 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.6866, allocations: 3.938 kB / 1.212 GB, free: 10.27 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.663e-06/0.6866, allocations: 0 / 1.212 GB, free: 10.27 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 4.849e-06/0.6866, allocations: 4 kB / 1.212 GB, free: 10.27 MB / 0.9356 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.0003349/0.6869, allocations: 367.2 kB / 1.212 GB, free: 9.867 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.146e-05/0.687, allocations: 11.97 kB / 1.212 GB, free: 9.855 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.702e-05/0.687, allocations: 84.12 kB / 1.212 GB, free: 9.773 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001425/0.6872, allocations: 239.7 kB / 1.212 GB, free: 9.5 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.674e-05/0.6872, allocations: 158.9 kB / 1.212 GB, free: 9.344 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.454e-05/0.6873, allocations: 158.7 kB / 1.213 GB, free: 9.188 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001177/0.6874, allocations: 101 kB / 1.213 GB, free: 9.082 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.554e-05/0.6875, allocations: 75.28 kB / 1.213 GB, free: 9.008 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.185e-05/0.6875, allocations: 154.6 kB / 1.213 GB, free: 8.855 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.057e-05/0.6876, allocations: 150.6 kB / 1.213 GB, free: 8.707 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001261/0.6877, allocations: 154.5 kB / 1.213 GB, free: 8.555 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002918/0.688, allocations: 457.9 kB / 1.214 GB, free: 8.059 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 8.327e-05/0.6881, allocations: 165.1 kB / 1.214 GB, free: 7.887 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.088e-05/0.6881, allocations: 84.08 kB / 1.214 GB, free: 7.801 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.505e-05/0.6881, allocations: 79.22 kB / 1.214 GB, free: 7.723 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.724e-05/0.6882, allocations: 117.9 kB / 1.214 GB, free: 7.598 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=0): time 2.475e-06/0.6882, allocations: 0 / 1.214 GB, free: 7.598 MB / 0.9356 GB Notification: Performance of matching and sorting (n=0): time 7.347e-05/0.6883, allocations: 33.64 kB / 1.214 GB, free: 7.559 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.641e-05/0.6883, allocations: 126.7 kB / 1.214 GB, free: 7.422 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.366e-05/0.6884, allocations: 105.8 kB / 1.214 GB, free: 7.309 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.639e-05/0.6885, allocations: 33.64 kB / 1.214 GB, free: 7.27 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 7.959e-05/0.6885, allocations: 88.12 kB / 1.214 GB, free: 7.18 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 1.943e-06/0.6885, allocations: 0 / 1.214 GB, free: 7.18 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.232e-05/0.6886, allocations: 21.72 kB / 1.215 GB, free: 7.152 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001125/0.6887, allocations: 314.8 kB / 1.215 GB, free: 6.836 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.206e-05/0.6887, allocations: 4 kB / 1.215 GB, free: 6.832 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.214e-05/0.6888, allocations: 26.58 kB / 1.215 GB, free: 6.797 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.218e-05/0.6888, allocations: 30.5 kB / 1.215 GB, free: 6.758 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.6888, allocations: 256 / 1.215 GB, free: 6.758 MB / 0.9356 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001222/0.689, allocations: 53.48 kB / 1.215 GB, free: 6.699 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.409e-05/0.689, allocations: 8 kB / 1.215 GB, free: 6.691 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.972e-06/0.689, allocations: 4 kB / 1.215 GB, free: 6.688 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.249e-05/0.689, allocations: 4.125 kB / 1.215 GB, free: 6.684 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.666e-05/0.6891, allocations: 4 kB / 1.215 GB, free: 6.68 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.693e-06/0.6891, allocations: 4 kB / 1.215 GB, free: 6.676 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001423/0.6892, allocations: 8.094 kB / 1.215 GB, free: 6.668 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.487e-05/0.6893, allocations: 11.97 kB / 1.215 GB, free: 6.656 MB / 0.9356 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 9.368e-05/0.6893, allocations: 191 kB / 1.215 GB, free: 6.461 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.318e-05/0.6894, allocations: 104.9 kB / 1.215 GB, free: 6.352 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.696e-05/0.6895, allocations: 112.2 kB / 1.215 GB, free: 6.234 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.124e-05/0.6895, allocations: 184.2 kB / 1.216 GB, free: 6.047 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.879e-05/0.6896, allocations: 184.2 kB / 1.216 GB, free: 5.859 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.753e-05/0.6896, allocations: 180.2 kB / 1.216 GB, free: 5.676 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002134/0.6899, allocations: 409.2 kB / 1.216 GB, free: 5.219 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.13e-05/0.6899, allocations: 101 kB / 1.216 GB, free: 5.113 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.175e-05/0.6899, allocations: 104.9 kB / 1.216 GB, free: 5.004 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.942e-05/0.69, allocations: 180.3 kB / 1.217 GB, free: 4.82 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.304e-05/0.6901, allocations: 184.2 kB / 1.217 GB, free: 4.633 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.16e-05/0.6901, allocations: 176.3 kB / 1.217 GB, free: 4.453 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.143e-05/0.6902, allocations: 188.1 kB / 1.217 GB, free: 4.262 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001204/0.6903, allocations: 307.8 kB / 1.217 GB, free: 3.938 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 7.01e-05/0.6904, allocations: 190 kB / 1.218 GB, free: 3.727 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.085e-05/0.6905, allocations: 180.2 kB / 1.218 GB, free: 3.543 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.736e-05/0.6905, allocations: 108.9 kB / 1.218 GB, free: 3.43 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.781e-05/0.6906, allocations: 180.3 kB / 1.218 GB, free: 3.246 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.013e-05/0.6907, allocations: 101 kB / 1.218 GB, free: 3.141 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 4.848e-05/0.6907, allocations: 83.27 kB / 1.218 GB, free: 3.059 MB / 0.9356 GB Notification: Performance of sort global known variables: time 3.71e-07/0.6907, allocations: 4 kB / 1.218 GB, free: 3.055 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.000297/0.691, allocations: 48 kB / 1.218 GB, free: 3.008 MB / 0.9356 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.0005329/0.6916, allocations: 349.5 kB / 1.219 GB, free: 2.695 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 8.975e-05/0.6917, allocations: 15.92 kB / 1.219 GB, free: 2.68 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.6917, allocations: 0 / 1.219 GB, free: 2.68 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 1.433e-06/0.6917, allocations: 0 / 1.219 GB, free: 2.68 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003359/0.692, allocations: 467.8 kB / 1.219 GB, free: 2.219 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002485/0.6923, allocations: 202.9 kB / 1.219 GB, free: 1.984 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002438/0.6925, allocations: 0.669 MB / 1.22 GB, free: 1.289 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.57e-05/0.6925, allocations: 11.44 kB / 1.22 GB, free: 1.281 MB / 0.9356 GB Notification: Performance of SimCode: time 2.3e-07/0.6925, allocations: 0 / 1.22 GB, free: 1.281 MB / 0.9356 GB Notification: Performance of Templates: time 0.003167/0.6957, allocations: 1.596 MB / 1.222 GB, free: 15.69 MB / 0.9512 GB make -j1 -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.makefile (rm -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.sim & ./Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe 2>&1)