Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.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.001037/0.001037, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001746/0.002784, 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.001261/0.001261, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001608/0.002869, 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 1.023/1.023, allocations: 177.2 MB / 189.7 MB, free: 5.238 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08202/1.105, allocations: 53.68 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.821/0.821, allocations: 155.3 MB / 399.5 MB, free: 15.82 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.2774/1.098, allocations: 49.13 MB / 448.6 MB, free: 5.91 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.LocalCivilTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime") translateModel(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.134e-06/2.134e-06, allocations: 0.875 kB / 450 MB, free: 4.574 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.966e-05/3.179e-05, allocations: 4.422 kB / 450 MB, free: 4.57 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime): time 0.001894/0.001926, allocations: 1.591 MB / 451.6 MB, free: 3 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.000514/0.00244, allocations: 500 kB / 452.1 MB, free: 2.516 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.32e-05/0.002473, allocations: 0 / 452.1 MB, free: 2.516 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 2.06e-05/0.002493, allocations: 7.922 kB / 452.1 MB, free: 2.508 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001069/0.0026, allocations: 29.06 kB / 452.1 MB, free: 2.484 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 5.853e-05/0.002659, allocations: 15.86 kB / 452.1 MB, free: 2.469 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 8.442e-05/0.002743, allocations: 55.45 kB / 452.2 MB, free: 2.43 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.095e-05/0.002814, allocations: 8.656 kB / 452.2 MB, free: 2.422 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001418/0.002956, allocations: 43.23 kB / 452.2 MB, free: 2.383 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.316e-05/0.003029, allocations: 13.84 kB / 452.2 MB, free: 2.371 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 1.415e-05/0.003043, allocations: 4 kB / 452.2 MB, free: 2.367 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.091e-05/0.003054, allocations: 4.906 kB / 452.2 MB, free: 2.363 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 2.207e-05/0.003076, allocations: 9.859 kB / 452.3 MB, free: 2.355 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 2.392e-05/0.0031, allocations: 14.14 kB / 452.3 MB, free: 2.344 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 7.699e-05/0.003177, allocations: 39.83 kB / 452.3 MB, free: 2.305 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.348e-06/0.003186, allocations: 0 / 452.3 MB, free: 2.305 MB / 426.7 MB Notification: Performance of FrontEnd: time 5.91e-07/0.003187, allocations: 0.875 kB / 452.3 MB, free: 2.305 MB / 426.7 MB Notification: Performance of Transformations before backend: time 7.904e-06/0.003195, allocations: 0 / 452.3 MB, free: 2.305 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0003655/0.00356, allocations: 255.1 kB / 452.6 MB, free: 2.035 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.715e-05/0.003588, allocations: 12.53 kB / 452.6 MB, free: 2.023 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.479e-05/0.003612, allocations: 2.219 kB / 452.6 MB, free: 2.023 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.26e-05/0.003685, allocations: 121.7 kB / 452.7 MB, free: 1.879 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.498e-06/0.003694, allocations: 384 / 452.7 MB, free: 1.879 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.717e-06/0.003703, allocations: 1.062 kB / 452.7 MB, free: 1.879 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.114e-05/0.003774, allocations: 54.95 kB / 452.7 MB, free: 1.816 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.322e-06/0.003781, allocations: 6.141 kB / 452.7 MB, free: 1.812 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.153e-06/0.003788, allocations: 4.375 kB / 452.8 MB, free: 1.809 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.659e-06/0.003792, allocations: 7.875 kB / 452.8 MB, free: 1.801 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.291e-05/0.003815, allocations: 7.938 kB / 452.8 MB, free: 1.793 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001774/0.003993, allocations: 152.3 kB / 452.9 MB, free: 1.629 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.646e-05/0.004049, allocations: 35.11 kB / 453 MB, free: 1.586 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.72e-05/0.004066, allocations: 13.55 kB / 453 MB, free: 1.57 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.514e-06/0.004074, allocations: 8.844 kB / 453 MB, free: 1.566 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.992e-05/0.004154, allocations: 59.41 kB / 453 MB, free: 1.496 MB / 426.7 MB Notification: Performance of pre-optimization done (n=5): time 8.52e-07/0.004155, allocations: 0 / 453 MB, free: 1.496 MB / 426.7 MB Notification: Performance of matching and sorting (n=5): time 9.826e-05/0.004253, allocations: 57.62 kB / 453.1 MB, free: 1.434 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.414e-05/0.004277, allocations: 51.41 kB / 453.1 MB, free: 1.371 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.796e-05/0.004325, allocations: 112.1 kB / 453.2 MB, free: 1.25 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.916e-05/0.004344, allocations: 29.7 kB / 453.3 MB, free: 1.215 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.246e-05/0.004367, allocations: 84.12 kB / 453.4 MB, free: 1.129 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.939e-05/0.004386, allocations: 20.62 kB / 453.4 MB, free: 1.109 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.184e-05/0.004408, allocations: 17.7 kB / 453.4 MB, free: 1.086 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 6.371e-05/0.004472, allocations: 314.8 kB / 453.7 MB, free: 0.7695 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.019e-05/0.004482, allocations: 9.375 kB / 453.7 MB, free: 0.7617 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.736e-06/0.004491, allocations: 7.984 kB / 453.7 MB, free: 0.7539 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.52e-05/0.004516, allocations: 29.22 kB / 453.7 MB, free: 0.7227 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.202e-06/0.004517, allocations: 0.8438 kB / 453.7 MB, free: 0.7227 MB / 426.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 4.365e-05/0.004561, allocations: 45.69 kB / 453.8 MB, free: 0.6719 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.208e-05/0.004573, allocations: 11.94 kB / 453.8 MB, free: 0.6602 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.136e-06/0.004576, allocations: 0.6562 kB / 453.8 MB, free: 0.6602 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.327e-06/0.004585, allocations: 0.8438 kB / 453.8 MB, free: 0.6602 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.801e-05/0.004643, allocations: 11.94 kB / 453.8 MB, free: 0.6484 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.445e-06/0.004646, allocations: 0.9375 kB / 453.8 MB, free: 0.6484 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.669e-05/0.004672, allocations: 3.984 kB / 453.8 MB, free: 0.6445 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.064e-06/0.004679, allocations: 5.5 kB / 453.8 MB, free: 0.6406 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (locTim.tNext,$PRE.locTim.tNext,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 6 * 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 4.759e-05/0.004727, allocations: 113.8 kB / 453.9 MB, free: 0.5195 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.673e-06/0.004734, allocations: 4 kB / 453.9 MB, free: 0.5156 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.101e-05/0.004755, allocations: 14.16 kB / 454 MB, free: 0.5 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.887e-06/0.004759, allocations: 7.984 kB / 454 MB, free: 0.4922 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.202e-06/0.00476, allocations: 0 / 454 MB, free: 0.4922 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.004762, allocations: 0 / 454 MB, free: 0.4922 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.481e-05/0.004817, allocations: 73.84 kB / 454 MB, free: 412 kB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.31e-07/0.004818, allocations: 3.938 kB / 454 MB, free: 408 kB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.737e-05/0.004835, allocations: 8.891 kB / 454.1 MB, free: 400 kB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.236e-06/0.004843, allocations: 4 kB / 454.1 MB, free: 396 kB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.913e-06/0.004845, allocations: 1.188 kB / 454.1 MB, free: 396 kB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.941e-06/0.004851, allocations: 3.938 kB / 454.1 MB, free: 392 kB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.21e-07/0.004852, allocations: 0 / 454.1 MB, free: 392 kB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.004852, allocations: 0 / 454.1 MB, free: 392 kB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.548e-05/0.004908, allocations: 77.67 kB / 454.1 MB, free: 296 kB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.276e-05/0.004921, allocations: 8.719 kB / 454.1 MB, free: 288 kB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.974e-05/0.00494, allocations: 0 / 454.1 MB, free: 288 kB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.323e-05/0.004964, allocations: 12.58 kB / 454.2 MB, free: 276 kB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.512e-06/0.00497, allocations: 0 / 454.2 MB, free: 276 kB / 426.7 MB Notification: Performance of sorting global known variables: time 1.405e-05/0.004984, allocations: 17.38 kB / 454.2 MB, free: 256 kB / 426.7 MB Notification: Performance of sort global known variables: time 6e-08/0.004984, allocations: 4.562 kB / 454.2 MB, free: 252 kB / 426.7 MB Notification: Performance of remove unused functions: time 8.754e-05/0.005072, allocations: 8 kB / 454.2 MB, free: 244 kB / 426.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: 2 ($whenCondition1,locTim.tNext) * Number of discrete states: 1 (locTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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 6.034e-05/0.005132, allocations: 81.84 kB / 454.3 MB, free: 156 kB / 426.7 MB Notification: Performance of simCode: created initialization part: time 5.255e-05/0.005185, allocations: 24.86 kB / 454.3 MB, free: 128 kB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.58e-06/0.00519, allocations: 1.219 kB / 454.3 MB, free: 128 kB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 2.751e-05/0.005218, allocations: 24.78 kB / 454.3 MB, free: 100 kB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 6.143e-05/0.005279, allocations: 15.95 kB / 454.3 MB, free: 84 kB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009128/0.006192, allocations: 162.1 kB / 454.5 MB, free: 15.9 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.692e-05/0.006219, allocations: 60.22 kB / 454.5 MB, free: 15.82 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 1.86e-05/0.006237, allocations: 0 / 454.5 MB, free: 15.82 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.87e-05/0.006276, allocations: 59.98 kB / 454.6 MB, free: 15.77 MB / 442.7 MB Notification: Performance of SimCode: time 4.6e-07/0.006277, allocations: 0 / 454.6 MB, free: 15.77 MB / 442.7 MB Notification: Performance of Templates: time 0.001901/0.008177, allocations: 0.5903 MB / 455.2 MB, free: 15.24 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.sim & ./IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.5777712017297745]