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 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="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.00159/0.00159, allocations: 107.7 kB / 15.99 MB, free: 5.91 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.001672/0.001672, allocations: 193.6 kB / 16.91 MB, free: 5.754 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.445/1.445, allocations: 222.9 MB / 240.6 MB, free: 13.58 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.841/2.841, allocations: 482.4 MB / 0.755 GB, free: 7.203 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001961/0.001961, allocations: 71.73 kB / 0.924 GB, free: 348 kB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8226/0.8246, allocations: 162.2 MB / 1.082 GB, free: 1.645 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement): time 0.002443/0.8271, allocations: 1.333 MB / 1.084 GB, free: 0.707 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.002229/0.8293, allocations: 1.419 MB / 1.085 GB, free: 15.71 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.139e-05/0.8294, allocations: 1.094 kB / 1.085 GB, free: 15.71 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 2.253e-05/0.8294, allocations: 0 / 1.085 GB, free: 15.71 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0002172/0.8297, allocations: 4.953 kB / 1.085 GB, free: 15.71 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007105/0.8304, allocations: 202.4 kB / 1.085 GB, free: 15.62 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 7.416e-05/0.8305, allocations: 23.09 kB / 1.085 GB, free: 15.61 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 5.072e-05/0.8306, allocations: 13.73 kB / 1.085 GB, free: 15.6 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001066/0.8307, allocations: 19.2 kB / 1.085 GB, free: 15.59 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001193/0.8308, allocations: 10.98 kB / 1.085 GB, free: 15.59 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.181e-05/0.8308, allocations: 1.656 kB / 1.085 GB, free: 15.59 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003122/0.8311, allocations: 148.8 kB / 1.086 GB, free: 15.54 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 1.253e-05/0.8312, allocations: 2 kB / 1.086 GB, free: 15.54 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 2.87e-05/0.8312, allocations: 13.52 kB / 1.086 GB, free: 15.54 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0002154/0.8314, allocations: 95.86 kB / 1.086 GB, free: 15.51 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.8314, allocations: 0 / 1.086 GB, free: 15.51 MB / 0.8419 GB Notification: Performance of FrontEnd: time 4.268e-06/0.8314, allocations: 0 / 1.086 GB, free: 15.51 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 6.783e-06/0.8314, allocations: 10.17 kB / 1.086 GB, free: 15.5 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.000449/0.8319, allocations: 363.6 kB / 1.086 GB, free: 15.12 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.778e-05/0.8319, allocations: 9.281 kB / 1.086 GB, free: 15.12 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.25e-05/0.832, allocations: 86.09 kB / 1.086 GB, free: 15.04 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002091/0.8323, allocations: 239.8 kB / 1.086 GB, free: 14.77 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.664e-05/0.8323, allocations: 152.1 kB / 1.086 GB, free: 14.62 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.356e-05/0.8324, allocations: 160.8 kB / 1.087 GB, free: 14.47 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.516e-05/0.8325, allocations: 102.7 kB / 1.087 GB, free: 14.36 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.7e-05/0.8326, allocations: 83.27 kB / 1.087 GB, free: 14.28 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.335e-05/0.8327, allocations: 151.7 kB / 1.087 GB, free: 14.13 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.895e-05/0.8327, allocations: 151.3 kB / 1.087 GB, free: 13.98 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.064e-05/0.8328, allocations: 155.7 kB / 1.087 GB, free: 13.83 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003808/0.8332, allocations: 458 kB / 1.088 GB, free: 13.34 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001021/0.8333, allocations: 167.1 kB / 1.088 GB, free: 13.17 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.408e-05/0.8334, allocations: 84.08 kB / 1.088 GB, free: 13.09 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 4.061e-05/0.8335, allocations: 80.41 kB / 1.088 GB, free: 13.01 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.102e-05/0.8335, allocations: 111.6 kB / 1.088 GB, free: 12.89 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=0): time 9.32e-07/0.8335, allocations: 3.938 kB / 1.088 GB, free: 12.89 MB / 0.8419 GB Notification: Performance of matching and sorting (n=0): time 8.568e-05/0.8336, allocations: 32.77 kB / 1.088 GB, free: 12.85 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.444e-05/0.8337, allocations: 126.7 kB / 1.088 GB, free: 12.71 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001302/0.8339, allocations: 103.7 kB / 1.088 GB, free: 12.61 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.158e-05/0.8339, allocations: 27.17 kB / 1.088 GB, free: 12.58 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 5.565e-05/0.8339, allocations: 85.77 kB / 1.088 GB, free: 12.5 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 2.204e-06/0.8339, allocations: 0 / 1.088 GB, free: 12.5 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.342e-05/0.834, allocations: 22.22 kB / 1.088 GB, free: 12.48 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001734/0.8342, allocations: 317.8 kB / 1.089 GB, free: 12.16 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.505e-05/0.8342, allocations: 2.156 kB / 1.089 GB, free: 12.16 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.101e-05/0.8343, allocations: 24.3 kB / 1.089 GB, free: 12.14 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.848e-05/0.8343, allocations: 35.59 kB / 1.089 GB, free: 12.1 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.8343, allocations: 0.5938 kB / 1.089 GB, free: 12.1 MB / 0.8419 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001481/0.8345, allocations: 57.38 kB / 1.089 GB, free: 12.05 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.687e-05/0.8345, allocations: 10.06 kB / 1.089 GB, free: 12.05 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.8345, allocations: 1.281 kB / 1.089 GB, free: 12.05 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.241e-05/0.8345, allocations: 0 / 1.089 GB, free: 12.05 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.408e-05/0.8346, allocations: 6.719 kB / 1.089 GB, free: 12.05 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.823e-06/0.8346, allocations: 1.297 kB / 1.089 GB, free: 12.05 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001616/0.8348, allocations: 9.703 kB / 1.089 GB, free: 12.04 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.157e-05/0.8348, allocations: 3.219 kB / 1.089 GB, free: 12.04 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.0001318/0.835, allocations: 194 kB / 1.089 GB, free: 11.85 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.675e-05/0.835, allocations: 110.9 kB / 1.089 GB, free: 11.73 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.908e-05/0.8351, allocations: 106.8 kB / 1.089 GB, free: 11.63 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.33e-05/0.8352, allocations: 182.3 kB / 1.089 GB, free: 11.45 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.267e-05/0.8353, allocations: 180.8 kB / 1.09 GB, free: 11.26 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.476e-05/0.8354, allocations: 182.4 kB / 1.09 GB, free: 11.08 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002918/0.8357, allocations: 406.7 kB / 1.09 GB, free: 10.63 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.918e-05/0.8358, allocations: 103 kB / 1.09 GB, free: 10.52 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.268e-05/0.8358, allocations: 106.3 kB / 1.09 GB, free: 10.41 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.332e-05/0.8359, allocations: 181.8 kB / 1.091 GB, free: 10.23 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.712e-05/0.836, allocations: 186.1 kB / 1.091 GB, free: 10.04 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.653e-05/0.8361, allocations: 178.8 kB / 1.091 GB, free: 9.863 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.921e-05/0.8362, allocations: 177.1 kB / 1.091 GB, free: 9.684 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001825/0.8364, allocations: 310.4 kB / 1.091 GB, free: 9.363 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001068/0.8365, allocations: 191.5 kB / 1.092 GB, free: 9.152 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000111/0.8366, allocations: 182.7 kB / 1.092 GB, free: 8.969 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.069e-05/0.8367, allocations: 106.2 kB / 1.092 GB, free: 8.859 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.385e-05/0.8368, allocations: 182.3 kB / 1.092 GB, free: 8.676 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.69e-05/0.8369, allocations: 102.7 kB / 1.092 GB, free: 8.57 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 5.481e-05/0.8369, allocations: 85.62 kB / 1.092 GB, free: 8.492 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8369, allocations: 4 kB / 1.092 GB, free: 8.488 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0004051/0.8374, allocations: 53.84 kB / 1.092 GB, free: 8.473 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.000755/0.8381, allocations: 345.1 kB / 1.093 GB, free: 8.258 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0001036/0.8382, allocations: 15.33 kB / 1.093 GB, free: 8.25 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 5.169e-06/0.8382, allocations: 0 / 1.093 GB, free: 8.25 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 2.174e-06/0.8383, allocations: 4.531 kB / 1.093 GB, free: 8.246 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004236/0.8387, allocations: 466.7 kB / 1.093 GB, free: 7.789 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003123/0.839, allocations: 206.7 kB / 1.093 GB, free: 7.566 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003364/0.8394, allocations: 0.6738 MB / 1.094 GB, free: 6.871 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.644e-05/0.8394, allocations: 9.875 kB / 1.094 GB, free: 6.863 MB / 0.8419 GB Notification: Performance of SimCode: time 2.31e-07/0.8394, allocations: 0 / 1.094 GB, free: 6.863 MB / 0.8419 GB Notification: Performance of Templates: time 0.004239/0.8436, allocations: 1.59 MB / 1.095 GB, free: 6.695 MB / 0.8419 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=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe 2>&1)