Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.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.04094/0.04094, allocations: 9.133 MB / 28.99 MB, free: 0.8086 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.0008776/0.0008776, allocations: 87.28 kB / 35.33 MB, free: 1.074 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.001013/0.001013, allocations: 163.5 kB / 38.73 MB, free: 2.512 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.9577/0.9577, allocations: 177.1 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.005866/0.005866, allocations: 0.8226 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.647/1.647, allocations: 274.9 MB / 0.5419 GB, free: 0.6172 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.SolarTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime") translateModel(AixLib.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.423e-06/1.423e-06, allocations: 0 / 0.6379 GB, free: 14.04 MB / 0.6043 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.407e-05/1.549e-05, allocations: 2.312 kB / 0.6379 GB, free: 14.04 MB / 0.6043 GB Notification: Performance of NFInst.instantiate(AixLib.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime): time 0.002046/0.002061, allocations: 1.729 MB / 0.6396 GB, free: 12.3 MB / 0.6043 GB Notification: Performance of NFInst.instExpressions: time 0.0007356/0.002797, allocations: 0.5842 MB / 0.6402 GB, free: 11.71 MB / 0.6043 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.321e-05/0.00284, allocations: 3.938 kB / 0.6402 GB, free: 11.7 MB / 0.6043 GB Notification: Performance of NFTyping.typeComponents: time 2.727e-05/0.002867, allocations: 11.88 kB / 0.6402 GB, free: 11.69 MB / 0.6043 GB Notification: Performance of NFTyping.typeBindings: time 0.0002009/0.003068, allocations: 43.69 kB / 0.6402 GB, free: 11.65 MB / 0.6043 GB Notification: Performance of NFTyping.typeClassSections: time 0.000106/0.003174, allocations: 39.83 kB / 0.6403 GB, free: 11.61 MB / 0.6043 GB Notification: Performance of NFFlatten.flatten: time 0.0001011/0.003275, allocations: 111.6 kB / 0.6404 GB, free: 11.5 MB / 0.6043 GB Notification: Performance of NFFlatten.resolveConnections: time 7.83e-05/0.003354, allocations: 15.98 kB / 0.6404 GB, free: 11.48 MB / 0.6043 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001407/0.003494, allocations: 75.8 kB / 0.6405 GB, free: 11.41 MB / 0.6043 GB Notification: Performance of NFSimplifyModel.simplify: time 8.01e-05/0.003574, allocations: 39.89 kB / 0.6405 GB, free: 11.37 MB / 0.6043 GB Notification: Performance of NFPackage.collectConstants: time 1.712e-05/0.003592, allocations: 8 kB / 0.6405 GB, free: 11.36 MB / 0.6043 GB Notification: Performance of NFFlatten.collectFunctions: time 5.409e-05/0.003646, allocations: 19.98 kB / 0.6405 GB, free: 11.34 MB / 0.6043 GB Notification: Performance of NFScalarize.scalarize: time 2.147e-05/0.003667, allocations: 19.92 kB / 0.6406 GB, free: 11.32 MB / 0.6043 GB Notification: Performance of NFVerifyModel.verify: time 4.064e-05/0.003708, allocations: 39.89 kB / 0.6406 GB, free: 11.29 MB / 0.6043 GB Notification: Performance of NFConvertDAE.convert: time 0.000121/0.003829, allocations: 79.72 kB / 0.6407 GB, free: 11.21 MB / 0.6043 GB Notification: Performance of FrontEnd - DAE generated: time 1.913e-06/0.003831, allocations: 0 / 0.6407 GB, free: 11.21 MB / 0.6043 GB Notification: Performance of FrontEnd: time 7.52e-07/0.003831, allocations: 0 / 0.6407 GB, free: 11.21 MB / 0.6043 GB Notification: Performance of Transformations before backend: time 3.607e-06/0.003835, allocations: 0 / 0.6407 GB, free: 11.21 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.000396/0.004231, allocations: 312.1 kB / 0.641 GB, free: 10.88 MB / 0.6043 GB Notification: Performance of prepare preOptimizeDAE: time 2.919e-05/0.00426, allocations: 11.98 kB / 0.641 GB, free: 10.87 MB / 0.6043 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000115/0.004375, allocations: 20.92 kB / 0.641 GB, free: 10.85 MB / 0.6043 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.972e-05/0.004455, allocations: 125.5 kB / 0.6411 GB, free: 10.7 MB / 0.6043 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.172e-05/0.004467, allocations: 8.375 kB / 0.6411 GB, free: 10.69 MB / 0.6043 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.757e-06/0.004475, allocations: 4.375 kB / 0.6411 GB, free: 10.69 MB / 0.6043 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.126e-05/0.004567, allocations: 82.91 kB / 0.6412 GB, free: 10.6 MB / 0.6043 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.49e-06/0.004572, allocations: 192 / 0.6412 GB, free: 10.6 MB / 0.6043 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.794e-06/0.00458, allocations: 384 / 0.6412 GB, free: 10.6 MB / 0.6043 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.119e-06/0.004585, allocations: 7.938 kB / 0.6412 GB, free: 10.59 MB / 0.6043 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.075e-05/0.004626, allocations: 35.78 kB / 0.6413 GB, free: 10.55 MB / 0.6043 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002426/0.004868, allocations: 196.2 kB / 0.6414 GB, free: 10.35 MB / 0.6043 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001329/0.005001, allocations: 74.45 kB / 0.6415 GB, free: 10.27 MB / 0.6043 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.838e-05/0.00503, allocations: 24.83 kB / 0.6415 GB, free: 10.24 MB / 0.6043 GB Notification: Performance of preOpt evalFunc (simulation): time 1.251e-05/0.005042, allocations: 7.938 kB / 0.6415 GB, free: 10.23 MB / 0.6043 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.91e-05/0.005141, allocations: 83.3 kB / 0.6416 GB, free: 10.14 MB / 0.6043 GB Notification: Performance of pre-optimization done (n=11): time 1.082e-06/0.005142, allocations: 0 / 0.6416 GB, free: 10.14 MB / 0.6043 GB Notification: Performance of matching and sorting (n=11): time 0.000127/0.005269, allocations: 93.53 kB / 0.6417 GB, free: 10.04 MB / 0.6043 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.535e-05/0.005295, allocations: 55.41 kB / 0.6418 GB, free: 9.973 MB / 0.6043 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.377e-05/0.005349, allocations: 118.7 kB / 0.6419 GB, free: 9.844 MB / 0.6043 GB Notification: Performance of collectPreVariables (initialization): time 1.366e-05/0.005362, allocations: 25.7 kB / 0.6419 GB, free: 9.812 MB / 0.6043 GB Notification: Performance of collectInitialEqns (initialization): time 3.12e-05/0.005393, allocations: 96.44 kB / 0.642 GB, free: 9.711 MB / 0.6043 GB Notification: Performance of collectInitialBindings (initialization): time 3.026e-05/0.005424, allocations: 35.67 kB / 0.642 GB, free: 9.676 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.25e-05/0.005456, allocations: 29.7 kB / 0.6421 GB, free: 9.641 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 6.957e-05/0.005526, allocations: 322.8 kB / 0.6424 GB, free: 9.316 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.797e-05/0.005544, allocations: 11.98 kB / 0.6424 GB, free: 9.305 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.841e-05/0.005562, allocations: 16 kB / 0.6424 GB, free: 9.289 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.731e-05/0.005609, allocations: 36.83 kB / 0.6424 GB, free: 9.25 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.262e-06/0.005611, allocations: 4 kB / 0.6424 GB, free: 9.246 MB / 0.6043 GB Notification: Performance of matching and sorting (n=13) (initialization): time 7.766e-05/0.005688, allocations: 81.53 kB / 0.6425 GB, free: 9.16 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 9.618e-06/0.005698, allocations: 4 kB / 0.6425 GB, free: 9.156 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.458e-06/0.005702, allocations: 4 kB / 0.6425 GB, free: 9.152 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.977e-06/0.005711, allocations: 4 kB / 0.6425 GB, free: 9.148 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.791e-05/0.005769, allocations: 15.98 kB / 0.6425 GB, free: 9.133 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.878e-06/0.005773, allocations: 4 kB / 0.6425 GB, free: 9.129 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.942e-05/0.005813, allocations: 8 kB / 0.6425 GB, free: 9.121 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.388e-06/0.005822, allocations: 3.984 kB / 0.6426 GB, free: 9.117 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: 6 (eqnTim.tNext,$PRE.eqnTim.tNext,locTim.tNext,$PRE.locTim.tNext,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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.728e-05/0.005879, allocations: 121.8 kB / 0.6427 GB, free: 8.988 MB / 0.6043 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.206e-05/0.005891, allocations: 7.938 kB / 0.6427 GB, free: 8.98 MB / 0.6043 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001005/0.005992, allocations: 86.08 kB / 0.6428 GB, free: 8.891 MB / 0.6043 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.005994, allocations: 7.938 kB / 0.6428 GB, free: 8.883 MB / 0.6043 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.92e-07/0.005995, allocations: 0 / 0.6428 GB, free: 8.883 MB / 0.6043 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.006, allocations: 3.984 kB / 0.6428 GB, free: 8.879 MB / 0.6043 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.354e-05/0.006083, allocations: 101.8 kB / 0.6429 GB, free: 8.762 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.103e-06/0.006084, allocations: 0 / 0.6429 GB, free: 8.762 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.034e-05/0.006125, allocations: 19.94 kB / 0.6429 GB, free: 8.742 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.363e-06/0.006126, allocations: 0 / 0.6429 GB, free: 8.742 MB / 0.6043 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.495e-06/0.006135, allocations: 15.92 kB / 0.6429 GB, free: 8.727 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.006136, allocations: 0 / 0.6429 GB, free: 8.727 MB / 0.6043 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/0.006138, allocations: 4 kB / 0.6429 GB, free: 8.723 MB / 0.6043 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.345e-05/0.006222, allocations: 105.6 kB / 0.643 GB, free: 8.602 MB / 0.6043 GB Notification: Performance of postOpt removeConstants (simulation): time 1.114e-05/0.006233, allocations: 7.953 kB / 0.643 GB, free: 8.594 MB / 0.6043 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.574e-05/0.006249, allocations: 7.938 kB / 0.643 GB, free: 8.586 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.409e-05/0.006283, allocations: 7.984 kB / 0.643 GB, free: 8.578 MB / 0.6043 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.872e-05/0.006312, allocations: 11.98 kB / 0.643 GB, free: 8.566 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.187e-06/0.006321, allocations: 3.984 kB / 0.643 GB, free: 8.562 MB / 0.6043 GB Notification: Performance of sorting global known variables: time 1.857e-05/0.006339, allocations: 17.73 kB / 0.6431 GB, free: 8.543 MB / 0.6043 GB Notification: Performance of sort global known variables: time 4e-08/0.006339, allocations: 0 / 0.6431 GB, free: 8.543 MB / 0.6043 GB Notification: Performance of remove unused functions: time 0.0001038/0.006443, allocations: 28 kB / 0.6431 GB, free: 8.516 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: 4 ($whenCondition2,$whenCondition1,locTim.tNext,eqnTim.tNext) * Number of discrete states: 2 (locTim.tNext,eqnTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.455e-05/0.006508, allocations: 88.34 kB / 0.6432 GB, free: 8.422 MB / 0.6043 GB Notification: Performance of simCode: created initialization part: time 8.279e-05/0.006591, allocations: 56.94 kB / 0.6432 GB, free: 8.363 MB / 0.6043 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.006592, allocations: 0 / 0.6432 GB, free: 8.363 MB / 0.6043 GB Notification: Performance of simCode: created simulation system equations: time 4.127e-05/0.006633, allocations: 36.78 kB / 0.6433 GB, free: 8.324 MB / 0.6043 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 6.479e-05/0.006698, allocations: 8 kB / 0.6433 GB, free: 8.316 MB / 0.6043 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005305/0.007229, allocations: 232.4 kB / 0.6435 GB, free: 8.062 MB / 0.6043 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.935e-05/0.007258, allocations: 63.34 kB / 0.6436 GB, free: 7.98 MB / 0.6043 GB Notification: Performance of simCode: alias equations: time 3.694e-05/0.007295, allocations: 12.48 kB / 0.6436 GB, free: 7.969 MB / 0.6043 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.193e-05/0.007347, allocations: 59.38 kB / 0.6436 GB, free: 7.91 MB / 0.6043 GB Notification: Performance of SimCode: time 5.21e-07/0.007347, allocations: 0 / 0.6436 GB, free: 7.91 MB / 0.6043 GB Notification: Performance of Templates: time 0.00254/0.009888, allocations: 1.185 MB / 0.6448 GB, free: 6.723 MB / 0.6043 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.makefile [Timeout 660] (rm -f AixLib_AixLib.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe ; mkfifo AixLib_AixLib.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe ; head -c 1048576 < AixLib_AixLib.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe >> ../files/AixLib_AixLib.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.sim & ./AixLib_AixLib.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > AixLib_AixLib.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.39373177383095]