Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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_11_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_11_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.001273/0.001273, allocations: 107.5 kB / 15.99 MB, free: 6.355 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.001441/0.001442, allocations: 196.9 kB / 16.91 MB, free: 6.195 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.439/1.439, allocations: 222.9 MB / 240.6 MB, free: 13.72 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.733/2.733, allocations: 469.8 MB / 0.7427 GB, free: 3.68 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001931/0.001931, allocations: 70.3 kB / 0.9087 GB, free: 14.28 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3478/0.3498, allocations: 159.1 MB / 1.064 GB, free: 15.15 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement): time 0.002692/0.3525, allocations: 1.338 MB / 1.065 GB, free: 13.8 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.002353/0.3549, allocations: 1.417 MB / 1.067 GB, free: 12.38 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.039e-05/0.355, allocations: 0 / 1.067 GB, free: 12.38 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 2.185e-05/0.355, allocations: 0 / 1.067 GB, free: 12.38 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0001942/0.3552, allocations: 8 kB / 1.067 GB, free: 12.37 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006075/0.3558, allocations: 202.3 kB / 1.067 GB, free: 12.18 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 6.021e-05/0.3559, allocations: 23.92 kB / 1.067 GB, free: 12.15 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 5.047e-05/0.356, allocations: 7.984 kB / 1.067 GB, free: 12.14 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 8.529e-05/0.356, allocations: 11.94 kB / 1.067 GB, free: 12.13 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001197/0.3562, allocations: 18.03 kB / 1.067 GB, free: 12.12 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.999e-05/0.3562, allocations: 4 kB / 1.067 GB, free: 12.11 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002433/0.3565, allocations: 143.8 kB / 1.067 GB, free: 11.97 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 1.439e-05/0.3565, allocations: 8 kB / 1.067 GB, free: 11.96 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 7.215e-05/0.3566, allocations: 15.91 kB / 1.067 GB, free: 11.95 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001902/0.3568, allocations: 95.88 kB / 1.067 GB, free: 11.86 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 6.893e-06/0.3568, allocations: 0 / 1.067 GB, free: 11.86 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.673e-06/0.3568, allocations: 3.938 kB / 1.067 GB, free: 11.85 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 5.801e-06/0.3568, allocations: 0 / 1.067 GB, free: 11.85 MB / 0.8419 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.0004574/0.3572, allocations: 363.8 kB / 1.068 GB, free: 11.45 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.82e-05/0.3573, allocations: 8.031 kB / 1.068 GB, free: 11.44 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.428e-05/0.3574, allocations: 84.12 kB / 1.068 GB, free: 11.36 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002198/0.3576, allocations: 251.6 kB / 1.068 GB, free: 11.07 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.07e-05/0.3577, allocations: 150.9 kB / 1.068 GB, free: 10.93 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.657e-05/0.3578, allocations: 158.7 kB / 1.068 GB, free: 10.77 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.047e-05/0.3579, allocations: 101 kB / 1.068 GB, free: 10.66 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.081e-05/0.3579, allocations: 79.27 kB / 1.068 GB, free: 10.59 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.117e-05/0.358, allocations: 154.6 kB / 1.069 GB, free: 10.43 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.966e-05/0.3581, allocations: 150.6 kB / 1.069 GB, free: 10.29 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.033e-05/0.3582, allocations: 158.6 kB / 1.069 GB, free: 10.13 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000406/0.3586, allocations: 453.9 kB / 1.069 GB, free: 9.637 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001153/0.3587, allocations: 173.1 kB / 1.07 GB, free: 9.457 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.86e-05/0.3588, allocations: 84.08 kB / 1.07 GB, free: 9.371 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001168/0.3589, allocations: 79.22 kB / 1.07 GB, free: 9.293 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.24e-05/0.359, allocations: 117.8 kB / 1.07 GB, free: 9.168 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=0): time 8.52e-07/0.359, allocations: 0 / 1.07 GB, free: 9.168 MB / 0.8419 GB Notification: Performance of matching and sorting (n=0): time 8.956e-05/0.3591, allocations: 33.64 kB / 1.07 GB, free: 9.129 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.107e-05/0.3592, allocations: 130.7 kB / 1.07 GB, free: 8.988 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001278/0.3593, allocations: 105.8 kB / 1.07 GB, free: 8.875 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.261e-05/0.3593, allocations: 25.7 kB / 1.07 GB, free: 8.844 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 6.402e-05/0.3594, allocations: 80.14 kB / 1.07 GB, free: 8.762 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 2.895e-06/0.3594, allocations: 4 kB / 1.07 GB, free: 8.758 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.375e-05/0.3595, allocations: 21.7 kB / 1.07 GB, free: 8.73 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001743/0.3596, allocations: 310.8 kB / 1.07 GB, free: 8.418 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.755e-05/0.3597, allocations: 8 kB / 1.07 GB, free: 8.41 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.874e-05/0.3597, allocations: 26.56 kB / 1.071 GB, free: 8.375 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.095e-05/0.3598, allocations: 30.52 kB / 1.071 GB, free: 8.336 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.3598, allocations: 0 / 1.071 GB, free: 8.336 MB / 0.8419 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001448/0.36, allocations: 49.56 kB / 1.071 GB, free: 8.281 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.592e-05/0.36, allocations: 8.094 kB / 1.071 GB, free: 8.273 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.694e-06/0.36, allocations: 4 kB / 1.071 GB, free: 8.27 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.355e-05/0.36, allocations: 0 / 1.071 GB, free: 8.27 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.456e-05/0.3601, allocations: 8 kB / 1.071 GB, free: 8.262 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.749e-06/0.3601, allocations: 0 / 1.071 GB, free: 8.262 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000161/0.3603, allocations: 11.89 kB / 1.071 GB, free: 8.25 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.312e-05/0.3603, allocations: 4 kB / 1.071 GB, free: 8.246 MB / 0.8419 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.0001513/0.3604, allocations: 189.1 kB / 1.071 GB, free: 8.051 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.721e-05/0.3605, allocations: 116.9 kB / 1.071 GB, free: 7.93 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.101e-05/0.3606, allocations: 104.1 kB / 1.071 GB, free: 7.82 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.517e-05/0.3607, allocations: 184.2 kB / 1.071 GB, free: 7.633 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.051e-05/0.3608, allocations: 176.3 kB / 1.071 GB, free: 7.453 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.107e-05/0.3609, allocations: 180.2 kB / 1.072 GB, free: 7.27 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003047/0.3612, allocations: 413.2 kB / 1.072 GB, free: 6.809 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.813e-05/0.3613, allocations: 101 kB / 1.072 GB, free: 6.703 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.618e-05/0.3613, allocations: 105 kB / 1.072 GB, free: 6.594 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001252/0.3615, allocations: 184.2 kB / 1.072 GB, free: 6.406 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.662e-05/0.3616, allocations: 184.2 kB / 1.072 GB, free: 6.219 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.716e-05/0.3617, allocations: 180.5 kB / 1.073 GB, free: 6.035 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.613e-05/0.3618, allocations: 184.3 kB / 1.073 GB, free: 5.848 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001941/0.362, allocations: 311.6 kB / 1.073 GB, free: 5.52 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001144/0.3621, allocations: 186 kB / 1.073 GB, free: 5.312 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001052/0.3622, allocations: 180.5 kB / 1.073 GB, free: 5.129 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.373e-05/0.3623, allocations: 101 kB / 1.074 GB, free: 5.023 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001114/0.3624, allocations: 192.2 kB / 1.074 GB, free: 4.828 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.826e-05/0.3625, allocations: 105 kB / 1.074 GB, free: 4.719 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 5.703e-05/0.3625, allocations: 87.22 kB / 1.074 GB, free: 4.633 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3625, allocations: 0 / 1.074 GB, free: 4.633 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003692/0.3629, allocations: 55.92 kB / 1.074 GB, free: 4.578 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.0007074/0.3636, allocations: 335.2 kB / 1.074 GB, free: 4.277 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 9.541e-05/0.3637, allocations: 7.938 kB / 1.074 GB, free: 4.27 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.3637, allocations: 3.938 kB / 1.074 GB, free: 4.266 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 1.392e-06/0.3638, allocations: 4 kB / 1.074 GB, free: 4.262 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004461/0.3642, allocations: 465.8 kB / 1.075 GB, free: 3.805 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003248/0.3645, allocations: 203.2 kB / 1.075 GB, free: 3.574 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003718/0.3649, allocations: 0.6768 MB / 1.076 GB, free: 2.871 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.989e-05/0.3649, allocations: 15.44 kB / 1.076 GB, free: 2.855 MB / 0.8419 GB Notification: Performance of SimCode: time 2.8e-07/0.3649, allocations: 0 / 1.076 GB, free: 2.855 MB / 0.8419 GB Notification: Performance of Templates: time 0.003996/0.3689, allocations: 1.594 MB / 1.077 GB, free: 1.266 MB / 0.8419 GB make -j1 -f Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.makefile (rm -f Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe ; mkfifo Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe ; head -c 1048576 < Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe >> ../files/Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.sim & ./Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe 2>&1)