Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.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.04042/0.04042, allocations: 9.131 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.001278/0.001278, allocations: 101.9 kB / 35.34 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.0009308/0.0009308, allocations: 164 kB / 38.73 MB, free: 2.492 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.9656/0.9656, allocations: 177.2 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.01139/0.01139, allocations: 0.8181 MB / 276.5 MB, free: 0.7461 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.763/1.763, allocations: 274.9 MB / 0.5419 GB, free: 0.6406 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.ConvertTimePositiveStart,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart") translateModel(AixLib.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.063e-06/2.063e-06, allocations: 0 / 0.6379 GB, free: 14.06 MB / 0.6043 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.316e-05/2.523e-05, allocations: 2.312 kB / 0.6379 GB, free: 14.05 MB / 0.6043 GB Notification: Performance of NFInst.instantiate(AixLib.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart): time 0.002424/0.002449, allocations: 1.6 MB / 0.6395 GB, free: 12.44 MB / 0.6043 GB Notification: Performance of NFInst.instExpressions: time 0.0003919/0.002841, allocations: 191.2 kB / 0.6397 GB, free: 12.25 MB / 0.6043 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.395e-05/0.002875, allocations: 0 / 0.6397 GB, free: 12.25 MB / 0.6043 GB Notification: Performance of NFTyping.typeComponents: time 2.519e-05/0.0029, allocations: 3.938 kB / 0.6397 GB, free: 12.25 MB / 0.6043 GB Notification: Performance of NFTyping.typeBindings: time 0.0001995/0.0031, allocations: 31.78 kB / 0.6397 GB, free: 12.22 MB / 0.6043 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001539/0.003254, allocations: 55.8 kB / 0.6398 GB, free: 12.16 MB / 0.6043 GB Notification: Performance of NFFlatten.flatten: time 8.642e-05/0.00334, allocations: 55.83 kB / 0.6398 GB, free: 12.11 MB / 0.6043 GB Notification: Performance of NFFlatten.resolveConnections: time 6.614e-05/0.003406, allocations: 4 kB / 0.6398 GB, free: 12.11 MB / 0.6043 GB Notification: Performance of NFEvalConstants.evaluate: time 7.045e-05/0.003477, allocations: 39.91 kB / 0.6399 GB, free: 12.07 MB / 0.6043 GB Notification: Performance of NFSimplifyModel.simplify: time 6.99e-05/0.003547, allocations: 11.98 kB / 0.6399 GB, free: 12.05 MB / 0.6043 GB Notification: Performance of NFPackage.collectConstants: time 2.362e-05/0.00357, allocations: 7.984 kB / 0.6399 GB, free: 12.05 MB / 0.6043 GB Notification: Performance of NFFlatten.collectFunctions: time 1.462e-05/0.003585, allocations: 4 kB / 0.6399 GB, free: 12.04 MB / 0.6043 GB Notification: Performance of NFScalarize.scalarize: time 3.469e-05/0.00362, allocations: 19.92 kB / 0.6399 GB, free: 12.02 MB / 0.6043 GB Notification: Performance of NFVerifyModel.verify: time 3.411e-05/0.003654, allocations: 15.98 kB / 0.6399 GB, free: 12.01 MB / 0.6043 GB Notification: Performance of NFConvertDAE.convert: time 0.0001053/0.003759, allocations: 35.89 kB / 0.6399 GB, free: 11.97 MB / 0.6043 GB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/0.003765, allocations: 11.92 kB / 0.64 GB, free: 11.96 MB / 0.6043 GB Notification: Performance of FrontEnd: time 1.293e-06/0.003766, allocations: 0 / 0.64 GB, free: 11.96 MB / 0.6043 GB Notification: Performance of Transformations before backend: time 4.528e-06/0.003771, allocations: 0 / 0.64 GB, free: 11.96 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.0003617/0.004132, allocations: 248.5 kB / 0.6402 GB, free: 11.69 MB / 0.6043 GB Notification: Performance of prepare preOptimizeDAE: time 3.373e-05/0.004166, allocations: 15.98 kB / 0.6402 GB, free: 11.68 MB / 0.6043 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.737e-05/0.004193, allocations: 4.938 kB / 0.6402 GB, free: 11.67 MB / 0.6043 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.485e-05/0.004268, allocations: 113.7 kB / 0.6403 GB, free: 11.54 MB / 0.6043 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.164e-05/0.00428, allocations: 4.375 kB / 0.6403 GB, free: 11.53 MB / 0.6043 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.145e-06/0.004288, allocations: 384 / 0.6403 GB, free: 11.53 MB / 0.6043 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001166/0.004405, allocations: 128.9 kB / 0.6405 GB, free: 11.38 MB / 0.6043 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.831e-06/0.00441, allocations: 192 / 0.6405 GB, free: 11.38 MB / 0.6043 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.005e-06/0.004418, allocations: 384 / 0.6405 GB, free: 11.38 MB / 0.6043 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.478e-06/0.004423, allocations: 384 / 0.6405 GB, free: 11.38 MB / 0.6043 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.403e-05/0.004447, allocations: 19.86 kB / 0.6405 GB, free: 11.36 MB / 0.6043 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002103/0.004657, allocations: 164.2 kB / 0.6406 GB, free: 11.18 MB / 0.6043 GB Notification: Performance of preOpt comSubExp (simulation): time 5.296e-05/0.00471, allocations: 30.73 kB / 0.6407 GB, free: 11.14 MB / 0.6043 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.796e-05/0.004728, allocations: 12.84 kB / 0.6407 GB, free: 11.12 MB / 0.6043 GB Notification: Performance of preOpt evalFunc (simulation): time 6.251e-06/0.004734, allocations: 0 / 0.6407 GB, free: 11.12 MB / 0.6043 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.247e-05/0.004817, allocations: 63.31 kB / 0.6407 GB, free: 11.05 MB / 0.6043 GB Notification: Performance of pre-optimization done (n=4): time 9.82e-07/0.004818, allocations: 0 / 0.6407 GB, free: 11.05 MB / 0.6043 GB Notification: Performance of matching and sorting (n=4): time 0.0001043/0.004922, allocations: 53.62 kB / 0.6408 GB, free: 10.99 MB / 0.6043 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.194e-05/0.004964, allocations: 106.8 kB / 0.6409 GB, free: 10.86 MB / 0.6043 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.34e-05/0.005018, allocations: 102.7 kB / 0.641 GB, free: 10.75 MB / 0.6043 GB Notification: Performance of collectPreVariables (initialization): time 1.709e-05/0.005035, allocations: 25.7 kB / 0.641 GB, free: 10.72 MB / 0.6043 GB Notification: Performance of collectInitialEqns (initialization): time 3.004e-05/0.005065, allocations: 92.12 kB / 0.6411 GB, free: 10.62 MB / 0.6043 GB Notification: Performance of collectInitialBindings (initialization): time 2.293e-05/0.005088, allocations: 19.83 kB / 0.6411 GB, free: 10.61 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.752e-05/0.005115, allocations: 13.72 kB / 0.6411 GB, free: 10.59 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 7.833e-05/0.005193, allocations: 322.8 kB / 0.6414 GB, free: 10.26 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.194e-05/0.005205, allocations: 8.188 kB / 0.6414 GB, free: 10.25 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.139e-05/0.005247, allocations: 85.97 kB / 0.6415 GB, free: 10.15 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.919e-05/0.005276, allocations: 12.86 kB / 0.6415 GB, free: 10.13 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.005279, allocations: 3.984 kB / 0.6415 GB, free: 10.13 MB / 0.6043 GB Notification: Performance of matching and sorting (n=5) (initialization): time 5.728e-05/0.005336, allocations: 41.69 kB / 0.6416 GB, free: 10.08 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 1.474e-05/0.005351, allocations: 8 kB / 0.6416 GB, free: 10.07 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.005357, allocations: 3.969 kB / 0.6416 GB, free: 10.07 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.546e-06/0.005365, allocations: 7.938 kB / 0.6416 GB, free: 10.06 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.59e-05/0.005421, allocations: 7.938 kB / 0.6416 GB, free: 10.05 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.124e-06/0.005423, allocations: 4 kB / 0.6416 GB, free: 10.05 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.826e-05/0.005471, allocations: 7.984 kB / 0.6416 GB, free: 10.04 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.711e-06/0.005477, allocations: 0 / 0.6416 GB, free: 10.04 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 (conTim.tNext,$PRE.conTim.tNext,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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.269e-05/0.00554, allocations: 113.8 kB / 0.6417 GB, free: 9.922 MB / 0.6043 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.025e-06/0.005548, allocations: 0 / 0.6417 GB, free: 9.922 MB / 0.6043 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.887e-05/0.005577, allocations: 19.61 kB / 0.6417 GB, free: 9.906 MB / 0.6043 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-06/0.005578, allocations: 0 / 0.6417 GB, free: 9.906 MB / 0.6043 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.884e-06/0.00558, allocations: 4 kB / 0.6417 GB, free: 9.902 MB / 0.6043 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.005583, allocations: 0 / 0.6417 GB, free: 9.902 MB / 0.6043 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.536e-05/0.005648, allocations: 69.89 kB / 0.6418 GB, free: 9.816 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.41e-07/0.005649, allocations: 0 / 0.6418 GB, free: 9.816 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.674e-05/0.005666, allocations: 7.984 kB / 0.6418 GB, free: 9.809 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.323e-06/0.005667, allocations: 0 / 0.6418 GB, free: 9.809 MB / 0.6043 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.438e-06/0.005671, allocations: 0 / 0.6418 GB, free: 9.809 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.005673, allocations: 192 / 0.6418 GB, free: 9.809 MB / 0.6043 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.005674, allocations: 3.938 kB / 0.6418 GB, free: 9.805 MB / 0.6043 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.591e-05/0.00574, allocations: 73.06 kB / 0.6419 GB, free: 9.715 MB / 0.6043 GB Notification: Performance of postOpt removeConstants (simulation): time 4.265e-05/0.005783, allocations: 7.984 kB / 0.6419 GB, free: 9.707 MB / 0.6043 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.78e-05/0.005801, allocations: 8 kB / 0.6419 GB, free: 9.699 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.735e-05/0.005858, allocations: 7.984 kB / 0.6419 GB, free: 9.691 MB / 0.6043 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.398e-05/0.005882, allocations: 7.938 kB / 0.6419 GB, free: 9.684 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.266e-06/0.00589, allocations: 0 / 0.6419 GB, free: 9.684 MB / 0.6043 GB Notification: Performance of sorting global known variables: time 1.496e-05/0.005905, allocations: 12.84 kB / 0.6419 GB, free: 9.668 MB / 0.6043 GB Notification: Performance of sort global known variables: time 6e-08/0.005905, allocations: 0 / 0.6419 GB, free: 9.668 MB / 0.6043 GB Notification: Performance of remove unused functions: time 0.0001054/0.006011, allocations: 12 kB / 0.6419 GB, free: 9.656 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,conTim.tNext) * Number of discrete states: 1 (conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 3 * 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.699e-05/0.006098, allocations: 80.66 kB / 0.642 GB, free: 9.57 MB / 0.6043 GB Notification: Performance of simCode: created initialization part: time 8.528e-05/0.006183, allocations: 36.75 kB / 0.6421 GB, free: 9.531 MB / 0.6043 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.006186, allocations: 4 kB / 0.6421 GB, free: 9.527 MB / 0.6043 GB Notification: Performance of simCode: created simulation system equations: time 2.409e-05/0.00621, allocations: 12.86 kB / 0.6421 GB, free: 9.512 MB / 0.6043 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 7.426e-05/0.006284, allocations: 7.984 kB / 0.6421 GB, free: 9.504 MB / 0.6043 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003511/0.006635, allocations: 136.5 kB / 0.6422 GB, free: 9.344 MB / 0.6043 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.995e-05/0.006665, allocations: 55.34 kB / 0.6423 GB, free: 9.27 MB / 0.6043 GB Notification: Performance of simCode: alias equations: time 2.948e-05/0.006694, allocations: 4 kB / 0.6423 GB, free: 9.266 MB / 0.6043 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.433e-05/0.006769, allocations: 67.34 kB / 0.6423 GB, free: 9.199 MB / 0.6043 GB Notification: Performance of SimCode: time 6.22e-07/0.006769, allocations: 3.938 kB / 0.6423 GB, free: 9.195 MB / 0.6043 GB Notification: Performance of Templates: time 0.002504/0.009274, allocations: 1.027 MB / 0.6433 GB, free: 8.156 MB / 0.6043 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.makefile [Timeout 660] (rm -f AixLib_AixLib.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe ; mkfifo AixLib_AixLib.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe ; head -c 1048576 < AixLib_AixLib.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe >> ../files/AixLib_AixLib.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.sim & ./AixLib_AixLib.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > AixLib_AixLib.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.409479660913348]