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.001307/0.001307, allocations: 82.02 kB / 19.87 MB, free: 4.621 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.001572/0.001572, allocations: 174 kB / 23.28 MB, free: 1.223 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 0.8862/0.8862, allocations: 177.1 MB / 203.7 MB, free: 5.504 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.7061/0.7061, allocations: 154.9 MB / 415.1 MB, free: 272 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.292e-06/1.292e-06, allocations: 0 / 0.5211 GB, free: 1.496 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.898e-06/1.119e-05, allocations: 6.312 kB / 0.5211 GB, free: 1.488 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement): time 0.001432/0.001443, allocations: 1.323 MB / 0.5224 GB, free: 184 kB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001373/0.002816, allocations: 1.575 MB / 0.524 GB, free: 14.6 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.172e-05/0.002847, allocations: 0 / 0.524 GB, free: 14.6 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 1.464e-05/0.002862, allocations: 0 / 0.524 GB, free: 14.6 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0001737/0.003036, allocations: 27.41 kB / 0.524 GB, free: 14.58 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003789/0.003415, allocations: 215.8 kB / 0.5242 GB, free: 14.37 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 5.108e-05/0.003466, allocations: 23.92 kB / 0.5242 GB, free: 14.35 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 2.441e-05/0.00349, allocations: 0 / 0.5242 GB, free: 14.35 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001037/0.003594, allocations: 33.06 kB / 0.5243 GB, free: 14.32 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 4.385e-05/0.003638, allocations: 7.938 kB / 0.5243 GB, free: 14.31 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 9.648e-06/0.003647, allocations: 0 / 0.5243 GB, free: 14.31 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001908/0.003838, allocations: 148.6 kB / 0.5244 GB, free: 14.16 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 1.086e-05/0.003849, allocations: 4 kB / 0.5244 GB, free: 14.16 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 1.382e-05/0.003863, allocations: 13.19 kB / 0.5244 GB, free: 14.15 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001674/0.00403, allocations: 163.5 kB / 0.5246 GB, free: 13.99 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.685e-06/0.004033, allocations: 3.984 kB / 0.5246 GB, free: 13.98 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.362e-06/0.004034, allocations: 7.938 kB / 0.5246 GB, free: 13.98 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 2.585e-06/0.004037, allocations: 0.7188 kB / 0.5246 GB, free: 13.98 MB / 0.4948 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.0002313/0.004268, allocations: 384.5 kB / 0.525 GB, free: 13.57 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.084e-05/0.004299, allocations: 16.02 kB / 0.525 GB, free: 13.55 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.291e-05/0.004342, allocations: 121.5 kB / 0.5251 GB, free: 13.43 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.808e-05/0.00443, allocations: 243.8 kB / 0.5253 GB, free: 13.17 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.109e-05/0.004481, allocations: 242.8 kB / 0.5256 GB, free: 12.93 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.012e-05/0.004531, allocations: 243.4 kB / 0.5258 GB, free: 12.69 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.748e-05/0.004579, allocations: 150.2 kB / 0.5259 GB, free: 12.54 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.479e-05/0.004604, allocations: 123.1 kB / 0.5261 GB, free: 12.42 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.287e-05/0.004646, allocations: 241.6 kB / 0.5263 GB, free: 12.18 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.741e-05/0.004694, allocations: 238.4 kB / 0.5265 GB, free: 11.95 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.479e-05/0.004739, allocations: 242.3 kB / 0.5267 GB, free: 11.71 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001838/0.004922, allocations: 0.5647 MB / 0.5273 GB, free: 11.12 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 6.909e-05/0.004991, allocations: 265.4 kB / 0.5275 GB, free: 10.85 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.73e-05/0.005019, allocations: 126.9 kB / 0.5277 GB, free: 10.72 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.337e-05/0.005042, allocations: 127.2 kB / 0.5278 GB, free: 10.59 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.647e-05/0.005079, allocations: 156.5 kB / 0.5279 GB, free: 10.43 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=0): time 5.31e-07/0.005079, allocations: 0 / 0.5279 GB, free: 10.43 MB / 0.4948 GB Notification: Performance of matching and sorting (n=0): time 4.607e-05/0.005125, allocations: 30.61 kB / 0.528 GB, free: 10.39 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.08e-05/0.005166, allocations: 174.5 kB / 0.5281 GB, free: 10.21 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.143e-05/0.005237, allocations: 162.4 kB / 0.5283 GB, free: 10.04 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 9.598e-06/0.005247, allocations: 30.64 kB / 0.5283 GB, free: 10 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 3.583e-05/0.005283, allocations: 126.9 kB / 0.5284 GB, free: 9.871 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.172e-06/0.005284, allocations: 0 / 0.5284 GB, free: 9.871 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.768e-05/0.005312, allocations: 36.94 kB / 0.5285 GB, free: 9.828 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 9.215e-05/0.005404, allocations: 492.1 kB / 0.5289 GB, free: 9.336 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.689e-06/0.005409, allocations: 0 / 0.5289 GB, free: 9.336 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.558e-05/0.005454, allocations: 120.1 kB / 0.5291 GB, free: 9.188 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.968e-05/0.005484, allocations: 38.03 kB / 0.5291 GB, free: 9.141 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.192e-06/0.005485, allocations: 0 / 0.5291 GB, free: 9.141 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.34e-05/0.005558, allocations: 45.62 kB / 0.5291 GB, free: 9.09 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 9.298e-06/0.005568, allocations: 8 kB / 0.5291 GB, free: 9.082 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.577e-06/0.005571, allocations: 0.75 kB / 0.5291 GB, free: 9.082 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.008e-05/0.005581, allocations: 0 / 0.5291 GB, free: 9.082 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.44e-05/0.005626, allocations: 12.59 kB / 0.5292 GB, free: 9.07 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.458e-06/0.00563, allocations: 7.984 kB / 0.5292 GB, free: 9.062 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.657e-05/0.005697, allocations: 4.484 kB / 0.5292 GB, free: 9.059 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.066e-05/0.005707, allocations: 8 kB / 0.5292 GB, free: 9.051 MB / 0.4948 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 7.252e-05/0.00578, allocations: 280.5 kB / 0.5294 GB, free: 8.766 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.913e-05/0.005819, allocations: 146.4 kB / 0.5296 GB, free: 8.617 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.359e-05/0.005863, allocations: 160 kB / 0.5297 GB, free: 8.453 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.01e-05/0.005913, allocations: 264.1 kB / 0.53 GB, free: 8.188 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.951e-05/0.005962, allocations: 268 kB / 0.5302 GB, free: 7.918 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.981e-05/0.006012, allocations: 278.8 kB / 0.5305 GB, free: 7.641 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001358/0.006148, allocations: 476.5 kB / 0.531 GB, free: 7.141 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.921e-05/0.006177, allocations: 152.8 kB / 0.5311 GB, free: 6.984 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.544e-05/0.006203, allocations: 144.9 kB / 0.5312 GB, free: 6.836 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.894e-05/0.006251, allocations: 268.3 kB / 0.5315 GB, free: 6.566 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.112e-05/0.006303, allocations: 268.1 kB / 0.5318 GB, free: 6.297 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.83e-05/0.006351, allocations: 276.1 kB / 0.532 GB, free: 6.02 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.9e-05/0.0064, allocations: 274.2 kB / 0.5323 GB, free: 5.746 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001018/0.006502, allocations: 447.9 kB / 0.5327 GB, free: 5.281 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 3.496e-05/0.006537, allocations: 148.9 kB / 0.5329 GB, free: 5.129 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.261e-05/0.006599, allocations: 264.1 kB / 0.5331 GB, free: 4.863 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.964e-05/0.006649, allocations: 152.8 kB / 0.5332 GB, free: 4.707 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.897e-05/0.006698, allocations: 264.1 kB / 0.5335 GB, free: 4.441 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.936e-05/0.006727, allocations: 154 kB / 0.5336 GB, free: 4.285 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 3.25e-05/0.00676, allocations: 135.1 kB / 0.5338 GB, free: 4.152 MB / 0.4948 GB Notification: Performance of sort global known variables: time 7.1e-08/0.00676, allocations: 0.75 kB / 0.5338 GB, free: 4.152 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002007/0.00696, allocations: 55.73 kB / 0.5338 GB, free: 4.098 MB / 0.4948 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.0003854/0.007346, allocations: 410.9 kB / 0.5342 GB, free: 3.75 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 5.137e-05/0.007397, allocations: 11.69 kB / 0.5342 GB, free: 3.734 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.042e-06/0.007398, allocations: 0 / 0.5342 GB, free: 3.734 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 1.693e-06/0.0074, allocations: 3.938 kB / 0.5342 GB, free: 3.73 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002509/0.007651, allocations: 0.7079 MB / 0.5349 GB, free: 3.02 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003203/0.007971, allocations: 227.8 kB / 0.5351 GB, free: 2.77 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.457e-05/0.007996, allocations: 59.34 kB / 0.5352 GB, free: 2.691 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 1.728e-05/0.008013, allocations: 2.812 kB / 0.5352 GB, free: 2.691 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.305e-05/0.008046, allocations: 70.2 kB / 0.5353 GB, free: 2.621 MB / 0.4948 GB Notification: Performance of SimCode: time 5.71e-07/0.008047, allocations: 4 kB / 0.5353 GB, free: 2.617 MB / 0.4948 GB Notification: Performance of Templates: time 0.002841/0.01089, allocations: 1.934 MB / 0.5372 GB, free: 0.8516 MB / 0.4948 GB " [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.299325013998896]