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.04648/0.04648, allocations: 9.129 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.0008572/0.0008572, allocations: 91.03 kB / 35.33 MB, free: 1.082 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.0008947/0.0008947, allocations: 165.4 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.9506/0.9506, allocations: 177.1 MB / 219.2 MB, free: 10.11 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.004486/0.004486, allocations: 0.8257 MB / 276.5 MB, free: 0.7422 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.747/1.747, 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.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.513e-06/1.513e-06, allocations: 0 / 0.6379 GB, free: 14.1 MB / 0.6043 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.027e-05/2.178e-05, allocations: 2.312 kB / 0.6379 GB, free: 14.1 MB / 0.6043 GB Notification: Performance of NFInst.instantiate(AixLib.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime): time 0.002213/0.002235, allocations: 1.686 MB / 0.6395 GB, free: 12.4 MB / 0.6043 GB Notification: Performance of NFInst.instExpressions: time 0.0008319/0.003067, allocations: 0.5958 MB / 0.6401 GB, free: 11.8 MB / 0.6043 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.742e-05/0.003114, allocations: 0 / 0.6401 GB, free: 11.8 MB / 0.6043 GB Notification: Performance of NFTyping.typeComponents: time 2.965e-05/0.003144, allocations: 7.922 kB / 0.6401 GB, free: 11.79 MB / 0.6043 GB Notification: Performance of NFTyping.typeBindings: time 0.000229/0.003373, allocations: 39.66 kB / 0.6401 GB, free: 11.75 MB / 0.6043 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001509/0.003524, allocations: 47.81 kB / 0.6402 GB, free: 11.7 MB / 0.6043 GB Notification: Performance of NFFlatten.flatten: time 0.0001048/0.003628, allocations: 111.6 kB / 0.6403 GB, free: 11.59 MB / 0.6043 GB Notification: Performance of NFFlatten.resolveConnections: time 8.002e-05/0.003708, allocations: 19.92 kB / 0.6403 GB, free: 11.57 MB / 0.6043 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001575/0.003866, allocations: 75.8 kB / 0.6404 GB, free: 11.5 MB / 0.6043 GB Notification: Performance of NFSimplifyModel.simplify: time 8.964e-05/0.003956, allocations: 39.88 kB / 0.6404 GB, free: 11.46 MB / 0.6043 GB Notification: Performance of NFPackage.collectConstants: time 1.711e-05/0.003973, allocations: 8 kB / 0.6404 GB, free: 11.45 MB / 0.6043 GB Notification: Performance of NFFlatten.collectFunctions: time 4.657e-05/0.004019, allocations: 20 kB / 0.6405 GB, free: 11.43 MB / 0.6043 GB Notification: Performance of NFScalarize.scalarize: time 2.28e-05/0.004042, allocations: 15.92 kB / 0.6405 GB, free: 11.42 MB / 0.6043 GB Notification: Performance of NFVerifyModel.verify: time 3.263e-05/0.004075, allocations: 31.97 kB / 0.6405 GB, free: 11.39 MB / 0.6043 GB Notification: Performance of NFConvertDAE.convert: time 0.0001242/0.004199, allocations: 83.7 kB / 0.6406 GB, free: 11.3 MB / 0.6043 GB Notification: Performance of FrontEnd - DAE generated: time 2.174e-06/0.004201, allocations: 0 / 0.6406 GB, free: 11.3 MB / 0.6043 GB Notification: Performance of FrontEnd: time 8.32e-07/0.004202, allocations: 0 / 0.6406 GB, free: 11.3 MB / 0.6043 GB Notification: Performance of Transformations before backend: time 3.727e-06/0.004206, allocations: 7.938 kB / 0.6406 GB, free: 11.3 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.0004219/0.004627, allocations: 304.2 kB / 0.6409 GB, free: 10.98 MB / 0.6043 GB Notification: Performance of prepare preOptimizeDAE: time 3.596e-05/0.004663, allocations: 15.98 kB / 0.6409 GB, free: 10.96 MB / 0.6043 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001266/0.00479, allocations: 16.92 kB / 0.6409 GB, free: 10.95 MB / 0.6043 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.918e-05/0.004889, allocations: 121.6 kB / 0.641 GB, free: 10.8 MB / 0.6043 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.407e-05/0.004903, allocations: 4.375 kB / 0.641 GB, free: 10.8 MB / 0.6043 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.308e-05/0.004916, allocations: 16.36 kB / 0.641 GB, free: 10.78 MB / 0.6043 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001003/0.005017, allocations: 74.91 kB / 0.6411 GB, free: 10.7 MB / 0.6043 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.582e-06/0.005023, allocations: 192 / 0.6411 GB, free: 10.7 MB / 0.6043 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.378e-06/0.005033, allocations: 4.375 kB / 0.6411 GB, free: 10.7 MB / 0.6043 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.721e-06/0.005038, allocations: 7.938 kB / 0.6411 GB, free: 10.69 MB / 0.6043 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.856e-05/0.005077, allocations: 23.86 kB / 0.6412 GB, free: 10.66 MB / 0.6043 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002509/0.005328, allocations: 200.1 kB / 0.6413 GB, free: 10.45 MB / 0.6043 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000139/0.005467, allocations: 74.45 kB / 0.6414 GB, free: 10.37 MB / 0.6043 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.763e-05/0.005494, allocations: 20.84 kB / 0.6414 GB, free: 10.35 MB / 0.6043 GB Notification: Performance of preOpt evalFunc (simulation): time 1.351e-05/0.005508, allocations: 11.94 kB / 0.6414 GB, free: 10.34 MB / 0.6043 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.614e-05/0.005604, allocations: 87.23 kB / 0.6415 GB, free: 10.24 MB / 0.6043 GB Notification: Performance of pre-optimization done (n=11): time 1.112e-06/0.005605, allocations: 0 / 0.6415 GB, free: 10.24 MB / 0.6043 GB Notification: Performance of matching and sorting (n=11): time 0.0001323/0.005737, allocations: 89.52 kB / 0.6416 GB, free: 10.14 MB / 0.6043 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.865e-05/0.005766, allocations: 55.41 kB / 0.6417 GB, free: 10.08 MB / 0.6043 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.912e-05/0.005825, allocations: 122.7 kB / 0.6418 GB, free: 9.945 MB / 0.6043 GB Notification: Performance of collectPreVariables (initialization): time 1.656e-05/0.005842, allocations: 29.7 kB / 0.6418 GB, free: 9.91 MB / 0.6043 GB Notification: Performance of collectInitialEqns (initialization): time 3.045e-05/0.005872, allocations: 92.44 kB / 0.6419 GB, free: 9.812 MB / 0.6043 GB Notification: Performance of collectInitialBindings (initialization): time 3.175e-05/0.005904, allocations: 31.75 kB / 0.6419 GB, free: 9.781 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.168e-05/0.005936, allocations: 29.69 kB / 0.642 GB, free: 9.746 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 6.891e-05/0.006005, allocations: 322.8 kB / 0.6423 GB, free: 9.422 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.147e-05/0.006026, allocations: 16 kB / 0.6423 GB, free: 9.406 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.738e-05/0.006043, allocations: 11.98 kB / 0.6423 GB, free: 9.395 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.902e-05/0.006092, allocations: 41.08 kB / 0.6423 GB, free: 9.352 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.006094, allocations: 0 / 0.6423 GB, free: 9.352 MB / 0.6043 GB Notification: Performance of matching and sorting (n=13) (initialization): time 7.75e-05/0.006172, allocations: 77.55 kB / 0.6424 GB, free: 9.27 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 1.096e-05/0.006183, allocations: 8 kB / 0.6424 GB, free: 9.262 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.817e-06/0.006187, allocations: 0 / 0.6424 GB, free: 9.262 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.939e-06/0.006197, allocations: 3.938 kB / 0.6424 GB, free: 9.258 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.225e-05/0.006259, allocations: 15.98 kB / 0.6424 GB, free: 9.242 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.769e-06/0.006264, allocations: 7.984 kB / 0.6424 GB, free: 9.234 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.998e-05/0.006304, allocations: 15.92 kB / 0.6425 GB, free: 9.219 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.745e-06/0.006311, allocations: 4 kB / 0.6425 GB, free: 9.215 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 6.273e-05/0.006374, allocations: 121.8 kB / 0.6426 GB, free: 9.086 MB / 0.6043 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.394e-05/0.006388, allocations: 11.92 kB / 0.6426 GB, free: 9.074 MB / 0.6043 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001101/0.006498, allocations: 86.08 kB / 0.6427 GB, free: 8.984 MB / 0.6043 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.896e-06/0.006501, allocations: 4 kB / 0.6427 GB, free: 8.98 MB / 0.6043 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.333e-06/0.006502, allocations: 0 / 0.6427 GB, free: 8.98 MB / 0.6043 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.948e-06/0.006506, allocations: 4 kB / 0.6427 GB, free: 8.977 MB / 0.6043 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.786e-05/0.006604, allocations: 93.83 kB / 0.6428 GB, free: 8.867 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.006606, allocations: 4 kB / 0.6428 GB, free: 8.863 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.21e-05/0.006648, allocations: 15.98 kB / 0.6428 GB, free: 8.848 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.796e-06/0.006651, allocations: 4 kB / 0.6428 GB, free: 8.844 MB / 0.6043 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.344e-06/0.006658, allocations: 7.938 kB / 0.6428 GB, free: 8.836 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.006659, allocations: 3.938 kB / 0.6428 GB, free: 8.832 MB / 0.6043 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.00666, allocations: 0 / 0.6428 GB, free: 8.832 MB / 0.6043 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.572e-05/0.006746, allocations: 105.1 kB / 0.6429 GB, free: 8.711 MB / 0.6043 GB Notification: Performance of postOpt removeConstants (simulation): time 1.376e-05/0.006759, allocations: 15.88 kB / 0.6429 GB, free: 8.695 MB / 0.6043 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.975e-05/0.006779, allocations: 11.94 kB / 0.6429 GB, free: 8.684 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.298e-05/0.006812, allocations: 0 / 0.6429 GB, free: 8.684 MB / 0.6043 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.099e-05/0.006843, allocations: 15.97 kB / 0.6429 GB, free: 8.668 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.337e-06/0.006852, allocations: 8 kB / 0.643 GB, free: 8.66 MB / 0.6043 GB Notification: Performance of sorting global known variables: time 1.919e-05/0.006872, allocations: 16.84 kB / 0.643 GB, free: 8.641 MB / 0.6043 GB Notification: Performance of sort global known variables: time 5e-08/0.006872, allocations: 0 / 0.643 GB, free: 8.641 MB / 0.6043 GB Notification: Performance of remove unused functions: time 0.0001092/0.006981, allocations: 24 kB / 0.643 GB, free: 8.617 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 9.163e-05/0.007073, allocations: 88.36 kB / 0.6431 GB, free: 8.523 MB / 0.6043 GB Notification: Performance of simCode: created initialization part: time 8.786e-05/0.00716, allocations: 57.19 kB / 0.6431 GB, free: 8.465 MB / 0.6043 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.007163, allocations: 0 / 0.6431 GB, free: 8.465 MB / 0.6043 GB Notification: Performance of simCode: created simulation system equations: time 4.011e-05/0.007203, allocations: 36.78 kB / 0.6432 GB, free: 8.426 MB / 0.6043 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 7.221e-05/0.007275, allocations: 13.2 kB / 0.6432 GB, free: 8.414 MB / 0.6043 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005502/0.007825, allocations: 240.3 kB / 0.6434 GB, free: 8.152 MB / 0.6043 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.996e-05/0.007855, allocations: 63.34 kB / 0.6435 GB, free: 8.07 MB / 0.6043 GB Notification: Performance of simCode: alias equations: time 4.088e-05/0.007896, allocations: 12.5 kB / 0.6435 GB, free: 8.059 MB / 0.6043 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.116e-05/0.007947, allocations: 59.36 kB / 0.6435 GB, free: 8 MB / 0.6043 GB Notification: Performance of SimCode: time 4.51e-07/0.007948, allocations: 0 / 0.6435 GB, free: 8 MB / 0.6043 GB Notification: Performance of Templates: time 0.002674/0.01062, allocations: 1.176 MB / 0.6447 GB, free: 6.82 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 -lv LOG_STATS > AixLib_AixLib.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.593651001807302]