Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.0006485/0.0006485, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009184/0.001567, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.0007349/0.0007349, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009597/0.001695, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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 0.9586/0.9586, allocations: 177.2 MB / 189.7 MB, free: 5.234 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07871/1.037, allocations: 53.67 MB / 243.4 MB, free: 15.49 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/Examples/PPD12/Structure.mo:531:21-535:34: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-master/Examples/PPD12/Structure.mo:531:21-535:42:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/package.mo): time 0.7636/0.7636, allocations: 155.4 MB / 399.5 MB, free: 15.8 MB / 394.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/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-master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. Notification: Performance of NFInstanceAPI.mkTop(): time 0.2831/1.047, allocations: 49.13 MB / 448.6 MB, free: 5.891 MB / 426.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-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(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement") translateModel(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 450 MB, free: 4.562 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.289e-05/2.449e-05, allocations: 5.359 kB / 450 MB, free: 4.559 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement): time 0.00216/0.002185, allocations: 1.373 MB / 451.4 MB, free: 3.203 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.00803/0.01021, allocations: 1.635 MB / 453 MB, free: 1.574 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.002e-05/0.01024, allocations: 1.406 kB / 453 MB, free: 1.574 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 7.754e-06/0.01025, allocations: 0 / 453 MB, free: 1.574 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 9.644e-05/0.01035, allocations: 17.88 kB / 453 MB, free: 1.559 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005341/0.01088, allocations: 206.5 kB / 453.2 MB, free: 1.363 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 6.971e-05/0.01095, allocations: 25.67 kB / 453.2 MB, free: 1.344 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.112e-05/0.01098, allocations: 4.656 kB / 453.2 MB, free: 1.34 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001386/0.01112, allocations: 26.62 kB / 453.3 MB, free: 1.316 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.05e-05/0.01118, allocations: 8.859 kB / 453.3 MB, free: 1.309 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 1.742e-05/0.0112, allocations: 3.938 kB / 453.3 MB, free: 1.305 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003136/0.01151, allocations: 166.7 kB / 453.4 MB, free: 1.145 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 1.412e-05/0.01153, allocations: 0.7656 kB / 453.4 MB, free: 1.145 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 1.768e-05/0.01155, allocations: 9.609 kB / 453.5 MB, free: 1.137 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002301/0.01178, allocations: 138.9 kB / 453.6 MB, free: 1.004 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.809e-06/0.01179, allocations: 0.5312 kB / 453.6 MB, free: 1.004 MB / 426.7 MB Notification: Performance of FrontEnd: time 9.52e-07/0.01179, allocations: 0 / 453.6 MB, free: 1.004 MB / 426.7 MB Notification: Performance of Transformations before backend: time 7.905e-06/0.01179, allocations: 1.281 kB / 453.6 MB, free: 1.004 MB / 426.7 MB 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.0003083/0.0121, allocations: 289.2 kB / 453.9 MB, free: 0.7031 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.048e-05/0.01213, allocations: 12.03 kB / 453.9 MB, free: 0.6914 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00408/0.01621, allocations: 76.94 kB / 454 MB, free: 0.6172 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001195/0.01633, allocations: 189 kB / 454.1 MB, free: 416 kB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.049e-05/0.01638, allocations: 160.8 kB / 454.3 MB, free: 256 kB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.336e-05/0.01644, allocations: 154.9 kB / 454.5 MB, free: 100 kB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.028e-05/0.0165, allocations: 101.5 kB / 454.6 MB, free: 15.99 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.309e-05/0.01652, allocations: 83.22 kB / 454.6 MB, free: 15.91 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.892e-05/0.01656, allocations: 150.6 kB / 454.8 MB, free: 15.76 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.917e-05/0.0166, allocations: 151.8 kB / 454.9 MB, free: 15.61 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.625e-05/0.01664, allocations: 158.6 kB / 455.1 MB, free: 15.46 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000188/0.01683, allocations: 353.9 kB / 455.4 MB, free: 15.1 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.717e-05/0.0169, allocations: 171.1 kB / 455.6 MB, free: 14.92 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.621e-05/0.01693, allocations: 80.14 kB / 455.7 MB, free: 14.84 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.099e-05/0.01695, allocations: 75.28 kB / 455.8 MB, free: 14.77 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.428e-05/0.01699, allocations: 119.1 kB / 455.9 MB, free: 14.64 MB / 442.7 MB Notification: Performance of pre-optimization done (n=0): time 9.62e-07/0.01699, allocations: 0 / 455.9 MB, free: 14.64 MB / 442.7 MB Notification: Performance of matching and sorting (n=0): time 6.324e-05/0.01706, allocations: 30.52 kB / 455.9 MB, free: 14.61 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.599e-05/0.01711, allocations: 134.6 kB / 456 MB, free: 14.46 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.653e-05/0.0172, allocations: 107.3 kB / 456.1 MB, free: 14.34 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.421e-05/0.01721, allocations: 26.47 kB / 456.2 MB, free: 14.31 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.855e-05/0.01725, allocations: 89.53 kB / 456.2 MB, free: 14.22 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.232e-06/0.01725, allocations: 0 / 456.2 MB, free: 14.22 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.913e-05/0.01729, allocations: 21.7 kB / 456.3 MB, free: 14.2 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 8.919e-05/0.01738, allocations: 318.8 kB / 456.6 MB, free: 13.88 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.203e-05/0.01739, allocations: 0.7812 kB / 456.6 MB, free: 13.88 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.78e-05/0.01745, allocations: 96.58 kB / 456.7 MB, free: 13.75 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.833e-05/0.01749, allocations: 32.48 kB / 456.7 MB, free: 13.71 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.01749, allocations: 0.8438 kB / 456.7 MB, free: 13.71 MB / 442.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 8.829e-05/0.01758, allocations: 50.31 kB / 456.8 MB, free: 13.66 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.613e-05/0.01759, allocations: 4 kB / 456.8 MB, free: 13.66 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.0176, allocations: 0.8125 kB / 456.8 MB, free: 13.66 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.008e-05/0.01761, allocations: 1.234 kB / 456.8 MB, free: 13.66 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.998e-05/0.01767, allocations: 8.625 kB / 456.8 MB, free: 13.65 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.781e-06/0.01768, allocations: 9.438 kB / 456.8 MB, free: 13.64 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.368e-05/0.01777, allocations: 7.984 kB / 456.8 MB, free: 13.63 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.588e-06/0.01778, allocations: 0 / 456.8 MB, free: 13.63 MB / 442.7 MB 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 8.312e-05/0.01786, allocations: 189.1 kB / 457 MB, free: 13.44 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.176e-05/0.01791, allocations: 103.1 kB / 457.1 MB, free: 13.33 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.015e-05/0.01796, allocations: 118.5 kB / 457.2 MB, free: 13.21 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.114e-05/0.01801, allocations: 184.2 kB / 457.4 MB, free: 13.02 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.843e-05/0.01806, allocations: 182.9 kB / 457.5 MB, free: 12.84 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.209e-05/0.01812, allocations: 188.2 kB / 457.7 MB, free: 12.64 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001571/0.01827, allocations: 318.1 kB / 458 MB, free: 12.31 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.983e-05/0.0183, allocations: 101 kB / 458.1 MB, free: 12.2 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.084e-05/0.01833, allocations: 105.9 kB / 458.2 MB, free: 12.09 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.451e-05/0.01837, allocations: 105 kB / 458.3 MB, free: 11.98 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.168e-05/0.01842, allocations: 185.4 kB / 458.5 MB, free: 11.8 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.928e-05/0.01847, allocations: 184.2 kB / 458.7 MB, free: 11.61 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.874e-05/0.01852, allocations: 176.3 kB / 458.9 MB, free: 11.43 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.981e-05/0.01857, allocations: 181 kB / 459.1 MB, free: 11.25 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001081/0.01868, allocations: 308.7 kB / 459.4 MB, free: 10.92 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.621e-05/0.01873, allocations: 184.9 kB / 459.5 MB, free: 10.73 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.01e-05/0.0188, allocations: 105 kB / 459.6 MB, free: 10.62 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.256e-05/0.01885, allocations: 184.8 kB / 459.8 MB, free: 10.44 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.003056/0.02191, allocations: 101.5 kB / 459.9 MB, free: 10.33 MB / 442.7 MB Notification: Performance of sorting global known variables: time 2.71e-05/0.02194, allocations: 12.84 kB / 459.9 MB, free: 10.32 MB / 442.7 MB Notification: Performance of sort global known variables: time 8e-08/0.02194, allocations: 0.5625 kB / 459.9 MB, free: 10.32 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0003074/0.02224, allocations: 57.31 kB / 460 MB, free: 10.26 MB / 442.7 MB 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.0007116/0.02296, allocations: 389.1 kB / 460.4 MB, free: 9.977 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 7.274e-05/0.02303, allocations: 26.05 kB / 460.4 MB, free: 9.949 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/0.02303, allocations: 0 / 460.4 MB, free: 9.949 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 2.846e-06/0.02304, allocations: 0 / 460.4 MB, free: 9.949 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002503/0.02329, allocations: 468.2 kB / 460.9 MB, free: 9.488 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001148/0.02443, allocations: 189.3 kB / 461 MB, free: 9.281 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.879e-05/0.02447, allocations: 60.88 kB / 461.1 MB, free: 9.203 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 2.661e-05/0.0245, allocations: 1.219 kB / 461.1 MB, free: 9.203 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.018e-05/0.02455, allocations: 55.36 kB / 461.2 MB, free: 9.148 MB / 442.7 MB Notification: Performance of SimCode: time 8.91e-07/0.02455, allocations: 0 / 461.2 MB, free: 9.148 MB / 442.7 MB Notification: Performance of Templates: time 0.01069/0.03524, allocations: 1.971 MB / 463.1 MB, free: 7.371 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.sim & ./IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.569510405883193]