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.04202/0.04202, allocations: 9.129 MB / 28.99 MB, free: 0.8203 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.000896/0.000896, allocations: 95.2 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.001019/0.001019, allocations: 165.4 kB / 38.73 MB, free: 2.516 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.9999/0.9999, allocations: 177.2 MB / 219.2 MB, free: 10.12 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.003986/0.003986, allocations: 0.8252 MB / 276.5 MB, free: 0.7539 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.665/1.665, allocations: 274.9 MB / 0.5419 GB, free: 0.6211 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.503e-06/1.503e-06, allocations: 0 / 0.6379 GB, free: 14.05 MB / 0.6043 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.064e-05/2.214e-05, allocations: 10.25 kB / 0.6379 GB, free: 14.04 MB / 0.6043 GB Notification: Performance of NFInst.instantiate(AixLib.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime): time 0.002271/0.002293, allocations: 1.612 MB / 0.6395 GB, free: 12.41 MB / 0.6043 GB Notification: Performance of NFInst.instExpressions: time 0.0007279/0.003021, allocations: 494.6 kB / 0.64 GB, free: 11.92 MB / 0.6043 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.222e-05/0.003063, allocations: 0 / 0.64 GB, free: 11.92 MB / 0.6043 GB Notification: Performance of NFTyping.typeComponents: time 2.517e-05/0.003088, allocations: 0 / 0.64 GB, free: 11.92 MB / 0.6043 GB Notification: Performance of NFTyping.typeBindings: time 0.000223/0.003311, allocations: 35.72 kB / 0.64 GB, free: 11.89 MB / 0.6043 GB Notification: Performance of NFTyping.typeClassSections: time 7.703e-05/0.003388, allocations: 11.98 kB / 0.64 GB, free: 11.88 MB / 0.6043 GB Notification: Performance of NFFlatten.flatten: time 7.731e-05/0.003465, allocations: 55.78 kB / 0.6401 GB, free: 11.82 MB / 0.6043 GB Notification: Performance of NFFlatten.resolveConnections: time 7.853e-05/0.003544, allocations: 4 kB / 0.6401 GB, free: 11.82 MB / 0.6043 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002103/0.003754, allocations: 39.83 kB / 0.6401 GB, free: 11.78 MB / 0.6043 GB Notification: Performance of NFSimplifyModel.simplify: time 8.66e-05/0.003841, allocations: 23.86 kB / 0.6401 GB, free: 11.75 MB / 0.6043 GB Notification: Performance of NFPackage.collectConstants: time 1.814e-05/0.003859, allocations: 4 kB / 0.6401 GB, free: 11.75 MB / 0.6043 GB Notification: Performance of NFFlatten.collectFunctions: time 1.18e-05/0.003871, allocations: 4 kB / 0.6401 GB, free: 11.75 MB / 0.6043 GB Notification: Performance of NFScalarize.scalarize: time 2.159e-05/0.003892, allocations: 15.97 kB / 0.6402 GB, free: 11.73 MB / 0.6043 GB Notification: Performance of NFVerifyModel.verify: time 3.491e-05/0.003927, allocations: 15.94 kB / 0.6402 GB, free: 11.71 MB / 0.6043 GB Notification: Performance of NFConvertDAE.convert: time 9.433e-05/0.004022, allocations: 27.91 kB / 0.6402 GB, free: 11.69 MB / 0.6043 GB Notification: Performance of FrontEnd - DAE generated: time 2.635e-06/0.004024, allocations: 0 / 0.6402 GB, free: 11.69 MB / 0.6043 GB Notification: Performance of FrontEnd: time 1.092e-06/0.004025, allocations: 4 kB / 0.6402 GB, free: 11.68 MB / 0.6043 GB Notification: Performance of Transformations before backend: time 4.598e-06/0.00403, allocations: 0 / 0.6402 GB, free: 11.68 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.0003301/0.00436, allocations: 248.5 kB / 0.6404 GB, free: 11.42 MB / 0.6043 GB Notification: Performance of prepare preOptimizeDAE: time 4.015e-05/0.0044, allocations: 11.98 kB / 0.6405 GB, free: 11.41 MB / 0.6043 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.147e-05/0.004432, allocations: 8.922 kB / 0.6405 GB, free: 11.4 MB / 0.6043 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.32e-05/0.004515, allocations: 113.7 kB / 0.6406 GB, free: 11.26 MB / 0.6043 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.308e-05/0.004528, allocations: 8.375 kB / 0.6406 GB, free: 11.25 MB / 0.6043 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.185e-06/0.004536, allocations: 4.375 kB / 0.6406 GB, free: 11.25 MB / 0.6043 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.035e-05/0.004617, allocations: 58.88 kB / 0.6406 GB, free: 11.18 MB / 0.6043 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.692e-06/0.004623, allocations: 192 / 0.6406 GB, free: 11.18 MB / 0.6043 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.282e-06/0.004629, allocations: 384 / 0.6406 GB, free: 11.18 MB / 0.6043 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.101e-06/0.004636, allocations: 7.938 kB / 0.6406 GB, free: 11.18 MB / 0.6043 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.472e-05/0.00466, allocations: 15.92 kB / 0.6407 GB, free: 11.16 MB / 0.6043 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001958/0.004856, allocations: 156.2 kB / 0.6408 GB, free: 10.99 MB / 0.6043 GB Notification: Performance of preOpt comSubExp (simulation): time 5.991e-05/0.004916, allocations: 38.56 kB / 0.6409 GB, free: 10.95 MB / 0.6043 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.948e-05/0.004935, allocations: 16.94 kB / 0.6409 GB, free: 10.93 MB / 0.6043 GB Notification: Performance of preOpt evalFunc (simulation): time 6.763e-06/0.004942, allocations: 4 kB / 0.6409 GB, free: 10.92 MB / 0.6043 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.609e-05/0.005028, allocations: 55.39 kB / 0.6409 GB, free: 10.86 MB / 0.6043 GB Notification: Performance of pre-optimization done (n=5): time 8.51e-07/0.005029, allocations: 0 / 0.6409 GB, free: 10.86 MB / 0.6043 GB Notification: Performance of matching and sorting (n=5): time 0.0001216/0.005151, allocations: 61.62 kB / 0.641 GB, free: 10.79 MB / 0.6043 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.896e-05/0.00518, allocations: 55.34 kB / 0.641 GB, free: 10.72 MB / 0.6043 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.75e-05/0.005237, allocations: 110.7 kB / 0.6411 GB, free: 10.6 MB / 0.6043 GB Notification: Performance of collectPreVariables (initialization): time 1.427e-05/0.005252, allocations: 25.7 kB / 0.6412 GB, free: 10.57 MB / 0.6043 GB Notification: Performance of collectInitialEqns (initialization): time 2.707e-05/0.005279, allocations: 88.14 kB / 0.6412 GB, free: 10.48 MB / 0.6043 GB Notification: Performance of collectInitialBindings (initialization): time 2.197e-05/0.005301, allocations: 19.88 kB / 0.6413 GB, free: 10.46 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.577e-05/0.005326, allocations: 17.72 kB / 0.6413 GB, free: 10.44 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 8.001e-05/0.005406, allocations: 322.8 kB / 0.6416 GB, free: 10.11 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.228e-05/0.005419, allocations: 4 kB / 0.6416 GB, free: 10.11 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.01e-05/0.005429, allocations: 4 kB / 0.6416 GB, free: 10.11 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.222e-05/0.005461, allocations: 20.84 kB / 0.6416 GB, free: 10.08 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.005463, allocations: 0 / 0.6416 GB, free: 10.08 MB / 0.6043 GB Notification: Performance of matching and sorting (n=6) (initialization): time 5.654e-05/0.00552, allocations: 49.62 kB / 0.6417 GB, free: 10.03 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 1.349e-05/0.005533, allocations: 7.938 kB / 0.6417 GB, free: 10.02 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.488e-06/0.005538, allocations: 0 / 0.6417 GB, free: 10.02 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.206e-05/0.00555, allocations: 7.984 kB / 0.6417 GB, free: 10.01 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.816e-05/0.005608, allocations: 7.984 kB / 0.6417 GB, free: 10 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.476e-06/0.005611, allocations: 4 kB / 0.6417 GB, free: 10 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.105e-05/0.005642, allocations: 11.95 kB / 0.6417 GB, free: 9.988 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.07e-06/0.005647, allocations: 0 / 0.6417 GB, free: 9.988 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.584e-05/0.005703, allocations: 109.8 kB / 0.6418 GB, free: 9.871 MB / 0.6043 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.965e-06/0.005711, allocations: 4 kB / 0.6418 GB, free: 9.867 MB / 0.6043 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.005e-05/0.005731, allocations: 16.05 kB / 0.6418 GB, free: 9.855 MB / 0.6043 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.005733, allocations: 0 / 0.6418 GB, free: 9.855 MB / 0.6043 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.254e-06/0.005736, allocations: 0 / 0.6418 GB, free: 9.855 MB / 0.6043 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.005738, allocations: 0 / 0.6418 GB, free: 9.855 MB / 0.6043 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.454e-05/0.005803, allocations: 77.81 kB / 0.6419 GB, free: 9.762 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.344e-06/0.005805, allocations: 4.438 kB / 0.6419 GB, free: 9.758 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.362e-05/0.005819, allocations: 11.94 kB / 0.6419 GB, free: 9.746 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.082e-06/0.00582, allocations: 0 / 0.6419 GB, free: 9.746 MB / 0.6043 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.782e-06/0.005827, allocations: 8 kB / 0.6419 GB, free: 9.738 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.91e-07/0.005827, allocations: 3.938 kB / 0.6419 GB, free: 9.734 MB / 0.6043 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.00583, allocations: 3.938 kB / 0.6419 GB, free: 9.73 MB / 0.6043 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.46e-05/0.005894, allocations: 69.11 kB / 0.642 GB, free: 9.645 MB / 0.6043 GB Notification: Performance of postOpt removeConstants (simulation): time 9.177e-06/0.005903, allocations: 4 kB / 0.642 GB, free: 9.641 MB / 0.6043 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.126e-05/0.005915, allocations: 0 / 0.642 GB, free: 9.641 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.432e-05/0.005939, allocations: 4 kB / 0.642 GB, free: 9.637 MB / 0.6043 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.536e-05/0.005964, allocations: 11.92 kB / 0.642 GB, free: 9.625 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.824e-06/0.005972, allocations: 0 / 0.642 GB, free: 9.625 MB / 0.6043 GB Notification: Performance of sorting global known variables: time 1.667e-05/0.005989, allocations: 20.84 kB / 0.642 GB, free: 9.602 MB / 0.6043 GB Notification: Performance of sort global known variables: time 5e-08/0.005989, allocations: 0 / 0.642 GB, free: 9.602 MB / 0.6043 GB Notification: Performance of remove unused functions: time 9.359e-05/0.006082, allocations: 8 kB / 0.642 GB, free: 9.594 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 8.497e-05/0.006167, allocations: 80.41 kB / 0.6421 GB, free: 9.504 MB / 0.6043 GB Notification: Performance of simCode: created initialization part: time 6.381e-05/0.006231, allocations: 32.78 kB / 0.6422 GB, free: 9.469 MB / 0.6043 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.006234, allocations: 0 / 0.6422 GB, free: 9.469 MB / 0.6043 GB Notification: Performance of simCode: created simulation system equations: time 2.684e-05/0.006261, allocations: 12.86 kB / 0.6422 GB, free: 9.453 MB / 0.6043 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 6.63e-05/0.006327, allocations: 8 kB / 0.6422 GB, free: 9.445 MB / 0.6043 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000441/0.006768, allocations: 160.4 kB / 0.6423 GB, free: 9.262 MB / 0.6043 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.801e-05/0.006796, allocations: 55.36 kB / 0.6424 GB, free: 9.188 MB / 0.6043 GB Notification: Performance of simCode: alias equations: time 2.379e-05/0.00682, allocations: 3.984 kB / 0.6424 GB, free: 9.184 MB / 0.6043 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.88e-05/0.006858, allocations: 55.38 kB / 0.6424 GB, free: 9.129 MB / 0.6043 GB Notification: Performance of SimCode: time 4.61e-07/0.006859, allocations: 0 / 0.6424 GB, free: 9.129 MB / 0.6043 GB Notification: Performance of Templates: time 0.001973/0.008832, allocations: 0.6221 MB / 0.643 GB, free: 8.504 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > AixLib_AixLib.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.343087166082114]