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.001092/0.001092, allocations: 80.81 kB / 19.94 MB, free: 4.543 MB / 18.57 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.0009442/0.0009442, allocations: 177 kB / 23.36 MB, free: 1.129 MB / 18.57 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.003/1.003, allocations: 177.1 MB / 203.8 MB, free: 5.473 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 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 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 master/package.mo): time 0.7484/0.7484, allocations: 154.9 MB / 415.1 MB, free: 248 kB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 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 master/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 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 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.332e-06/1.332e-06, allocations: 0 / 480.4 MB, free: 6.559 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.645e-05/1.778e-05, allocations: 4.172 kB / 480.4 MB, free: 6.555 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement): time 0.004922/0.004939, allocations: 1.328 MB / 481.7 MB, free: 5.246 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.001872/0.006812, allocations: 1.605 MB / 483.3 MB, free: 3.648 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.743e-05/0.006849, allocations: 0 / 483.3 MB, free: 3.648 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 1.833e-05/0.006867, allocations: 0 / 483.3 MB, free: 3.648 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002135/0.007081, allocations: 21.5 kB / 483.3 MB, free: 3.629 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003515/0.0106, allocations: 208.1 kB / 483.5 MB, free: 3.434 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 7.418e-05/0.01067, allocations: 34.11 kB / 483.6 MB, free: 3.406 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 2.927e-05/0.0107, allocations: 0.875 kB / 483.6 MB, free: 3.406 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001147/0.01081, allocations: 33.48 kB / 483.6 MB, free: 3.375 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.143e-05/0.01087, allocations: 5.953 kB / 483.6 MB, free: 3.371 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.017e-05/0.01088, allocations: 0 / 483.6 MB, free: 3.371 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002323/0.01111, allocations: 150.5 kB / 483.8 MB, free: 3.227 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 1.312e-05/0.01112, allocations: 7.984 kB / 483.8 MB, free: 3.219 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 1.639e-05/0.01114, allocations: 13.48 kB / 483.8 MB, free: 3.207 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000219/0.01136, allocations: 166.7 kB / 483.9 MB, free: 3.047 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.01136, allocations: 4.656 kB / 483.9 MB, free: 3.043 MB / 442.7 MB Notification: Performance of FrontEnd: time 8.91e-07/0.01136, allocations: 0 / 483.9 MB, free: 3.043 MB / 442.7 MB Notification: Performance of Transformations before backend: time 2.515e-06/0.01136, allocations: 0.6562 kB / 483.9 MB, free: 3.043 MB / 442.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.0002474/0.01161, allocations: 263.3 kB / 484.2 MB, free: 2.766 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.974e-05/0.01164, allocations: 9.25 kB / 484.2 MB, free: 2.758 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.839e-05/0.01169, allocations: 88.16 kB / 484.3 MB, free: 2.672 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.292e-05/0.01178, allocations: 185.1 kB / 484.5 MB, free: 2.465 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.24e-05/0.01182, allocations: 156 kB / 484.6 MB, free: 2.312 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.442e-05/0.01187, allocations: 154.9 kB / 484.8 MB, free: 2.16 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.551e-05/0.01191, allocations: 101.5 kB / 484.9 MB, free: 2.055 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.154e-05/0.01194, allocations: 80.38 kB / 485 MB, free: 1.977 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.706e-05/0.01197, allocations: 154.5 kB / 485.1 MB, free: 1.824 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.937e-05/0.01201, allocations: 154.6 kB / 485.3 MB, free: 1.672 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.781e-05/0.01205, allocations: 155 kB / 485.4 MB, free: 1.52 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001734/0.01222, allocations: 363.3 kB / 485.8 MB, free: 1.152 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.437e-05/0.01229, allocations: 169.1 kB / 485.9 MB, free: 0.9766 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.431e-05/0.01231, allocations: 84.14 kB / 486 MB, free: 0.8906 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.164e-05/0.01233, allocations: 75.28 kB / 486.1 MB, free: 0.8164 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.61e-05/0.01237, allocations: 107.1 kB / 486.2 MB, free: 0.7031 MB / 442.7 MB Notification: Performance of pre-optimization done (n=0): time 7.11e-07/0.01237, allocations: 0 / 486.2 MB, free: 0.7031 MB / 442.7 MB Notification: Performance of matching and sorting (n=0): time 5.543e-05/0.01243, allocations: 37.64 kB / 486.2 MB, free: 0.6602 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.256e-05/0.01248, allocations: 134.6 kB / 486.4 MB, free: 0.5156 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.464e-05/0.01255, allocations: 111.3 kB / 486.5 MB, free: 404 kB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.141e-05/0.01256, allocations: 26.95 kB / 486.5 MB, free: 372 kB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.73e-05/0.01259, allocations: 84.08 kB / 486.6 MB, free: 284 kB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.042e-06/0.01259, allocations: 0 / 486.6 MB, free: 284 kB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.524e-05/0.01263, allocations: 29.69 kB / 486.6 MB, free: 248 kB / 442.7 MB Notification: Performance of setup shared object (initialization): time 9.379e-05/0.01272, allocations: 311.8 kB / 486.9 MB, free: 15.93 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.674e-06/0.01273, allocations: 0 / 486.9 MB, free: 15.93 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.161e-05/0.01278, allocations: 105.6 kB / 487 MB, free: 15.8 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.288e-05/0.01281, allocations: 27.47 kB / 487 MB, free: 15.77 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.01282, allocations: 0.625 kB / 487 MB, free: 15.77 MB / 458.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 7.086e-05/0.01289, allocations: 46.25 kB / 487.1 MB, free: 15.71 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.017e-05/0.0129, allocations: 4.625 kB / 487.1 MB, free: 15.71 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.0129, allocations: 4 kB / 487.1 MB, free: 15.71 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.148e-05/0.01291, allocations: 4.609 kB / 487.1 MB, free: 15.7 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.649e-05/0.01296, allocations: 4.625 kB / 487.1 MB, free: 15.7 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.895e-06/0.01297, allocations: 7.875 kB / 487.1 MB, free: 15.69 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.391e-05/0.01304, allocations: 8.625 kB / 487.1 MB, free: 15.68 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.036e-06/0.01305, allocations: 0 / 487.1 MB, free: 15.68 MB / 458.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.035e-05/0.01313, allocations: 189.7 kB / 487.3 MB, free: 15.49 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.287e-05/0.01317, allocations: 109.7 kB / 487.4 MB, free: 15.38 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00615/0.01932, allocations: 109.9 kB / 487.5 MB, free: 15.26 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.654e-05/0.01937, allocations: 180.3 kB / 487.7 MB, free: 15.08 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.407e-05/0.01941, allocations: 184.8 kB / 487.9 MB, free: 14.89 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.934e-05/0.01948, allocations: 184.2 kB / 488.1 MB, free: 14.7 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001415/0.01962, allocations: 313.5 kB / 488.4 MB, free: 14.37 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.563e-05/0.01965, allocations: 106.5 kB / 488.5 MB, free: 14.26 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.269e-05/0.01967, allocations: 101 kB / 488.6 MB, free: 14.16 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.612e-05/0.01972, allocations: 188.2 kB / 488.7 MB, free: 13.96 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.08e-05/0.01981, allocations: 184.2 kB / 488.9 MB, free: 13.78 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.689e-05/0.01986, allocations: 181.2 kB / 489.1 MB, free: 13.59 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.109e-05/0.0199, allocations: 180.2 kB / 489.3 MB, free: 13.41 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.489e-05/0.01999, allocations: 307 kB / 489.6 MB, free: 13.09 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.257e-05/0.02002, allocations: 108.9 kB / 489.7 MB, free: 12.98 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.215e-05/0.02008, allocations: 176.3 kB / 489.9 MB, free: 12.8 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.884e-05/0.02014, allocations: 104.9 kB / 490 MB, free: 12.69 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.036e-05/0.02019, allocations: 196.5 kB / 490.2 MB, free: 12.49 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.487e-05/0.02021, allocations: 101 kB / 490.3 MB, free: 12.38 MB / 458.7 MB Notification: Performance of sorting global known variables: time 1.674e-05/0.02023, allocations: 14.3 kB / 490.3 MB, free: 12.37 MB / 458.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02023, allocations: 3.938 kB / 490.3 MB, free: 12.36 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0002689/0.0205, allocations: 59.73 kB / 490.3 MB, free: 12.3 MB / 458.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.0005242/0.02102, allocations: 359.5 kB / 490.7 MB, free: 12.03 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 5.626e-05/0.02108, allocations: 17.41 kB / 490.7 MB, free: 12.01 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.02108, allocations: 4 kB / 490.7 MB, free: 12.01 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 1.122e-06/0.02108, allocations: 1.094 kB / 490.7 MB, free: 12.01 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003119/0.02139, allocations: 463.6 kB / 491.2 MB, free: 11.55 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000367/0.02176, allocations: 182.9 kB / 491.3 MB, free: 11.35 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.267e-05/0.02179, allocations: 59.34 kB / 491.4 MB, free: 11.27 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 2.066e-05/0.02181, allocations: 3.938 kB / 491.4 MB, free: 11.27 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.53e-05/0.02185, allocations: 52.12 kB / 491.4 MB, free: 11.21 MB / 458.7 MB Notification: Performance of SimCode: time 5.01e-07/0.02185, allocations: 0 / 491.4 MB, free: 11.21 MB / 458.7 MB Notification: Performance of Templates: time 0.00951/0.03136, allocations: 1.914 MB / 493.4 MB, free: 9.5 MB / 458.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.731070269830525]