Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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.002069/0.002069, allocations: 80.3 kB / 19.18 MB, free: 2.516 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.003146/0.003146, allocations: 162.4 kB / 22.46 MB, free: 5.375 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.436/1.436, 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/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:686:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 1.193/1.193, allocations: 154.6 MB / 413.8 MB, free: 5.223 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 178] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement") translateModel(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.344e-06/2.344e-06, allocations: 0 / 0.6186 GB, free: 4.512 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.469e-05/3.703e-05, allocations: 2.281 kB / 0.6186 GB, free: 4.508 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement): time 0.002945/0.002982, allocations: 1.29 MB / 0.6199 GB, free: 3.215 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.002676/0.005658, allocations: 1.535 MB / 0.6214 GB, free: 1.672 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.129e-05/0.005699, allocations: 0 / 0.6214 GB, free: 1.672 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.052e-05/0.005719, allocations: 0 / 0.6214 GB, free: 1.672 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0002637/0.005983, allocations: 22.75 kB / 0.6214 GB, free: 1.652 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007829/0.006766, allocations: 218.7 kB / 0.6216 GB, free: 1.441 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 9.717e-05/0.006863, allocations: 27.92 kB / 0.6216 GB, free: 1.414 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 5.165e-05/0.006915, allocations: 4 kB / 0.6216 GB, free: 1.41 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001974/0.007112, allocations: 27.91 kB / 0.6216 GB, free: 1.383 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 7.59e-05/0.007188, allocations: 7.984 kB / 0.6217 GB, free: 1.375 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.715e-05/0.007205, allocations: 0 / 0.6217 GB, free: 1.375 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003758/0.007581, allocations: 159.6 kB / 0.6218 GB, free: 1.219 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.66e-05/0.007598, allocations: 7.984 kB / 0.6218 GB, free: 1.211 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.44e-05/0.007632, allocations: 11.98 kB / 0.6218 GB, free: 1.199 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0003836/0.008016, allocations: 167.6 kB / 0.622 GB, free: 1.035 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 6.983e-06/0.008023, allocations: 0 / 0.622 GB, free: 1.035 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.082e-06/0.008024, allocations: 0 / 0.622 GB, free: 1.035 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.883e-06/0.008031, allocations: 0 / 0.622 GB, free: 1.035 MB / 0.5294 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.0004643/0.008495, allocations: 293.9 kB / 0.6223 GB, free: 0.7188 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.566e-05/0.008541, allocations: 8.031 kB / 0.6223 GB, free: 0.7109 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.573e-05/0.008626, allocations: 80.22 kB / 0.6224 GB, free: 0.6328 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001787/0.008805, allocations: 181.1 kB / 0.6225 GB, free: 440 kB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.1e-05/0.008886, allocations: 158.9 kB / 0.6227 GB, free: 280 kB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.562e-05/0.008962, allocations: 150.9 kB / 0.6228 GB, free: 128 kB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.056e-05/0.009042, allocations: 109.5 kB / 0.6229 GB, free: 12 kB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.119e-05/0.009113, allocations: 83.2 kB / 0.623 GB, free: 15.93 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.354e-05/0.009177, allocations: 150.6 kB / 0.6231 GB, free: 15.78 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.4e-05/0.009241, allocations: 158.5 kB / 0.6233 GB, free: 15.62 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.756e-05/0.009308, allocations: 154.6 kB / 0.6234 GB, free: 15.47 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003153/0.009624, allocations: 405.5 kB / 0.6238 GB, free: 15.05 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001038/0.009728, allocations: 173.1 kB / 0.624 GB, free: 14.87 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.306e-05/0.009771, allocations: 84.14 kB / 0.6241 GB, free: 14.78 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 3.748e-05/0.009808, allocations: 75.28 kB / 0.6242 GB, free: 14.71 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.873e-05/0.009877, allocations: 113.8 kB / 0.6243 GB, free: 14.59 MB / 0.545 GB Notification: Performance of pre-optimization done (n=0): time 9.12e-07/0.009878, allocations: 0 / 0.6243 GB, free: 14.59 MB / 0.545 GB Notification: Performance of matching and sorting (n=0): time 0.0001019/0.00998, allocations: 37.64 kB / 0.6243 GB, free: 14.54 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.479e-05/0.01006, allocations: 130.6 kB / 0.6244 GB, free: 14.4 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001158/0.01018, allocations: 105.8 kB / 0.6245 GB, free: 14.29 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.124e-05/0.0102, allocations: 25.7 kB / 0.6245 GB, free: 14.26 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.08e-05/0.01025, allocations: 80.14 kB / 0.6246 GB, free: 14.18 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.364e-06/0.01025, allocations: 0 / 0.6246 GB, free: 14.18 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.302e-05/0.0103, allocations: 25.66 kB / 0.6246 GB, free: 14.14 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001439/0.01044, allocations: 314.8 kB / 0.6249 GB, free: 13.83 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.374e-05/0.01047, allocations: 12 kB / 0.625 GB, free: 13.82 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001015/0.01057, allocations: 99.69 kB / 0.6251 GB, free: 13.69 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.209e-05/0.01062, allocations: 30.5 kB / 0.6251 GB, free: 13.65 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.01062, allocations: 0 / 0.6251 GB, free: 13.65 MB / 0.545 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001618/0.01078, allocations: 45.64 kB / 0.6251 GB, free: 13.6 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.862e-05/0.0108, allocations: 8 kB / 0.6251 GB, free: 13.59 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.015e-06/0.01081, allocations: 3.984 kB / 0.6251 GB, free: 13.59 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.862e-05/0.01083, allocations: 8.031 kB / 0.6251 GB, free: 13.58 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.842e-05/0.01091, allocations: 4.25 kB / 0.6251 GB, free: 13.58 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.216e-06/0.01091, allocations: 4 kB / 0.6252 GB, free: 13.57 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001499/0.01106, allocations: 8 kB / 0.6252 GB, free: 13.57 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.38e-05/0.01108, allocations: 3.984 kB / 0.6252 GB, free: 13.56 MB / 0.545 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.0001275/0.01121, allocations: 190 kB / 0.6253 GB, free: 13.37 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.335e-05/0.01129, allocations: 116.9 kB / 0.6255 GB, free: 13.25 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.849e-05/0.01135, allocations: 104.1 kB / 0.6256 GB, free: 13.14 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.171e-05/0.01142, allocations: 180.2 kB / 0.6257 GB, free: 12.95 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.167e-05/0.0115, allocations: 188.2 kB / 0.6259 GB, free: 12.76 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.628e-05/0.01158, allocations: 180.3 kB / 0.6261 GB, free: 12.58 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002218/0.0118, allocations: 356.8 kB / 0.6264 GB, free: 12.19 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.682e-05/0.01185, allocations: 108.9 kB / 0.6265 GB, free: 12.08 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.932e-05/0.01189, allocations: 101 kB / 0.6266 GB, free: 11.97 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.716e-05/0.01196, allocations: 184.2 kB / 0.6268 GB, free: 11.79 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.855e-05/0.01204, allocations: 176.3 kB / 0.627 GB, free: 11.61 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.788e-05/0.01212, allocations: 184.2 kB / 0.6271 GB, free: 11.42 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.718e-05/0.0122, allocations: 188.2 kB / 0.6273 GB, free: 11.23 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001719/0.01237, allocations: 303.8 kB / 0.6276 GB, free: 10.91 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.391e-05/0.01242, allocations: 105 kB / 0.6277 GB, free: 10.8 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.965e-05/0.01252, allocations: 192.2 kB / 0.6279 GB, free: 10.6 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.717e-05/0.01261, allocations: 101 kB / 0.628 GB, free: 10.5 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.702e-05/0.0127, allocations: 188.1 kB / 0.6282 GB, free: 10.3 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.194e-05/0.01274, allocations: 101 kB / 0.6283 GB, free: 10.2 MB / 0.545 GB Notification: Performance of sorting global known variables: time 6.982e-05/0.01281, allocations: 83.28 kB / 0.6283 GB, free: 10.12 MB / 0.545 GB Notification: Performance of sort global known variables: time 6e-08/0.01281, allocations: 0 / 0.6283 GB, free: 10.12 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003506/0.01316, allocations: 47.86 kB / 0.6284 GB, free: 10.07 MB / 0.545 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.0007856/0.01394, allocations: 361.4 kB / 0.6287 GB, free: 9.758 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001171/0.01406, allocations: 19.92 kB / 0.6288 GB, free: 9.738 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.01406, allocations: 0 / 0.6288 GB, free: 9.738 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 1.503e-06/0.01407, allocations: 0 / 0.6288 GB, free: 9.738 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004006/0.01447, allocations: 459.7 kB / 0.6292 GB, free: 9.285 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003123/0.01478, allocations: 164.1 kB / 0.6293 GB, free: 9.098 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.647e-05/0.01483, allocations: 59.34 kB / 0.6294 GB, free: 9.02 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.092e-05/0.01487, allocations: 7.891 kB / 0.6294 GB, free: 9.012 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.36e-05/0.01489, allocations: 12.5 kB / 0.6294 GB, free: 9 MB / 0.545 GB Notification: Performance of SimCode: time 5.51e-07/0.01489, allocations: 0 / 0.6294 GB, free: 9 MB / 0.545 GB Notification: Performance of Templates: time 0.005092/0.01998, allocations: 1.639 MB / 0.631 GB, free: 7.41 MB / 0.545 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.makefile [Timeout 660] (rm -f IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.sim & ./IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.701167888939381] Failed to read output from testmodel.py, exit status != 0: 0.030094027519226074 0.046327935 0.034991612000000005 Calling exit ...