Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.00169/0.00169, allocations: 113.5 kB / 17.13 MB, free: 5.926 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.001468/0.001468, allocations: 206.5 kB / 20.09 MB, free: 2.977 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.495/1.495, allocations: 230.6 MB / 253.5 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.921/2.921, allocations: 0.49 GB / 0.7923 GB, free: 1.285 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_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_12_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.002037/0.002037, allocations: 63.91 kB / 1.15 GB, free: 14.89 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.032/1.034, allocations: 176.1 MB / 1.322 GB, free: 25.25 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement): time 0.002048/1.036, allocations: 1.284 MB / 1.323 GB, free: 24.36 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001755/1.038, allocations: 1.481 MB / 1.325 GB, free: 23.33 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.746e-05/1.038, allocations: 2.969 kB / 1.325 GB, free: 23.33 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 1.548e-05/1.038, allocations: 0 / 1.325 GB, free: 23.33 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001886/1.038, allocations: 14.78 kB / 1.325 GB, free: 23.32 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005478/1.038, allocations: 215.2 kB / 1.325 GB, free: 23.22 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 7.319e-05/1.039, allocations: 34.45 kB / 1.325 GB, free: 23.2 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 4.42e-05/1.039, allocations: 3.281 kB / 1.325 GB, free: 23.2 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001272/1.039, allocations: 19.41 kB / 1.325 GB, free: 23.19 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 7.355e-05/1.039, allocations: 12.61 kB / 1.325 GB, free: 23.19 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.249e-05/1.039, allocations: 6.625 kB / 1.325 GB, free: 23.18 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002342/1.039, allocations: 166.5 kB / 1.325 GB, free: 23.13 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.313e-05/1.039, allocations: 10.48 kB / 1.325 GB, free: 23.12 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 2.123e-05/1.039, allocations: 8.219 kB / 1.325 GB, free: 23.12 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.000211/1.039, allocations: 145.3 kB / 1.325 GB, free: 23.08 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.067e-06/1.039, allocations: 0 / 1.325 GB, free: 23.08 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.463e-06/1.039, allocations: 6.719 kB / 1.325 GB, free: 23.07 MB / 1.061 GB Notification: Performance of Transformations before backend: time 4.589e-06/1.039, allocations: 0 / 1.325 GB, free: 23.07 MB / 1.061 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.0003204/1.04, allocations: 372.5 kB / 1.326 GB, free: 22.69 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.448e-05/1.04, allocations: 16.48 kB / 1.326 GB, free: 22.68 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.886e-05/1.04, allocations: 82.91 kB / 1.326 GB, free: 22.6 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001165/1.04, allocations: 243 kB / 1.326 GB, free: 22.33 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.521e-05/1.04, allocations: 153.7 kB / 1.326 GB, free: 22.18 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.143e-05/1.04, allocations: 161.4 kB / 1.326 GB, free: 22.02 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.438e-05/1.04, allocations: 101 kB / 1.326 GB, free: 21.92 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.448e-05/1.04, allocations: 75.28 kB / 1.326 GB, free: 21.84 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.394e-05/1.04, allocations: 150.6 kB / 1.327 GB, free: 21.7 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.178e-05/1.04, allocations: 153.2 kB / 1.327 GB, free: 21.55 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.461e-05/1.04, allocations: 162.5 kB / 1.327 GB, free: 21.39 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001888/1.04, allocations: 448.1 kB / 1.327 GB, free: 20.91 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 4.322e-05/1.04, allocations: 172 kB / 1.327 GB, free: 20.73 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.813e-05/1.04, allocations: 87.59 kB / 1.328 GB, free: 20.64 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.091e-05/1.04, allocations: 75.28 kB / 1.328 GB, free: 20.57 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.666e-05/1.04, allocations: 113.8 kB / 1.328 GB, free: 20.45 MB / 1.061 GB Notification: Performance of pre-optimization done (n=0): time 8.11e-07/1.04, allocations: 0 / 1.328 GB, free: 20.45 MB / 1.061 GB Notification: Performance of matching and sorting (n=0): time 6.885e-05/1.04, allocations: 32.11 kB / 1.328 GB, free: 20.41 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.045e-05/1.04, allocations: 129.7 kB / 1.328 GB, free: 20.28 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.615e-05/1.04, allocations: 106.7 kB / 1.328 GB, free: 20.17 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 8.957e-06/1.04, allocations: 25.7 kB / 1.328 GB, free: 20.14 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 2.497e-05/1.041, allocations: 86.66 kB / 1.328 GB, free: 20.05 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.184e-06/1.041, allocations: 4 kB / 1.328 GB, free: 20.05 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.063e-05/1.041, allocations: 22.83 kB / 1.328 GB, free: 20.03 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 3.84e-05/1.041, allocations: 310.8 kB / 1.328 GB, free: 19.72 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.455e-05/1.041, allocations: 10.72 kB / 1.328 GB, free: 19.71 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.655e-05/1.041, allocations: 25.78 kB / 1.328 GB, free: 19.69 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.34e-05/1.041, allocations: 31.77 kB / 1.328 GB, free: 19.65 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.983e-06/1.041, allocations: 0 / 1.328 GB, free: 19.65 MB / 1.061 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001144/1.041, allocations: 51.03 kB / 1.329 GB, free: 19.61 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.276e-05/1.041, allocations: 2.594 kB / 1.329 GB, free: 19.61 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/1.041, allocations: 2.5 kB / 1.329 GB, free: 19.61 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.53e-05/1.041, allocations: 0 / 1.329 GB, free: 19.61 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.21e-05/1.041, allocations: 16.45 kB / 1.329 GB, free: 19.61 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.86e-06/1.041, allocations: 96 / 1.329 GB, free: 19.61 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001521/1.041, allocations: 9.094 kB / 1.329 GB, free: 19.6 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.089e-05/1.041, allocations: 9.578 kB / 1.329 GB, free: 19.6 MB / 1.061 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.591e-05/1.041, allocations: 187.6 kB / 1.329 GB, free: 19.41 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.744e-05/1.041, allocations: 111.5 kB / 1.329 GB, free: 19.29 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.556e-05/1.041, allocations: 108.3 kB / 1.329 GB, free: 19.18 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.549e-05/1.041, allocations: 194.5 kB / 1.329 GB, free: 18.99 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.201e-05/1.041, allocations: 176.3 kB / 1.329 GB, free: 18.81 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.155e-05/1.041, allocations: 180.2 kB / 1.329 GB, free: 18.62 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001276/1.041, allocations: 408.5 kB / 1.33 GB, free: 18.18 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.32e-05/1.041, allocations: 101.2 kB / 1.33 GB, free: 18.07 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.458e-05/1.041, allocations: 111.8 kB / 1.33 GB, free: 17.96 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.492e-05/1.041, allocations: 180.3 kB / 1.33 GB, free: 17.77 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.684e-05/1.041, allocations: 183.5 kB / 1.33 GB, free: 17.59 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.465e-05/1.041, allocations: 182.7 kB / 1.331 GB, free: 17.41 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.398e-05/1.041, allocations: 184.2 kB / 1.331 GB, free: 17.22 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.627e-05/1.042, allocations: 312.1 kB / 1.331 GB, free: 16.9 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.981e-05/1.042, allocations: 186 kB / 1.331 GB, free: 16.69 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.328e-05/1.042, allocations: 179 kB / 1.331 GB, free: 16.51 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.677e-05/1.042, allocations: 108.3 kB / 1.332 GB, free: 16.4 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.3e-05/1.042, allocations: 176.3 kB / 1.332 GB, free: 16.22 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.65e-05/1.042, allocations: 103.6 kB / 1.332 GB, free: 16.12 MB / 1.061 GB Notification: Performance of sorting global known variables: time 2.362e-05/1.042, allocations: 85.78 kB / 1.332 GB, free: 16.04 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/1.042, allocations: 2.656 kB / 1.332 GB, free: 16.04 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002925/1.042, allocations: 56.64 kB / 1.332 GB, free: 16.02 MB / 1.061 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.0005626/1.043, allocations: 348.3 kB / 1.332 GB, free: 15.8 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 8.852e-05/1.043, allocations: 5 kB / 1.332 GB, free: 15.8 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/1.043, allocations: 0 / 1.332 GB, free: 15.8 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 1.753e-06/1.043, allocations: 8.125 kB / 1.332 GB, free: 15.79 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002574/1.043, allocations: 464.8 kB / 1.333 GB, free: 15.34 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002238/1.043, allocations: 204.1 kB / 1.333 GB, free: 15.12 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.894e-05/1.043, allocations: 0.6755 MB / 1.334 GB, free: 14.43 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.277e-05/1.043, allocations: 10.19 kB / 1.334 GB, free: 14.42 MB / 1.061 GB Notification: Performance of SimCode: time 3.11e-07/1.043, allocations: 4 kB / 1.334 GB, free: 14.41 MB / 1.061 GB Notification: Performance of Templates: time 0.003812/1.047, allocations: 1.594 MB / 1.335 GB, free: 14.24 MB / 1.061 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.makefile [Timeout 300] (rm -f Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe ; mkfifo Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe ; head -c 1048576 < Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe >> ../files/Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.sim & ./Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe 2>&1) [Timeout 400] [Calling os._exit(0), Time elapsed: 11.706373672990594] Failed to read output from testmodel.py, exit status != 0: 1.0553351920098066 1.066641839 0.024830043000000003 Calling exit ...