Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001891/0.001891, allocations: 101.1 kB / 16.27 MB, free: 6.414 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.001395/0.001395, allocations: 190.3 kB / 17.2 MB, free: 5.953 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.43/1.43, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.614/2.614, allocations: 437.1 MB / 0.7111 GB, free: 4.496 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002209/0.002209, allocations: 64.16 kB / 0.8699 GB, free: 2.203 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.34/0.3422, allocations: 151.6 MB / 1.018 GB, free: 10.63 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement): time 0.003001/0.3453, allocations: 1.263 MB / 1.019 GB, free: 9.359 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.002437/0.3477, allocations: 1.446 MB / 1.021 GB, free: 7.906 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.431e-05/0.3478, allocations: 0 / 1.021 GB, free: 7.906 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 1.767e-05/0.3478, allocations: 0 / 1.021 GB, free: 7.906 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0002023/0.3481, allocations: 15.92 kB / 1.021 GB, free: 7.891 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007003/0.3488, allocations: 212.2 kB / 1.021 GB, free: 7.688 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 5.878e-05/0.3488, allocations: 27.91 kB / 1.021 GB, free: 7.66 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 3.897e-05/0.3489, allocations: 4 kB / 1.021 GB, free: 7.656 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 8.432e-05/0.349, allocations: 19.88 kB / 1.021 GB, free: 7.637 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001276/0.3491, allocations: 13.86 kB / 1.021 GB, free: 7.625 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.23e-05/0.3491, allocations: 0 / 1.021 GB, free: 7.625 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002937/0.3494, allocations: 151.8 kB / 1.021 GB, free: 7.477 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 1.362e-05/0.3494, allocations: 3.984 kB / 1.021 GB, free: 7.473 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 2.575e-05/0.3495, allocations: 19.92 kB / 1.021 GB, free: 7.453 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0002783/0.3498, allocations: 139.8 kB / 1.021 GB, free: 7.316 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.056e-06/0.3498, allocations: 0 / 1.021 GB, free: 7.316 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.032e-06/0.3498, allocations: 0 / 1.021 GB, free: 7.316 MB / 0.795 GB Notification: Performance of Transformations before backend: time 5.35e-06/0.3498, allocations: 0 / 1.021 GB, free: 7.316 MB / 0.795 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.0004126/0.3502, allocations: 367.8 kB / 1.022 GB, free: 6.91 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.656e-05/0.3503, allocations: 16.86 kB / 1.022 GB, free: 6.895 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.125e-05/0.3503, allocations: 84.22 kB / 1.022 GB, free: 6.812 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001892/0.3505, allocations: 243.6 kB / 1.022 GB, free: 6.535 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.389e-05/0.3506, allocations: 158.9 kB / 1.022 GB, free: 6.379 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.107e-05/0.3507, allocations: 162.6 kB / 1.022 GB, free: 6.219 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.253e-05/0.3508, allocations: 109 kB / 1.022 GB, free: 6.105 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.638e-05/0.3508, allocations: 75.28 kB / 1.022 GB, free: 6.031 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.612e-05/0.3509, allocations: 154.6 kB / 1.023 GB, free: 5.879 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.355e-05/0.351, allocations: 154.6 kB / 1.023 GB, free: 5.727 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.226e-05/0.3511, allocations: 150.6 kB / 1.023 GB, free: 5.578 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003579/0.3514, allocations: 449.9 kB / 1.023 GB, free: 5.09 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 9.511e-05/0.3515, allocations: 169.1 kB / 1.023 GB, free: 4.914 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.811e-05/0.3516, allocations: 96.08 kB / 1.023 GB, free: 4.816 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 3.742e-05/0.3516, allocations: 79.28 kB / 1.024 GB, free: 4.738 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.572e-05/0.3517, allocations: 109.8 kB / 1.024 GB, free: 4.621 MB / 0.795 GB Notification: Performance of pre-optimization done (n=0): time 1.062e-06/0.3517, allocations: 0 / 1.024 GB, free: 4.621 MB / 0.795 GB Notification: Performance of matching and sorting (n=0): time 9.115e-05/0.3518, allocations: 33.64 kB / 1.024 GB, free: 4.582 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.141e-05/0.3519, allocations: 126.7 kB / 1.024 GB, free: 4.445 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001203/0.352, allocations: 101.8 kB / 1.024 GB, free: 4.336 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 2.202e-05/0.352, allocations: 33.7 kB / 1.024 GB, free: 4.297 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 4.835e-05/0.3521, allocations: 80.14 kB / 1.024 GB, free: 4.215 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 1.944e-06/0.3521, allocations: 0 / 1.024 GB, free: 4.215 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.016e-05/0.3522, allocations: 17.72 kB / 1.024 GB, free: 4.191 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001421/0.3523, allocations: 322.8 kB / 1.024 GB, free: 3.867 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.361e-05/0.3523, allocations: 0 / 1.024 GB, free: 3.867 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.214e-05/0.3524, allocations: 22.58 kB / 1.024 GB, free: 3.836 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.009e-05/0.3524, allocations: 34.5 kB / 1.024 GB, free: 3.793 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.3525, allocations: 0 / 1.024 GB, free: 3.793 MB / 0.795 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001434/0.3526, allocations: 53.58 kB / 1.024 GB, free: 3.734 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.289e-05/0.3526, allocations: 4 kB / 1.024 GB, free: 3.73 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.3526, allocations: 0 / 1.024 GB, free: 3.73 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.559e-05/0.3527, allocations: 8.078 kB / 1.024 GB, free: 3.723 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8e-05/0.3527, allocations: 8 kB / 1.024 GB, free: 3.715 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.11e-06/0.3527, allocations: 0 / 1.024 GB, free: 3.715 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000156/0.3529, allocations: 7.906 kB / 1.024 GB, free: 3.707 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.877e-05/0.3529, allocations: 7.969 kB / 1.024 GB, free: 3.699 MB / 0.795 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.0001352/0.3531, allocations: 190.7 kB / 1.025 GB, free: 3.504 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.952e-05/0.3532, allocations: 112.9 kB / 1.025 GB, free: 3.387 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.412e-05/0.3532, allocations: 108.1 kB / 1.025 GB, free: 3.273 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.888e-05/0.3533, allocations: 184.1 kB / 1.025 GB, free: 3.086 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.703e-05/0.3534, allocations: 180.2 kB / 1.025 GB, free: 2.902 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.18e-05/0.3535, allocations: 180.3 kB / 1.025 GB, free: 2.719 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002926/0.3538, allocations: 413 kB / 1.026 GB, free: 2.258 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.491e-05/0.3539, allocations: 101.2 kB / 1.026 GB, free: 2.152 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.842e-05/0.3539, allocations: 121 kB / 1.026 GB, free: 2.027 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.659e-05/0.354, allocations: 176.3 kB / 1.026 GB, free: 1.848 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.681e-05/0.3541, allocations: 180.3 kB / 1.026 GB, free: 1.664 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.621e-05/0.3542, allocations: 180.2 kB / 1.027 GB, free: 1.48 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.577e-05/0.3543, allocations: 184.2 kB / 1.027 GB, free: 1.293 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001746/0.3545, allocations: 311.7 kB / 1.027 GB, free: 0.9648 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001014/0.3546, allocations: 178.1 kB / 1.027 GB, free: 0.7656 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.322e-05/0.3547, allocations: 184.2 kB / 1.027 GB, free: 0.5781 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.666e-05/0.3548, allocations: 101 kB / 1.027 GB, free: 484 kB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.189e-05/0.3549, allocations: 184.2 kB / 1.028 GB, free: 292 kB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.438e-05/0.3549, allocations: 105 kB / 1.028 GB, free: 180 kB / 0.795 GB Notification: Performance of sorting global known variables: time 6.267e-05/0.355, allocations: 87.27 kB / 1.028 GB, free: 92 kB / 0.795 GB Notification: Performance of sort global known variables: time 1.2e-07/0.355, allocations: 0 / 1.028 GB, free: 92 kB / 0.795 GB Notification: Performance of remove unused functions: time 0.0003724/0.3554, allocations: 55.94 kB / 1.028 GB, free: 36 kB / 0.795 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.0007146/0.3561, allocations: 339.3 kB / 1.028 GB, free: 15.73 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 9.354e-05/0.3562, allocations: 24.05 kB / 1.028 GB, free: 15.71 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.195e-06/0.3562, allocations: 0 / 1.028 GB, free: 15.71 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 1.653e-06/0.3562, allocations: 0 / 1.028 GB, free: 15.71 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004166/0.3567, allocations: 461.1 kB / 1.029 GB, free: 15.26 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002978/0.357, allocations: 201.5 kB / 1.029 GB, free: 15.03 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003372/0.3573, allocations: 0.6729 MB / 1.029 GB, free: 14.33 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.936e-05/0.3573, allocations: 11.44 kB / 1.029 GB, free: 14.32 MB / 0.8106 GB Notification: Performance of SimCode: time 3.517e-06/0.3574, allocations: 0 / 1.029 GB, free: 14.32 MB / 0.8106 GB Notification: Performance of Templates: time 0.003809/0.3612, allocations: 1.593 MB / 1.031 GB, free: 12.73 MB / 0.8106 GB make -j1 -f Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.makefile (rm -f Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.sim & ./Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe 2>&1)