Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.001823/0.001823, allocations: 78.34 kB / 19.01 MB, free: 2.859 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.002178/0.002178, allocations: 155.4 kB / 22.25 MB, free: 5.109 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.444/1.444, allocations: 177.2 MB / 202.6 MB, free: 9.281 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002507/0.002507, allocations: 226.7 kB / 259.2 MB, free: 0.5938 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.061/1.061, allocations: 138.5 MB / 454.2 MB, free: 2.059 MB / 366.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/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(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement") translateModel(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement") [Timeout 660] "Notification: NcDataReader2 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: BuildingSystems 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.003047/0.003047, allocations: 103.8 kB / 0.6466 GB, free: 5.234 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3719/0.3749, allocations: 95.34 MB / 0.7397 GB, free: 15.1 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement): time 0.00236/0.3773, allocations: 1.288 MB / 0.741 GB, free: 13.8 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.002441/0.3797, allocations: 1.526 MB / 0.7425 GB, free: 12.27 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.388e-05/0.3798, allocations: 3.938 kB / 0.7425 GB, free: 12.27 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 1.505e-05/0.3798, allocations: 0 / 0.7425 GB, free: 12.27 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0001973/0.38, allocations: 11.94 kB / 0.7425 GB, free: 12.25 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006291/0.3806, allocations: 234.6 kB / 0.7427 GB, free: 12.03 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 6.182e-05/0.3807, allocations: 19.94 kB / 0.7427 GB, free: 12.01 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 3.659e-05/0.3807, allocations: 7.969 kB / 0.7427 GB, free: 12 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001311/0.3808, allocations: 19.98 kB / 0.7427 GB, free: 11.98 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 6.703e-05/0.3809, allocations: 15.92 kB / 0.7428 GB, free: 11.96 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.221e-05/0.3809, allocations: 4 kB / 0.7428 GB, free: 11.96 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002852/0.3812, allocations: 147.8 kB / 0.7429 GB, free: 11.82 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.429e-05/0.3812, allocations: 8 kB / 0.7429 GB, free: 11.81 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.571e-05/0.3812, allocations: 11.97 kB / 0.7429 GB, free: 11.8 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0002391/0.3815, allocations: 136.8 kB / 0.7431 GB, free: 11.67 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.3815, allocations: 0 / 0.7431 GB, free: 11.67 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.242e-06/0.3815, allocations: 4 kB / 0.7431 GB, free: 11.66 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.718e-06/0.3815, allocations: 0 / 0.7431 GB, free: 11.66 MB / 0.5762 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.0003713/0.3819, allocations: 293.9 kB / 0.7433 GB, free: 11.35 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.383e-05/0.3819, allocations: 16.75 kB / 0.7434 GB, free: 11.33 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.021e-05/0.382, allocations: 80.16 kB / 0.7434 GB, free: 11.25 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001633/0.3821, allocations: 189.8 kB / 0.7436 GB, free: 11.04 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.487e-05/0.3822, allocations: 154.9 kB / 0.7438 GB, free: 10.89 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.184e-05/0.3823, allocations: 158.7 kB / 0.7439 GB, free: 10.73 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.109e-05/0.3824, allocations: 108.9 kB / 0.744 GB, free: 10.62 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.204e-05/0.3824, allocations: 75.28 kB / 0.7441 GB, free: 10.55 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.986e-05/0.3825, allocations: 150.6 kB / 0.7442 GB, free: 10.4 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.801e-05/0.3825, allocations: 150.6 kB / 0.7444 GB, free: 10.25 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.454e-05/0.3826, allocations: 154.5 kB / 0.7445 GB, free: 10.1 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003059/0.3829, allocations: 409.5 kB / 0.7449 GB, free: 9.668 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001163/0.383, allocations: 173.1 kB / 0.7451 GB, free: 9.488 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.025e-05/0.3831, allocations: 80.14 kB / 0.7452 GB, free: 9.406 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 3.517e-05/0.3831, allocations: 79.28 kB / 0.7452 GB, free: 9.328 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.078e-05/0.3832, allocations: 109.8 kB / 0.7453 GB, free: 9.211 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=0): time 1.012e-06/0.3832, allocations: 0 / 0.7453 GB, free: 9.211 MB / 0.5762 GB Notification: Performance of matching and sorting (n=0): time 8.013e-05/0.3832, allocations: 33.64 kB / 0.7454 GB, free: 9.172 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.84e-05/0.3833, allocations: 126.7 kB / 0.7455 GB, free: 9.035 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001052/0.3834, allocations: 105.8 kB / 0.7456 GB, free: 8.922 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.912e-05/0.3834, allocations: 25.7 kB / 0.7456 GB, free: 8.891 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 5.864e-05/0.3835, allocations: 84.14 kB / 0.7457 GB, free: 8.805 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 1.724e-06/0.3835, allocations: 4 kB / 0.7457 GB, free: 8.801 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.382e-05/0.3835, allocations: 21.7 kB / 0.7457 GB, free: 8.773 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001421/0.3837, allocations: 314.8 kB / 0.746 GB, free: 8.457 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.427e-05/0.3837, allocations: 7.938 kB / 0.746 GB, free: 8.449 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001039/0.3838, allocations: 103.7 kB / 0.7461 GB, free: 8.32 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.909e-05/0.3839, allocations: 26.52 kB / 0.7461 GB, free: 8.285 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.3839, allocations: 0 / 0.7461 GB, free: 8.285 MB / 0.5762 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001357/0.384, allocations: 57.59 kB / 0.7462 GB, free: 8.223 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.395e-05/0.384, allocations: 8 kB / 0.7462 GB, free: 8.215 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.808e-06/0.384, allocations: 256 / 0.7462 GB, free: 8.215 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.294e-05/0.384, allocations: 0 / 0.7462 GB, free: 8.215 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.119e-05/0.3841, allocations: 8 kB / 0.7462 GB, free: 8.207 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.136e-06/0.3841, allocations: 3.984 kB / 0.7462 GB, free: 8.203 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001487/0.3842, allocations: 15.94 kB / 0.7462 GB, free: 8.188 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.097e-06/0.3842, allocations: 0 / 0.7462 GB, free: 8.188 MB / 0.5762 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.0001209/0.3844, allocations: 193.1 kB / 0.7464 GB, free: 7.988 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.772e-05/0.3844, allocations: 112.9 kB / 0.7465 GB, free: 7.871 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.45e-05/0.3845, allocations: 116 kB / 0.7466 GB, free: 7.746 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.439e-05/0.3846, allocations: 180.2 kB / 0.7468 GB, free: 7.562 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.406e-05/0.3847, allocations: 176.3 kB / 0.747 GB, free: 7.383 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.074e-05/0.3848, allocations: 188.2 kB / 0.7472 GB, free: 7.191 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002466/0.385, allocations: 356.9 kB / 0.7475 GB, free: 6.805 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.401e-05/0.3851, allocations: 101 kB / 0.7476 GB, free: 6.699 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.415e-05/0.3851, allocations: 104.9 kB / 0.7477 GB, free: 6.59 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.168e-05/0.3852, allocations: 188.2 kB / 0.7479 GB, free: 6.398 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.136e-05/0.3853, allocations: 184.2 kB / 0.7481 GB, free: 6.211 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.08e-05/0.3854, allocations: 180.2 kB / 0.7482 GB, free: 6.027 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.563e-05/0.3854, allocations: 188.2 kB / 0.7484 GB, free: 5.836 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001625/0.3856, allocations: 303.8 kB / 0.7487 GB, free: 5.516 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 5.613e-05/0.3857, allocations: 104.9 kB / 0.7488 GB, free: 5.406 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.619e-05/0.3858, allocations: 184.2 kB / 0.749 GB, free: 5.219 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.2e-05/0.3858, allocations: 101 kB / 0.7491 GB, free: 5.113 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.054e-05/0.3859, allocations: 180.3 kB / 0.7492 GB, free: 4.93 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.959e-05/0.386, allocations: 117 kB / 0.7493 GB, free: 4.809 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 4.613e-05/0.386, allocations: 79.28 kB / 0.7494 GB, free: 4.73 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.386, allocations: 0 / 0.7494 GB, free: 4.73 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0003261/0.3864, allocations: 55.73 kB / 0.7495 GB, free: 4.676 MB / 0.5762 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.0006549/0.387, allocations: 344.6 kB / 0.7498 GB, free: 4.375 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 8.888e-05/0.3871, allocations: 15.94 kB / 0.7498 GB, free: 4.359 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.3871, allocations: 0 / 0.7498 GB, free: 4.359 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 1.302e-06/0.3871, allocations: 0 / 0.7498 GB, free: 4.359 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004011/0.3875, allocations: 459.7 kB / 0.7503 GB, free: 3.906 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002552/0.3878, allocations: 188.4 kB / 0.7504 GB, free: 3.699 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.996e-05/0.3878, allocations: 55.36 kB / 0.7505 GB, free: 3.625 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 2.462e-05/0.3878, allocations: 8.172 kB / 0.7505 GB, free: 3.617 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.653e-05/0.3878, allocations: 8.5 kB / 0.7505 GB, free: 3.609 MB / 0.5762 GB Notification: Performance of SimCode: time 3.2e-07/0.3878, allocations: 7.938 kB / 0.7505 GB, free: 3.602 MB / 0.5762 GB Notification: Performance of Templates: time 0.004605/0.3925, allocations: 1.62 MB / 0.7521 GB, free: 2.031 MB / 0.5762 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.sim & ./BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.808537572622299] Failed to read output from testmodel.py, exit status != 0: 0.4007159639149904 0.415482507 0.03068792 Calling exit ...