Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement") translateModel(BuildSysPro.IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7025/0.7025, allocations: 128.7 MB / 144.5 MB, free: 1.379 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001095/0.001095, allocations: 189.8 kB / 174.2 MB, free: 5.926 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.476/1.476, allocations: 205 MB / 408.9 MB, free: 9.73 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001105/0.001105, allocations: 94.36 kB / 485.1 MB, free: 13.57 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001056/0.001056, allocations: 57.94 kB / 0.558 GB, free: 97.39 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1253/0.1264, allocations: 75.47 MB / 0.6317 GB, free: 32.98 MB / 442.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement): time 0.002034/0.1285, allocations: 1.322 MB / 0.633 GB, free: 31.64 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.001861/0.1304, allocations: 1.519 MB / 0.6345 GB, free: 30.11 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.091e-05/0.1304, allocations: 4 kB / 0.6345 GB, free: 30.11 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 1.515e-05/0.1304, allocations: 0 / 0.6345 GB, free: 30.11 MB / 442.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/IBPSA/BoundaryConditions/WeatherData/BaseClasses/getAbsolutePath.mo:2:1-50:20:writable] Warning: Pure function ‘BuildSysPro.IBPSA.BoundaryConditions.WeatherData.BaseClasses.getAbsolutePath‘ contains a call to impure function ‘Modelica.Utilities.Files.exist‘. Notification: Performance of NFTyping.typeBindings: time 0.0002048/0.1306, allocations: 19.91 kB / 0.6345 GB, free: 30.09 MB / 442.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/IBPSA/BoundaryConditions/WeatherData/BaseClasses/getHeaderElementTMY3.mo:2:1-105:25:writable] Warning: Pure function ‘BuildSysPro.IBPSA.BoundaryConditions.WeatherData.BaseClasses.getHeaderElementTMY3‘ contains a call to impure function ‘Modelica.Utilities.Streams.readLine‘. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/IBPSA/BoundaryConditions/WeatherData/BaseClasses/getLongitudeTMY3.mo:2:1-48:21:writable] Warning: Pure function ‘BuildSysPro.IBPSA.BoundaryConditions.WeatherData.BaseClasses.getLongitudeTMY3‘ contains a call to impure function ‘BuildSysPro.IBPSA.BoundaryConditions.WeatherData.BaseClasses.getHeaderElementTMY3‘. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/IBPSA/BoundaryConditions/WeatherData/BaseClasses/getLatitudeTMY3.mo:2:1-48:20:writable] Warning: Pure function ‘BuildSysPro.IBPSA.BoundaryConditions.WeatherData.BaseClasses.getLatitudeTMY3‘ contains a call to impure function ‘BuildSysPro.IBPSA.BoundaryConditions.WeatherData.BaseClasses.getHeaderElementTMY3‘. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/IBPSA/BoundaryConditions/WeatherData/BaseClasses/getTimeZoneTMY3.mo:2:1-47:20:writable] Warning: Pure function ‘BuildSysPro.IBPSA.BoundaryConditions.WeatherData.BaseClasses.getTimeZoneTMY3‘ contains a call to impure function ‘BuildSysPro.IBPSA.BoundaryConditions.WeatherData.BaseClasses.getHeaderElementTMY3‘. Notification: Performance of NFTyping.typeClassSections: time 0.0004779/0.1311, allocations: 195.8 kB / 0.6347 GB, free: 29.9 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 4.783e-05/0.1312, allocations: 19.92 kB / 0.6347 GB, free: 29.88 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.823e-05/0.1312, allocations: 0 / 0.6347 GB, free: 29.88 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.159e-05/0.1313, allocations: 27.84 kB / 0.6347 GB, free: 29.85 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001086/0.1314, allocations: 7.938 kB / 0.6347 GB, free: 29.84 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.153e-05/0.1314, allocations: 4 kB / 0.6347 GB, free: 29.84 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001934/0.1316, allocations: 155.8 kB / 0.6349 GB, free: 29.69 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 1.162e-05/0.1317, allocations: 4 kB / 0.6349 GB, free: 29.68 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 2.101e-05/0.1317, allocations: 15.92 kB / 0.6349 GB, free: 29.67 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001992/0.1319, allocations: 151.8 kB / 0.635 GB, free: 29.52 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.436e-06/0.1319, allocations: 4 kB / 0.635 GB, free: 29.52 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.032e-06/0.1319, allocations: 0 / 0.635 GB, free: 29.52 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.276e-06/0.1319, allocations: 0 / 0.635 GB, free: 29.52 MB / 442.7 MB 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.0002929/0.1322, allocations: 371.5 kB / 0.6354 GB, free: 29.11 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.22e-05/0.1322, allocations: 8.031 kB / 0.6354 GB, free: 29.1 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.694e-05/0.1323, allocations: 84.12 kB / 0.6355 GB, free: 29.02 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.705e-05/0.1324, allocations: 243.9 kB / 0.6357 GB, free: 28.74 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.536e-05/0.1324, allocations: 162.5 kB / 0.6359 GB, free: 28.58 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.573e-05/0.1325, allocations: 158.5 kB / 0.636 GB, free: 28.42 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 3.728e-05/0.1325, allocations: 105 kB / 0.6361 GB, free: 28.31 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.251e-05/0.1325, allocations: 75.28 kB / 0.6362 GB, free: 28.24 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.444e-05/0.1326, allocations: 150.6 kB / 0.6363 GB, free: 28.09 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.998e-05/0.1326, allocations: 150.6 kB / 0.6365 GB, free: 27.94 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.109e-05/0.1326, allocations: 154.6 kB / 0.6366 GB, free: 27.79 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001789/0.1328, allocations: 453.9 kB / 0.6371 GB, free: 27.3 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.134e-05/0.1328, allocations: 177.1 kB / 0.6372 GB, free: 27.11 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.6e-05/0.1329, allocations: 84.12 kB / 0.6373 GB, free: 27.03 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.443e-05/0.1329, allocations: 83.28 kB / 0.6374 GB, free: 26.95 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.114e-05/0.1329, allocations: 105.8 kB / 0.6375 GB, free: 26.83 MB / 442.7 MB Notification: Performance of pre-optimization done (n=0): time 9.41e-07/0.1329, allocations: 0 / 0.6375 GB, free: 26.83 MB / 442.7 MB Notification: Performance of matching and sorting (n=0): time 6.856e-05/0.133, allocations: 25.7 kB / 0.6375 GB, free: 26.8 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.981e-05/0.133, allocations: 134.6 kB / 0.6376 GB, free: 26.66 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.673e-05/0.1331, allocations: 105.8 kB / 0.6377 GB, free: 26.54 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 8.696e-06/0.1331, allocations: 25.7 kB / 0.6378 GB, free: 26.51 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.074e-05/0.1331, allocations: 92.14 kB / 0.6379 GB, free: 26.42 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.643e-06/0.1331, allocations: 0 / 0.6379 GB, free: 26.42 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.888e-05/0.1332, allocations: 21.7 kB / 0.6379 GB, free: 26.39 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 4.462e-05/0.1332, allocations: 314.8 kB / 0.6382 GB, free: 26.07 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.199e-05/0.1332, allocations: 0 / 0.6382 GB, free: 26.07 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.531e-05/0.1333, allocations: 30.56 kB / 0.6382 GB, free: 26.04 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.049e-05/0.1333, allocations: 30.45 kB / 0.6382 GB, free: 26 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.1333, allocations: 0 / 0.6382 GB, free: 26 MB / 442.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001044/0.1334, allocations: 53.53 kB / 0.6383 GB, free: 25.94 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.163e-05/0.1335, allocations: 8 kB / 0.6383 GB, free: 25.93 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.858e-06/0.1335, allocations: 0 / 0.6383 GB, free: 25.93 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.179e-05/0.1335, allocations: 0 / 0.6383 GB, free: 25.93 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.923e-05/0.1335, allocations: 7.938 kB / 0.6383 GB, free: 25.92 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.089e-06/0.1336, allocations: 12.08 kB / 0.6383 GB, free: 25.91 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001347/0.1337, allocations: 11.92 kB / 0.6383 GB, free: 25.9 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.357e-06/0.1337, allocations: 0 / 0.6383 GB, free: 25.9 MB / 442.7 MB 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 5.427e-05/0.1338, allocations: 193.1 kB / 0.6385 GB, free: 25.7 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.429e-05/0.1338, allocations: 104.9 kB / 0.6386 GB, free: 25.59 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.345e-05/0.1339, allocations: 108.1 kB / 0.6387 GB, free: 25.48 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.367e-05/0.1339, allocations: 184.2 kB / 0.6389 GB, free: 25.29 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.389e-05/0.1339, allocations: 184.2 kB / 0.6391 GB, free: 25.11 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.18e-05/0.1339, allocations: 176.3 kB / 0.6392 GB, free: 24.93 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001159/0.1341, allocations: 409.1 kB / 0.6396 GB, free: 24.47 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.487e-05/0.1341, allocations: 105 kB / 0.6397 GB, free: 24.36 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.486e-05/0.1341, allocations: 112.9 kB / 0.6398 GB, free: 24.24 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.169e-05/0.1341, allocations: 180.3 kB / 0.64 GB, free: 24.06 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.353e-05/0.1342, allocations: 176.3 kB / 0.6402 GB, free: 23.88 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.12e-05/0.1342, allocations: 184.2 kB / 0.6403 GB, free: 23.69 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.052e-05/0.1342, allocations: 180.3 kB / 0.6405 GB, free: 23.51 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001746/0.1344, allocations: 0.8533 MB / 0.6414 GB, free: 22.59 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.076e-05/0.1344, allocations: 182 kB / 0.6415 GB, free: 22.39 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.032e-05/0.1345, allocations: 180.2 kB / 0.6417 GB, free: 22.2 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.117e-05/0.1345, allocations: 108.9 kB / 0.6418 GB, free: 22.09 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.034e-05/0.1346, allocations: 188.2 kB / 0.642 GB, free: 21.9 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.449e-05/0.1346, allocations: 105.2 kB / 0.6421 GB, free: 21.79 MB / 442.7 MB Notification: Performance of sorting global known variables: time 2.18e-05/0.1346, allocations: 83.28 kB / 0.6422 GB, free: 21.71 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1346, allocations: 0 / 0.6422 GB, free: 21.71 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0003969/0.135, allocations: 55.98 kB / 0.6422 GB, free: 21.65 MB / 442.7 MB 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.000462/0.1355, allocations: 359.5 kB / 0.6426 GB, free: 21.34 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 7.312e-05/0.1356, allocations: 8 kB / 0.6426 GB, free: 21.33 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.41e-06/0.1356, allocations: 4.188 kB / 0.6426 GB, free: 21.33 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 1.753e-06/0.1356, allocations: 3.938 kB / 0.6426 GB, free: 21.32 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002477/0.1358, allocations: 0.5185 MB / 0.6431 GB, free: 20.8 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001918/0.136, allocations: 183.1 kB / 0.6433 GB, free: 20.6 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.985e-05/0.1361, allocations: 0.677 MB / 0.6439 GB, free: 19.89 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 2.716e-05/0.1362, allocations: 0 / 0.6439 GB, free: 19.89 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.009e-05/0.1362, allocations: 11.44 kB / 0.6439 GB, free: 19.88 MB / 442.7 MB Notification: Performance of SimCode: time 2e-07/0.1362, allocations: 0 / 0.6439 GB, free: 19.88 MB / 442.7 MB Notification: Performance of Templates: time 0.003331/0.1395, allocations: 1.765 MB / 0.6457 GB, free: 18.16 MB / 442.7 MB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.sim & ./BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe 2>&1)