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/Buildings 9.0.0-master/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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement") translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.636/1.636, allocations: 297.8 MB / 313.7 MB, free: 164 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009335/0.0009334, allocations: 180.5 kB / 384.6 MB, free: 10.88 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.245/1.245, allocations: 223.2 MB / 0.6626 GB, free: 4.379 MB / 490.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007178/0.0007178, allocations: 93.3 kB / 0.7808 GB, free: 43.8 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0004551/0.0004553, allocations: 14.47 kB / 0.9088 GB, free: 0.7031 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5422/0.5427, allocations: 120.3 MB / 1.026 GB, free: 56.99 MB / 0.698 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1802/0.723, allocations: 143.6 MB / 1.167 GB, free: 14.6 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002496/0.7233, allocations: 86.38 kB / 1.167 GB, free: 14.52 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.0157/0.739, allocations: 5.996 MB / 1.173 GB, free: 8.598 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.254e-06/0.739, allocations: 0 / 1.173 GB, free: 8.598 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 6.753e-06/0.739, allocations: 0.5312 kB / 1.173 GB, free: 8.598 MB / 0.7448 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.0003701/0.7394, allocations: 374 kB / 1.173 GB, free: 8.184 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.001e-05/0.7395, allocations: 12.03 kB / 1.173 GB, free: 8.172 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.063e-05/0.7395, allocations: 80.22 kB / 1.173 GB, free: 8.094 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000153/0.7397, allocations: 243.6 kB / 1.173 GB, free: 7.816 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.117e-05/0.7398, allocations: 156.8 kB / 1.173 GB, free: 7.664 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.518e-05/0.7398, allocations: 154.9 kB / 1.174 GB, free: 7.512 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.186e-05/0.7399, allocations: 106.1 kB / 1.174 GB, free: 7.402 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.662e-05/0.7399, allocations: 79.97 kB / 1.174 GB, free: 7.324 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.36e-05/0.74, allocations: 155.4 kB / 1.174 GB, free: 7.172 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.452e-05/0.74, allocations: 154.6 kB / 1.174 GB, free: 7.02 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.685e-05/0.7401, allocations: 150.6 kB / 1.174 GB, free: 6.871 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002759/0.7404, allocations: 457.8 kB / 1.175 GB, free: 6.375 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 6.97e-05/0.7404, allocations: 173.1 kB / 1.175 GB, free: 6.195 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.024e-05/0.7405, allocations: 84.08 kB / 1.175 GB, free: 6.109 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.306e-05/0.7405, allocations: 79.28 kB / 1.175 GB, free: 6.031 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.86e-05/0.7405, allocations: 105.8 kB / 1.175 GB, free: 5.918 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=0): time 9.11e-07/0.7405, allocations: 0 / 1.175 GB, free: 5.918 MB / 0.7448 GB Notification: Performance of matching and sorting (n=0): time 7.352e-05/0.7406, allocations: 33.64 kB / 1.175 GB, free: 5.879 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.129e-05/0.7407, allocations: 130.7 kB / 1.175 GB, free: 5.738 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.743e-05/0.7408, allocations: 101.9 kB / 1.175 GB, free: 5.629 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.475e-05/0.7408, allocations: 33.7 kB / 1.175 GB, free: 5.59 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 3.753e-05/0.7408, allocations: 84.12 kB / 1.175 GB, free: 5.504 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.094e-06/0.7408, allocations: 0 / 1.175 GB, free: 5.504 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.374e-06/0.7409, allocations: 0 / 1.175 GB, free: 5.504 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 9.735e-05/0.741, allocations: 314.8 kB / 1.176 GB, free: 5.188 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.972e-05/0.741, allocations: 11.94 kB / 1.176 GB, free: 5.176 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.743e-05/0.741, allocations: 26.56 kB / 1.176 GB, free: 5.141 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.339e-05/0.7411, allocations: 26.58 kB / 1.176 GB, free: 5.105 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.7411, allocations: 0 / 1.176 GB, free: 5.105 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001075/0.7412, allocations: 41.64 kB / 1.176 GB, free: 5.059 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.563e-05/0.7412, allocations: 7.984 kB / 1.176 GB, free: 5.051 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.582e-06/0.7412, allocations: 7.938 kB / 1.176 GB, free: 5.043 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.248e-05/0.7413, allocations: 3.938 kB / 1.176 GB, free: 5.039 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.145e-05/0.7413, allocations: 16.03 kB / 1.176 GB, free: 5.023 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.512e-06/0.7413, allocations: 0 / 1.176 GB, free: 5.023 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.554e-05/0.7414, allocations: 7.938 kB / 1.176 GB, free: 5.016 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.117e-05/0.7414, allocations: 4 kB / 1.176 GB, free: 5.012 MB / 0.7448 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.907e-05/0.7415, allocations: 189.1 kB / 1.176 GB, free: 4.816 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.404e-05/0.7416, allocations: 104.9 kB / 1.176 GB, free: 4.707 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.174e-05/0.7416, allocations: 116 kB / 1.176 GB, free: 4.586 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.908e-05/0.7417, allocations: 184.3 kB / 1.176 GB, free: 4.398 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.417e-05/0.7417, allocations: 184.2 kB / 1.177 GB, free: 4.211 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.474e-05/0.7418, allocations: 180.2 kB / 1.177 GB, free: 4.027 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001862/0.742, allocations: 401.2 kB / 1.177 GB, free: 3.578 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.267e-05/0.742, allocations: 108.9 kB / 1.177 GB, free: 3.465 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.795e-05/0.7421, allocations: 101 kB / 1.177 GB, free: 3.359 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.352e-05/0.7421, allocations: 184.2 kB / 1.177 GB, free: 3.172 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.91e-05/0.7422, allocations: 184.5 kB / 1.178 GB, free: 2.984 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.406e-05/0.7422, allocations: 176.3 kB / 1.178 GB, free: 2.805 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.868e-05/0.7423, allocations: 188.2 kB / 1.178 GB, free: 2.613 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001066/0.7424, allocations: 307.8 kB / 1.178 GB, free: 2.289 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 6.333e-05/0.7425, allocations: 182.1 kB / 1.178 GB, free: 2.086 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.871e-05/0.7425, allocations: 188.2 kB / 1.179 GB, free: 1.895 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.943e-05/0.7426, allocations: 104.9 kB / 1.179 GB, free: 1.785 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.864e-05/0.7427, allocations: 177.1 kB / 1.179 GB, free: 1.605 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.968e-05/0.7427, allocations: 112.9 kB / 1.179 GB, free: 1.488 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.478e-05/0.7428, allocations: 83.28 kB / 1.179 GB, free: 1.406 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1e-07/0.7428, allocations: 0 / 1.179 GB, free: 1.406 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0003509/0.7431, allocations: 59.92 kB / 1.179 GB, free: 1.348 MB / 0.7448 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005684/0.7437, allocations: 355 kB / 1.179 GB, free: 1.043 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 7.008e-05/0.7438, allocations: 7.984 kB / 1.179 GB, free: 1.035 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 4.118e-06/0.7438, allocations: 12.12 kB / 1.18 GB, free: 1.023 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 3.046e-06/0.7438, allocations: 3.938 kB / 1.18 GB, free: 1.02 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003252/0.7441, allocations: 0.5194 MB / 1.18 GB, free: 0.4961 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003062/0.7444, allocations: 174.5 kB / 1.18 GB, free: 304 kB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002752/0.7447, allocations: 0.677 MB / 1.181 GB, free: 15.59 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 2.54e-05/0.7448, allocations: 0 / 1.181 GB, free: 15.59 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.796e-05/0.7448, allocations: 11.44 kB / 1.181 GB, free: 15.58 MB / 0.7605 GB Notification: Performance of SimCode: time 2.91e-07/0.7448, allocations: 0 / 1.181 GB, free: 15.58 MB / 0.7605 GB Notification: Performance of Templates: time 0.004154/0.749, allocations: 1.531 MB / 1.182 GB, free: 14.08 MB / 0.7605 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 -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe 2>&1)