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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00171/0.00171, allocations: 102.1 kB / 19.7 MB, free: 2.254 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001875/0.001875, allocations: 218.3 kB / 23.01 MB, free: 5.125 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.462/1.462, allocations: 230.6 MB / 256.8 MB, free: 7.949 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.743/2.743, allocations: 476.7 MB / 0.7714 GB, free: 4.258 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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=2500,variableFilter="time|latitude|longitude|timeZone",fileNamePrefix="Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001996/0.001996, allocations: 59.53 kB / 1.119 GB, free: 8.742 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3474/0.3494, allocations: 169.9 MB / 1.285 GB, free: 3.289 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement): time 0.002344/0.3517, allocations: 1.3 MB / 1.286 GB, free: 1.98 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002409/0.3541, allocations: 1.587 MB / 1.287 GB, free: 396 kB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.068e-05/0.3542, allocations: 0 / 1.287 GB, free: 396 kB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 1.924e-05/0.3542, allocations: 0 / 1.287 GB, free: 396 kB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001693/0.3544, allocations: 15.91 kB / 1.287 GB, free: 380 kB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005989/0.355, allocations: 213.5 kB / 1.288 GB, free: 168 kB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 7.685e-05/0.355, allocations: 23.92 kB / 1.288 GB, free: 144 kB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 3.812e-05/0.3551, allocations: 4 kB / 1.288 GB, free: 140 kB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000133/0.3552, allocations: 31.84 kB / 1.288 GB, free: 108 kB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 7.156e-05/0.3553, allocations: 8 kB / 1.288 GB, free: 100 kB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.073e-05/0.3553, allocations: 0 / 1.288 GB, free: 100 kB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003237/0.3556, allocations: 175.8 kB / 1.288 GB, free: 15.93 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.217e-05/0.3556, allocations: 4 kB / 1.288 GB, free: 15.92 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 2.549e-05/0.3556, allocations: 7.938 kB / 1.288 GB, free: 15.91 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002562/0.3559, allocations: 151.6 kB / 1.288 GB, free: 15.77 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.3559, allocations: 0 / 1.288 GB, free: 15.77 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.173e-06/0.3559, allocations: 0 / 1.288 GB, free: 15.77 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.519e-06/0.3559, allocations: 0 / 1.288 GB, free: 15.77 MB / 0.9981 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.0003803/0.3563, allocations: 295.9 kB / 1.288 GB, free: 15.45 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.221e-05/0.3563, allocations: 8.031 kB / 1.288 GB, free: 15.44 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.009e-05/0.3564, allocations: 84.22 kB / 1.288 GB, free: 15.36 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001559/0.3566, allocations: 193.7 kB / 1.289 GB, free: 15.14 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.748e-05/0.3566, allocations: 154.9 kB / 1.289 GB, free: 14.99 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.468e-05/0.3567, allocations: 158.7 kB / 1.289 GB, free: 14.84 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.265e-05/0.3568, allocations: 105 kB / 1.289 GB, free: 14.73 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.437e-05/0.3568, allocations: 75.28 kB / 1.289 GB, free: 14.65 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.953e-05/0.3569, allocations: 154.6 kB / 1.289 GB, free: 14.5 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.229e-05/0.357, allocations: 150.6 kB / 1.289 GB, free: 14.35 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.645e-05/0.357, allocations: 154.5 kB / 1.29 GB, free: 14.2 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003182/0.3573, allocations: 429 kB / 1.29 GB, free: 13.74 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001061/0.3575, allocations: 173.1 kB / 1.29 GB, free: 13.56 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.221e-05/0.3575, allocations: 88.08 kB / 1.29 GB, free: 13.47 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 4.508e-05/0.3575, allocations: 79.27 kB / 1.29 GB, free: 13.39 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.785e-05/0.3576, allocations: 113.8 kB / 1.29 GB, free: 13.27 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=0): time 7.91e-07/0.3576, allocations: 0 / 1.29 GB, free: 13.27 MB / 0.9981 GB Notification: Performance of matching and sorting (n=0): time 8.142e-05/0.3577, allocations: 37.62 kB / 1.29 GB, free: 13.23 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.552e-05/0.3578, allocations: 126.7 kB / 1.291 GB, free: 13.09 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001074/0.3579, allocations: 101.9 kB / 1.291 GB, free: 12.98 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.793e-05/0.3579, allocations: 25.7 kB / 1.291 GB, free: 12.95 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 5.959e-05/0.3579, allocations: 92.08 kB / 1.291 GB, free: 12.86 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.643e-06/0.3579, allocations: 0 / 1.291 GB, free: 12.86 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.988e-05/0.358, allocations: 17.72 kB / 1.291 GB, free: 12.83 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001435/0.3581, allocations: 318.8 kB / 1.291 GB, free: 12.51 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.338e-05/0.3581, allocations: 3.984 kB / 1.291 GB, free: 12.51 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.562e-05/0.3582, allocations: 22.58 kB / 1.291 GB, free: 12.48 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.13e-05/0.3582, allocations: 26.52 kB / 1.291 GB, free: 12.44 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.3582, allocations: 4 kB / 1.291 GB, free: 12.44 MB / 0.9981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001316/0.3584, allocations: 57.56 kB / 1.291 GB, free: 12.38 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.3e-05/0.3584, allocations: 4 kB / 1.291 GB, free: 12.37 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.3584, allocations: 0 / 1.291 GB, free: 12.37 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.649e-05/0.3584, allocations: 4 kB / 1.291 GB, free: 12.37 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.811e-05/0.3585, allocations: 7.984 kB / 1.291 GB, free: 12.36 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.37e-06/0.3585, allocations: 0 / 1.291 GB, free: 12.36 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001432/0.3586, allocations: 4 kB / 1.291 GB, free: 12.36 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.098e-05/0.3586, allocations: 8.094 kB / 1.291 GB, free: 12.35 MB / 0.9981 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.0001224/0.3588, allocations: 189.2 kB / 1.291 GB, free: 12.15 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.416e-05/0.3588, allocations: 120.8 kB / 1.291 GB, free: 12.03 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.77e-05/0.3589, allocations: 104.1 kB / 1.292 GB, free: 11.92 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.508e-05/0.359, allocations: 180.2 kB / 1.292 GB, free: 11.74 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.26e-05/0.3591, allocations: 180.3 kB / 1.292 GB, free: 11.55 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.731e-05/0.3592, allocations: 184.2 kB / 1.292 GB, free: 11.37 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002685/0.3594, allocations: 380.2 kB / 1.292 GB, free: 10.95 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.717e-05/0.3595, allocations: 105 kB / 1.293 GB, free: 10.84 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.607e-05/0.3595, allocations: 104.9 kB / 1.293 GB, free: 10.73 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.51e-05/0.3596, allocations: 180.3 kB / 1.293 GB, free: 10.54 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.012e-05/0.3597, allocations: 184.3 kB / 1.293 GB, free: 10.36 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000116/0.3598, allocations: 180.2 kB / 1.293 GB, free: 10.17 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.919e-05/0.3599, allocations: 176.3 kB / 1.293 GB, free: 9.992 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001824/0.3601, allocations: 311.7 kB / 1.294 GB, free: 9.664 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.713e-05/0.3601, allocations: 104.9 kB / 1.294 GB, free: 9.555 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.148e-05/0.3602, allocations: 196.1 kB / 1.294 GB, free: 9.355 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001019/0.3603, allocations: 105.2 kB / 1.294 GB, free: 9.246 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.948e-05/0.3604, allocations: 180.2 kB / 1.294 GB, free: 9.062 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.492e-05/0.3605, allocations: 109 kB / 1.294 GB, free: 8.949 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 4.467e-05/0.3605, allocations: 83.28 kB / 1.294 GB, free: 8.867 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8.1e-08/0.3605, allocations: 0 / 1.294 GB, free: 8.867 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003559/0.3609, allocations: 55.8 kB / 1.294 GB, free: 8.812 MB / 0.9981 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.000642/0.3615, allocations: 330.4 kB / 1.295 GB, free: 8.516 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 9.417e-05/0.3616, allocations: 19.92 kB / 1.295 GB, free: 8.496 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.3616, allocations: 0 / 1.295 GB, free: 8.496 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 1.263e-06/0.3616, allocations: 0 / 1.295 GB, free: 8.496 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003993/0.362, allocations: 467.8 kB / 1.295 GB, free: 8.039 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002774/0.3623, allocations: 195.3 kB / 1.295 GB, free: 7.816 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003179/0.3626, allocations: 0.6806 MB / 1.296 GB, free: 7.109 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.568e-05/0.3626, allocations: 7.438 kB / 1.296 GB, free: 7.102 MB / 0.9981 GB Notification: Performance of SimCode: time 3e-07/0.3626, allocations: 0 / 1.296 GB, free: 7.102 MB / 0.9981 GB Notification: Performance of Templates: time 0.003602/0.3662, allocations: 1.6 MB / 1.298 GB, free: 5.508 MB / 0.9981 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.makefile [Timeout 300] (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) [Timeout 400] [Calling os._exit(0), Time elapsed: 11.1249196830031] Failed to read output from testmodel.py, exit status != 0: 0.3747790509951301 0.388700947 0.029687942000000002 Calling exit ...