Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/package.mo): time 0.04403/0.04403, allocations: 9.131 MB / 28.99 MB, free: 0.8242 MB / 18.57 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/EmbeddedTargets/STM32F4/Functions/HAL.mo:5:3-11:14:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/OperatingSystem/DynamicArray.mo:6:3-94:18:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/Utilities/Functions.mo:1041:3-1062:27:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/Utilities/Functions.mo:1064:3-1092:25:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 180] 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.0008554/0.0008554, allocations: 99.08 kB / 35.33 MB, free: 1.078 MB / 24.77 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.0009945/0.0009945, allocations: 166.1 kB / 38.73 MB, free: 2.52 MB / 24.77 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.9556/0.9556, allocations: 177.1 MB / 219.2 MB, free: 10.1 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF 0.4.5/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF 0.4.5/package.mo): time 0.003873/0.003873, allocations: 0.822 MB / 276.5 MB, free: 0.7266 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.1/package.mo): time 1.66/1.66, allocations: 274.9 MB / 0.5419 GB, free: 0.6094 MB / 0.4949 GB " [Timeout remaining time 178] Using package AixLib with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.1/package.mo) Using package SDF with version 0.4.5 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF 0.4.5/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) Using package Modelica_DeviceDrivers with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/package.mo) Running command: translateModel(AixLib.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime") translateModel(AixLib.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.403e-06/1.403e-06, allocations: 0 / 0.6379 GB, free: 14.09 MB / 0.6043 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.709e-05/1.85e-05, allocations: 6.312 kB / 0.6379 GB, free: 14.08 MB / 0.6043 GB Notification: Performance of NFInst.instantiate(AixLib.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime): time 0.001877/0.001896, allocations: 1.562 MB / 0.6394 GB, free: 12.5 MB / 0.6043 GB Notification: Performance of NFInst.instExpressions: time 0.0006722/0.002568, allocations: 494.6 kB / 0.6399 GB, free: 12.02 MB / 0.6043 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.705e-05/0.002605, allocations: 0 / 0.6399 GB, free: 12.02 MB / 0.6043 GB Notification: Performance of NFTyping.typeComponents: time 2.63e-05/0.002631, allocations: 11.86 kB / 0.6399 GB, free: 12 MB / 0.6043 GB Notification: Performance of NFTyping.typeBindings: time 0.0002047/0.002836, allocations: 31.78 kB / 0.6399 GB, free: 11.97 MB / 0.6043 GB Notification: Performance of NFTyping.typeClassSections: time 7.421e-05/0.00291, allocations: 15.92 kB / 0.6399 GB, free: 11.96 MB / 0.6043 GB Notification: Performance of NFFlatten.flatten: time 7.153e-05/0.002982, allocations: 47.8 kB / 0.64 GB, free: 11.91 MB / 0.6043 GB Notification: Performance of NFFlatten.resolveConnections: time 7.098e-05/0.003053, allocations: 15.97 kB / 0.64 GB, free: 11.89 MB / 0.6043 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001567/0.003209, allocations: 35.86 kB / 0.64 GB, free: 11.86 MB / 0.6043 GB Notification: Performance of NFSimplifyModel.simplify: time 6.571e-05/0.003275, allocations: 19.97 kB / 0.6401 GB, free: 11.84 MB / 0.6043 GB Notification: Performance of NFPackage.collectConstants: time 1.401e-05/0.003289, allocations: 4 kB / 0.6401 GB, free: 11.84 MB / 0.6043 GB Notification: Performance of NFFlatten.collectFunctions: time 9.518e-06/0.003298, allocations: 4 kB / 0.6401 GB, free: 11.83 MB / 0.6043 GB Notification: Performance of NFScalarize.scalarize: time 1.818e-05/0.003317, allocations: 11.92 kB / 0.6401 GB, free: 11.82 MB / 0.6043 GB Notification: Performance of NFVerifyModel.verify: time 2.598e-05/0.003343, allocations: 15.98 kB / 0.6401 GB, free: 11.8 MB / 0.6043 GB Notification: Performance of NFConvertDAE.convert: time 7.146e-05/0.003414, allocations: 31.84 kB / 0.6401 GB, free: 11.77 MB / 0.6043 GB Notification: Performance of FrontEnd - DAE generated: time 2.435e-06/0.003417, allocations: 4 kB / 0.6401 GB, free: 11.77 MB / 0.6043 GB Notification: Performance of FrontEnd: time 4.71e-07/0.003417, allocations: 0 / 0.6401 GB, free: 11.77 MB / 0.6043 GB Notification: Performance of Transformations before backend: time 3.026e-06/0.00342, allocations: 0 / 0.6401 GB, free: 11.77 MB / 0.6043 GB 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.0003153/0.003735, allocations: 252.5 kB / 0.6404 GB, free: 11.5 MB / 0.6043 GB Notification: Performance of prepare preOptimizeDAE: time 3.174e-05/0.003767, allocations: 15.98 kB / 0.6404 GB, free: 11.48 MB / 0.6043 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.349e-05/0.003791, allocations: 4.938 kB / 0.6404 GB, free: 11.48 MB / 0.6043 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.273e-05/0.003873, allocations: 121.7 kB / 0.6405 GB, free: 11.34 MB / 0.6043 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.165e-05/0.003885, allocations: 4.359 kB / 0.6405 GB, free: 11.33 MB / 0.6043 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.546e-06/0.003894, allocations: 384 / 0.6405 GB, free: 11.33 MB / 0.6043 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.366e-05/0.003967, allocations: 54.95 kB / 0.6406 GB, free: 11.27 MB / 0.6043 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.32e-06/0.003972, allocations: 192 / 0.6406 GB, free: 11.27 MB / 0.6043 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.302e-06/0.003979, allocations: 384 / 0.6406 GB, free: 11.27 MB / 0.6043 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-06/0.003984, allocations: 15.86 kB / 0.6406 GB, free: 11.25 MB / 0.6043 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.123e-05/0.004005, allocations: 8 kB / 0.6406 GB, free: 11.25 MB / 0.6043 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001839/0.004189, allocations: 160.2 kB / 0.6407 GB, free: 11.07 MB / 0.6043 GB Notification: Performance of preOpt comSubExp (simulation): time 6.058e-05/0.00425, allocations: 34.55 kB / 0.6408 GB, free: 11.03 MB / 0.6043 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.854e-05/0.004268, allocations: 8.859 kB / 0.6408 GB, free: 11.02 MB / 0.6043 GB Notification: Performance of preOpt evalFunc (simulation): time 6.773e-06/0.004275, allocations: 4 kB / 0.6408 GB, free: 11.02 MB / 0.6043 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.606e-05/0.004351, allocations: 59.48 kB / 0.6408 GB, free: 10.95 MB / 0.6043 GB Notification: Performance of pre-optimization done (n=5): time 1.162e-06/0.004352, allocations: 0 / 0.6408 GB, free: 10.95 MB / 0.6043 GB Notification: Performance of matching and sorting (n=5): time 0.0001058/0.004458, allocations: 57.61 kB / 0.6409 GB, free: 10.88 MB / 0.6043 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.151e-05/0.00449, allocations: 55.41 kB / 0.6409 GB, free: 10.82 MB / 0.6043 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.694e-05/0.004547, allocations: 114.7 kB / 0.6411 GB, free: 10.69 MB / 0.6043 GB Notification: Performance of collectPreVariables (initialization): time 1.431e-05/0.004561, allocations: 33.7 kB / 0.6411 GB, free: 10.65 MB / 0.6043 GB Notification: Performance of collectInitialEqns (initialization): time 2.879e-05/0.00459, allocations: 84.08 kB / 0.6412 GB, free: 10.57 MB / 0.6043 GB Notification: Performance of collectInitialBindings (initialization): time 1.998e-05/0.00461, allocations: 15.89 kB / 0.6412 GB, free: 10.55 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.419e-05/0.004634, allocations: 21.7 kB / 0.6412 GB, free: 10.52 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 0.0001462/0.00478, allocations: 314.8 kB / 0.6415 GB, free: 10.21 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.158e-05/0.004792, allocations: 4 kB / 0.6415 GB, free: 10.2 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.017e-05/0.004802, allocations: 11.92 kB / 0.6415 GB, free: 10.19 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.825e-05/0.00483, allocations: 21.23 kB / 0.6415 GB, free: 10.17 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.004832, allocations: 0 / 0.6415 GB, free: 10.17 MB / 0.6043 GB Notification: Performance of matching and sorting (n=6) (initialization): time 5.167e-05/0.004884, allocations: 53.67 kB / 0.6416 GB, free: 10.11 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 1.069e-05/0.004894, allocations: 11.94 kB / 0.6416 GB, free: 10.1 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.027e-06/0.004898, allocations: 4 kB / 0.6416 GB, free: 10.09 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.155e-05/0.00491, allocations: 0 / 0.6416 GB, free: 10.09 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.636e-05/0.004966, allocations: 7.938 kB / 0.6416 GB, free: 10.09 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.218e-06/0.004971, allocations: 4 kB / 0.6416 GB, free: 10.08 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.889e-05/0.004999, allocations: 3.953 kB / 0.6416 GB, free: 10.08 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.442e-06/0.005006, allocations: 3.984 kB / 0.6416 GB, free: 10.07 MB / 0.6043 GB 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 5.521e-05/0.005061, allocations: 113.8 kB / 0.6417 GB, free: 9.953 MB / 0.6043 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.204e-06/0.005068, allocations: 4 kB / 0.6417 GB, free: 9.949 MB / 0.6043 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.641e-05/0.005085, allocations: 8.062 kB / 0.6417 GB, free: 9.945 MB / 0.6043 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.904e-06/0.005087, allocations: 4 kB / 0.6417 GB, free: 9.941 MB / 0.6043 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.463e-06/0.005088, allocations: 0 / 0.6417 GB, free: 9.941 MB / 0.6043 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.005091, allocations: 0 / 0.6417 GB, free: 9.941 MB / 0.6043 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.388e-05/0.005155, allocations: 77.88 kB / 0.6418 GB, free: 9.848 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.005157, allocations: 4 kB / 0.6418 GB, free: 9.844 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.17e-05/0.005168, allocations: 4 kB / 0.6418 GB, free: 9.84 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.012e-06/0.005169, allocations: 0 / 0.6418 GB, free: 9.84 MB / 0.6043 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.76e-06/0.005175, allocations: 3.984 kB / 0.6418 GB, free: 9.836 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.11e-07/0.005176, allocations: 0 / 0.6418 GB, free: 9.836 MB / 0.6043 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.664e-06/0.005177, allocations: 3.938 kB / 0.6418 GB, free: 9.832 MB / 0.6043 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.076e-05/0.005238, allocations: 73.06 kB / 0.6419 GB, free: 9.742 MB / 0.6043 GB Notification: Performance of postOpt removeConstants (simulation): time 1.049e-05/0.005249, allocations: 11.94 kB / 0.6419 GB, free: 9.73 MB / 0.6043 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.279e-05/0.005262, allocations: 0 / 0.6419 GB, free: 9.73 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.329e-05/0.005285, allocations: 12.11 kB / 0.6419 GB, free: 9.719 MB / 0.6043 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.198e-05/0.005307, allocations: 3.938 kB / 0.6419 GB, free: 9.715 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.342e-06/0.005313, allocations: 0 / 0.6419 GB, free: 9.715 MB / 0.6043 GB Notification: Performance of sorting global known variables: time 1.701e-05/0.00533, allocations: 20.83 kB / 0.642 GB, free: 9.691 MB / 0.6043 GB Notification: Performance of sort global known variables: time 5e-08/0.00533, allocations: 0 / 0.642 GB, free: 9.691 MB / 0.6043 GB Notification: Performance of remove unused functions: time 9.423e-05/0.005424, allocations: 12 kB / 0.642 GB, free: 9.68 MB / 0.6043 GB 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 7.009e-05/0.005495, allocations: 80.41 kB / 0.642 GB, free: 9.59 MB / 0.6043 GB Notification: Performance of simCode: created initialization part: time 5.665e-05/0.005551, allocations: 32.78 kB / 0.6421 GB, free: 9.555 MB / 0.6043 GB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.005553, allocations: 0 / 0.6421 GB, free: 9.555 MB / 0.6043 GB Notification: Performance of simCode: created simulation system equations: time 2.348e-05/0.005577, allocations: 20.8 kB / 0.6421 GB, free: 9.531 MB / 0.6043 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 5.885e-05/0.005635, allocations: 7.984 kB / 0.6421 GB, free: 9.523 MB / 0.6043 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004371/0.006072, allocations: 152.4 kB / 0.6422 GB, free: 9.348 MB / 0.6043 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.802e-05/0.0061, allocations: 59.34 kB / 0.6423 GB, free: 9.27 MB / 0.6043 GB Notification: Performance of simCode: alias equations: time 2.023e-05/0.006121, allocations: 0 / 0.6423 GB, free: 9.27 MB / 0.6043 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.736e-05/0.006158, allocations: 59.38 kB / 0.6424 GB, free: 9.211 MB / 0.6043 GB Notification: Performance of SimCode: time 5.51e-07/0.006159, allocations: 0 / 0.6424 GB, free: 9.211 MB / 0.6043 GB Notification: Performance of Templates: time 0.001922/0.008081, allocations: 0.6259 MB / 0.643 GB, free: 8.582 MB / 0.6043 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.makefile [Timeout 660] (rm -f AixLib_AixLib.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe ; mkfifo AixLib_AixLib.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe ; head -c 1048576 < AixLib_AixLib.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe >> ../files/AixLib_AixLib.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.sim & ./AixLib_AixLib.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime -abortSlowSimulation -alarm=240 -lv LOG_STATS > AixLib_AixLib.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.396944266743958]