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.001882/0.001882, allocations: 84.12 kB / 19.18 MB, free: 2.527 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.002309/0.002309, allocations: 165.3 kB / 22.46 MB, free: 5.359 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.53/1.53, allocations: 177.1 MB / 202.8 MB, free: 9.176 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.002441/0.002441, allocations: 247 kB / 259.4 MB, free: 484 kB / 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.079/1.079, allocations: 138.4 MB / 454.3 MB, free: 1.977 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: Performance of FrontEnd - loaded program: time 1.413e-06/1.413e-06, allocations: 0 / 0.6468 GB, free: 5.012 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.166e-05/2.307e-05, allocations: 2.281 kB / 0.6468 GB, free: 5.008 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement): time 0.00227/0.002293, allocations: 1.301 MB / 0.6481 GB, free: 3.695 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.002337/0.00463, allocations: 1.536 MB / 0.6496 GB, free: 2.152 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.265e-05/0.004663, allocations: 0 / 0.6496 GB, free: 2.152 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 1.879e-05/0.004681, allocations: 11.92 kB / 0.6496 GB, free: 2.141 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0002116/0.004893, allocations: 11.88 kB / 0.6496 GB, free: 2.129 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007214/0.005614, allocations: 218.5 kB / 0.6498 GB, free: 1.918 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 8.914e-05/0.005703, allocations: 27.91 kB / 0.6498 GB, free: 1.891 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.143e-05/0.005745, allocations: 4 kB / 0.6498 GB, free: 1.887 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001828/0.005928, allocations: 23.97 kB / 0.6499 GB, free: 1.863 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 8.27e-05/0.00601, allocations: 11.92 kB / 0.6499 GB, free: 1.852 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.72e-05/0.006028, allocations: 3.938 kB / 0.6499 GB, free: 1.848 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000368/0.006396, allocations: 155.7 kB / 0.65 GB, free: 1.695 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.859e-05/0.006414, allocations: 4 kB / 0.65 GB, free: 1.691 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.293e-05/0.006437, allocations: 4 kB / 0.65 GB, free: 1.688 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.000387/0.006824, allocations: 167.5 kB / 0.6502 GB, free: 1.523 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 2.905e-06/0.006827, allocations: 0 / 0.6502 GB, free: 1.523 MB / 0.5606 GB Notification: Performance of FrontEnd: time 8.21e-07/0.006828, allocations: 4 kB / 0.6502 GB, free: 1.52 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.929e-06/0.006833, allocations: 0 / 0.6502 GB, free: 1.52 MB / 0.5606 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.0004428/0.007275, allocations: 294 kB / 0.6505 GB, free: 1.203 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.584e-05/0.007311, allocations: 8.75 kB / 0.6505 GB, free: 1.195 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.044e-05/0.007392, allocations: 76.22 kB / 0.6506 GB, free: 1.121 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001699/0.007562, allocations: 189 kB / 0.6507 GB, free: 0.9102 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.719e-05/0.007639, allocations: 158.9 kB / 0.6509 GB, free: 0.7539 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.726e-05/0.007716, allocations: 158.9 kB / 0.651 GB, free: 0.5977 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.208e-05/0.007798, allocations: 109.5 kB / 0.6511 GB, free: 496 kB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.772e-05/0.007836, allocations: 79.22 kB / 0.6512 GB, free: 416 kB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.225e-05/0.007908, allocations: 150.6 kB / 0.6514 GB, free: 264 kB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.174e-05/0.00797, allocations: 150.6 kB / 0.6515 GB, free: 112 kB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2632/0.2712, allocations: 154.6 kB / 0.6517 GB, free: 57.05 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002287/0.2714, allocations: 401 kB / 0.652 GB, free: 56.64 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 5.783e-05/0.2715, allocations: 168.2 kB / 0.6522 GB, free: 56.47 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.59e-05/0.2715, allocations: 80.7 kB / 0.6523 GB, free: 56.39 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.528e-05/0.2715, allocations: 81.59 kB / 0.6523 GB, free: 56.32 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.162e-05/0.2715, allocations: 108 kB / 0.6525 GB, free: 56.2 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=0): time 1.683e-06/0.2715, allocations: 1.094 kB / 0.6525 GB, free: 56.2 MB / 0.5606 GB Notification: Performance of matching and sorting (n=0): time 8.941e-05/0.2716, allocations: 28.92 kB / 0.6525 GB, free: 56.17 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.49e-05/0.2717, allocations: 132.4 kB / 0.6526 GB, free: 56.04 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.209e-05/0.2717, allocations: 108 kB / 0.6527 GB, free: 55.94 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.112e-05/0.2718, allocations: 28.28 kB / 0.6527 GB, free: 55.91 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 2.345e-05/0.2718, allocations: 86.8 kB / 0.6528 GB, free: 55.82 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 1.684e-06/0.2718, allocations: 1.062 kB / 0.6528 GB, free: 55.82 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.763e-05/0.2718, allocations: 20.02 kB / 0.6528 GB, free: 55.81 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 3.838e-05/0.2719, allocations: 315.3 kB / 0.6531 GB, free: 55.5 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.34e-05/0.2719, allocations: 5.5 kB / 0.6531 GB, free: 55.5 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.758e-05/0.2719, allocations: 102.7 kB / 0.6532 GB, free: 55.38 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.41e-05/0.272, allocations: 26.73 kB / 0.6533 GB, free: 55.36 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.272, allocations: 4.5 kB / 0.6533 GB, free: 55.36 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001167/0.2721, allocations: 46.19 kB / 0.6533 GB, free: 55.32 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.452e-05/0.2721, allocations: 7.938 kB / 0.6533 GB, free: 55.32 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.519e-06/0.2721, allocations: 3.438 kB / 0.6533 GB, free: 55.32 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.552e-05/0.2721, allocations: 2.5 kB / 0.6533 GB, free: 55.32 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.02e-05/0.2722, allocations: 7.859 kB / 0.6533 GB, free: 55.32 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.522e-06/0.2722, allocations: 9.969 kB / 0.6533 GB, free: 55.32 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001526/0.2724, allocations: 13.78 kB / 0.6534 GB, free: 55.32 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.103e-05/0.2724, allocations: 4.25 kB / 0.6534 GB, free: 55.32 MB / 0.5606 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.089e-05/0.2724, allocations: 188.5 kB / 0.6535 GB, free: 55.13 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.224e-05/0.2725, allocations: 108.5 kB / 0.6536 GB, free: 55.03 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.245e-05/0.2725, allocations: 104.9 kB / 0.6537 GB, free: 54.92 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.025e-05/0.2725, allocations: 180.5 kB / 0.6539 GB, free: 54.74 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.205e-05/0.2725, allocations: 185.7 kB / 0.6541 GB, free: 54.55 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.952e-05/0.2726, allocations: 180.5 kB / 0.6543 GB, free: 54.38 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000108/0.2727, allocations: 360.2 kB / 0.6546 GB, free: 54 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.287e-05/0.2727, allocations: 102 kB / 0.6547 GB, free: 53.89 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.133e-05/0.2727, allocations: 104.9 kB / 0.6548 GB, free: 53.79 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.023e-05/0.2727, allocations: 181.4 kB / 0.655 GB, free: 53.61 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.119e-05/0.2727, allocations: 184.2 kB / 0.6552 GB, free: 53.42 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.068e-05/0.2728, allocations: 181.9 kB / 0.6553 GB, free: 53.24 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.137e-05/0.2728, allocations: 177.5 kB / 0.6555 GB, free: 53.06 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.622e-05/0.2728, allocations: 309.1 kB / 0.6558 GB, free: 52.75 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.884e-05/0.2728, allocations: 113.4 kB / 0.6559 GB, free: 52.64 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.921e-05/0.2729, allocations: 178.3 kB / 0.6561 GB, free: 52.46 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.772e-05/0.2729, allocations: 111.2 kB / 0.6562 GB, free: 52.35 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.459e-05/0.273, allocations: 182.4 kB / 0.6564 GB, free: 52.17 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.317e-05/0.273, allocations: 105.6 kB / 0.6565 GB, free: 52.06 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 2.435e-05/0.273, allocations: 87.27 kB / 0.6565 GB, free: 51.98 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9.1e-08/0.273, allocations: 0 / 0.6565 GB, free: 51.98 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003242/0.2733, allocations: 54.02 kB / 0.6566 GB, free: 51.98 MB / 0.5606 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.0006001/0.2739, allocations: 357.2 kB / 0.6569 GB, free: 51.82 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 7.537e-05/0.274, allocations: 17.12 kB / 0.6569 GB, free: 51.82 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.274, allocations: 0 / 0.6569 GB, free: 51.82 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 1.693e-06/0.274, allocations: 2.469 kB / 0.6569 GB, free: 51.82 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002486/0.2743, allocations: 457.7 kB / 0.6574 GB, free: 51.38 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002039/0.2745, allocations: 171.5 kB / 0.6575 GB, free: 51.2 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.954e-05/0.2745, allocations: 64.64 kB / 0.6576 GB, free: 51.13 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 2.109e-05/0.2745, allocations: 0.5938 kB / 0.6576 GB, free: 51.13 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.344e-05/0.2745, allocations: 9.781 kB / 0.6576 GB, free: 51.12 MB / 0.5606 GB Notification: Performance of SimCode: time 3.3e-07/0.2745, allocations: 3.562 kB / 0.6576 GB, free: 51.12 MB / 0.5606 GB Notification: Performance of Templates: time 0.004103/0.2786, allocations: 1.648 MB / 0.6592 GB, free: 51.02 MB / 0.5606 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.932855397462845] Failed to read output from testmodel.py, exit status != 0: 0.28624678030610085 0.295622141 0.28655362300000004 Calling exit ...