Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.001783/0.001783, allocations: 106.8 kB / 15.99 MB, free: 5.891 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.00246/0.00246, allocations: 195.9 kB / 16.91 MB, free: 5.746 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.374/1.374, allocations: 222.9 MB / 240.6 MB, free: 4.539 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.351/2.351, allocations: 390.2 MB / 0.665 GB, free: 0.5156 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001233/0.001233, allocations: 59.91 kB / 0.8127 GB, free: 14.75 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6709/0.6721, allocations: 140.4 MB / 0.9498 GB, free: 9.227 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement): time 0.00207/0.6743, allocations: 1.341 MB / 0.9511 GB, free: 8.16 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001688/0.676, allocations: 1.41 MB / 0.9525 GB, free: 7.059 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.868e-05/0.676, allocations: 3.938 kB / 0.9525 GB, free: 7.055 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.182e-05/0.676, allocations: 1.281 kB / 0.9525 GB, free: 7.055 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001822/0.6762, allocations: 19.55 kB / 0.9525 GB, free: 7.039 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.000511/0.6767, allocations: 190.9 kB / 0.9527 GB, free: 6.934 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 5.099e-05/0.6768, allocations: 23.55 kB / 0.9527 GB, free: 6.922 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.117e-05/0.6769, allocations: 2.625 kB / 0.9527 GB, free: 6.922 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.782e-05/0.6769, allocations: 15.55 kB / 0.9527 GB, free: 6.914 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 9.658e-05/0.677, allocations: 16.98 kB / 0.9527 GB, free: 6.902 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.06e-05/0.6771, allocations: 1.656 kB / 0.9527 GB, free: 6.902 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002052/0.6773, allocations: 150.7 kB / 0.9529 GB, free: 6.832 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.213e-05/0.6773, allocations: 13.11 kB / 0.9529 GB, free: 6.82 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.07e-05/0.6773, allocations: 5.25 kB / 0.9529 GB, free: 6.82 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001583/0.6775, allocations: 99.03 kB / 0.953 GB, free: 6.766 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.6775, allocations: 0 / 0.953 GB, free: 6.766 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.014e-06/0.6775, allocations: 1.281 kB / 0.953 GB, free: 6.766 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.39e-06/0.6775, allocations: 0 / 0.953 GB, free: 6.766 MB / 0.7169 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.0002612/0.6778, allocations: 371.5 kB / 0.9533 GB, free: 6.375 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.334e-05/0.6778, allocations: 9.969 kB / 0.9533 GB, free: 6.375 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.811e-05/0.6779, allocations: 77.62 kB / 0.9534 GB, free: 6.301 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.324e-05/0.678, allocations: 250 kB / 0.9537 GB, free: 6.02 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.533e-05/0.678, allocations: 152.2 kB / 0.9538 GB, free: 5.871 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.691e-05/0.678, allocations: 158.4 kB / 0.954 GB, free: 5.719 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 3.918e-05/0.6781, allocations: 105 kB / 0.9541 GB, free: 5.609 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.199e-05/0.6781, allocations: 79.22 kB / 0.9541 GB, free: 5.531 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.04e-05/0.6781, allocations: 150.6 kB / 0.9543 GB, free: 5.383 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.968e-05/0.6781, allocations: 156.1 kB / 0.9544 GB, free: 5.23 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.099e-05/0.6782, allocations: 154.6 kB / 0.9546 GB, free: 5.078 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001692/0.6783, allocations: 454.2 kB / 0.955 GB, free: 4.59 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 3.924e-05/0.6784, allocations: 166.6 kB / 0.9552 GB, free: 4.418 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.365e-05/0.6784, allocations: 92.02 kB / 0.9552 GB, free: 4.324 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.32e-05/0.6784, allocations: 75.28 kB / 0.9553 GB, free: 4.25 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.12e-05/0.6784, allocations: 107.6 kB / 0.9554 GB, free: 4.137 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=0): time 1.332e-06/0.6785, allocations: 3.984 kB / 0.9554 GB, free: 4.133 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0): time 6.173e-05/0.6785, allocations: 36.48 kB / 0.9555 GB, free: 4.094 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.836e-05/0.6786, allocations: 130.7 kB / 0.9556 GB, free: 3.953 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.419e-05/0.6786, allocations: 104.6 kB / 0.9557 GB, free: 3.848 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 9.668e-06/0.6786, allocations: 26.55 kB / 0.9557 GB, free: 3.816 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.196e-05/0.6787, allocations: 81.23 kB / 0.9558 GB, free: 3.734 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.543e-06/0.6787, allocations: 0 / 0.9558 GB, free: 3.734 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.163e-05/0.6787, allocations: 24.02 kB / 0.9558 GB, free: 3.711 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.769e-05/0.6787, allocations: 315.9 kB / 0.9561 GB, free: 3.395 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.184e-05/0.6788, allocations: 5.906 kB / 0.9561 GB, free: 3.391 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.743e-05/0.6788, allocations: 32.75 kB / 0.9561 GB, free: 3.355 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.419e-05/0.6788, allocations: 28 kB / 0.9562 GB, free: 3.324 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.6789, allocations: 0 / 0.9562 GB, free: 3.324 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001077/0.679, allocations: 51.09 kB / 0.9562 GB, free: 3.281 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.315e-05/0.679, allocations: 10.03 kB / 0.9562 GB, free: 3.277 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.679, allocations: 8.031 kB / 0.9562 GB, free: 3.27 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.144e-05/0.679, allocations: 1.312 kB / 0.9562 GB, free: 3.27 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.729e-05/0.6791, allocations: 4.375 kB / 0.9562 GB, free: 3.27 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.709e-06/0.6791, allocations: 5.141 kB / 0.9563 GB, free: 3.266 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001466/0.6792, allocations: 8.531 kB / 0.9563 GB, free: 3.262 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.749e-06/0.6792, allocations: 2.25 kB / 0.9563 GB, free: 3.262 MB / 0.7169 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 5.339e-05/0.6793, allocations: 184.2 kB / 0.9564 GB, free: 3.074 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.477e-05/0.6793, allocations: 110.3 kB / 0.9565 GB, free: 2.961 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.044e-05/0.6794, allocations: 121.1 kB / 0.9567 GB, free: 2.836 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.968e-05/0.6794, allocations: 176.3 kB / 0.9568 GB, free: 2.656 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.232e-05/0.6794, allocations: 181.2 kB / 0.957 GB, free: 2.473 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.029e-05/0.6794, allocations: 177.5 kB / 0.9572 GB, free: 2.293 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000122/0.6796, allocations: 408.8 kB / 0.9576 GB, free: 1.84 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.294e-05/0.6796, allocations: 108.9 kB / 0.9577 GB, free: 1.727 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.378e-05/0.6796, allocations: 106.3 kB / 0.9578 GB, free: 1.617 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.263e-05/0.6796, allocations: 181.4 kB / 0.9579 GB, free: 1.434 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.498e-05/0.6797, allocations: 181.3 kB / 0.9581 GB, free: 1.25 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.166e-05/0.6797, allocations: 181.5 kB / 0.9583 GB, free: 1.066 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.208e-05/0.6797, allocations: 181.5 kB / 0.9585 GB, free: 0.8828 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.836e-05/0.6798, allocations: 314.1 kB / 0.9588 GB, free: 0.5547 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.646e-05/0.6798, allocations: 183.6 kB / 0.9589 GB, free: 360 kB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.21e-05/0.6799, allocations: 182.9 kB / 0.9591 GB, free: 172 kB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.979e-05/0.6799, allocations: 109 kB / 0.9592 GB, free: 56 kB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8e-05/0.68, allocations: 185.5 kB / 0.9594 GB, free: 15.87 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.979e-05/0.68, allocations: 106.1 kB / 0.9595 GB, free: 15.76 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 3.676e-05/0.6801, allocations: 83.22 kB / 0.9596 GB, free: 15.68 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6801, allocations: 0 / 0.9596 GB, free: 15.68 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002996/0.6804, allocations: 47.45 kB / 0.9596 GB, free: 15.67 MB / 0.7325 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.0005293/0.6809, allocations: 350.9 kB / 0.9599 GB, free: 15.43 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 6.985e-05/0.681, allocations: 11.38 kB / 0.96 GB, free: 15.43 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.681, allocations: 0 / 0.96 GB, free: 15.43 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 3.808e-06/0.681, allocations: 5 kB / 0.96 GB, free: 15.43 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003162/0.6813, allocations: 465.1 kB / 0.9604 GB, free: 14.97 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000237/0.6816, allocations: 201 kB / 0.9606 GB, free: 14.75 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001924/0.6818, allocations: 0.6791 MB / 0.9613 GB, free: 14.05 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.425e-05/0.6818, allocations: 8.844 kB / 0.9613 GB, free: 14.04 MB / 0.7325 GB Notification: Performance of SimCode: time 2.21e-07/0.6818, allocations: 1.406 kB / 0.9613 GB, free: 14.04 MB / 0.7325 GB Notification: Performance of Templates: time 0.003084/0.6849, allocations: 1.592 MB / 0.9628 GB, free: 13.23 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.makefile (rm -f Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.sim & ./Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe 2>&1)