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.06234/0.06234, allocations: 9.128 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.000838/0.000838, allocations: 90.72 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.001062/0.001062, allocations: 164.5 kB / 38.73 MB, free: 2.508 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.9883/0.9883, allocations: 177.2 MB / 219.2 MB, free: 10.08 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.003927/0.003927, allocations: 0.8185 MB / 276.5 MB, free: 0.7109 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.613/1.613, 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.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 1.563e-06/1.563e-06, allocations: 0 / 0.6379 GB, free: 14.09 MB / 0.6043 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.824e-05/1.981e-05, allocations: 2.312 kB / 0.6379 GB, free: 14.09 MB / 0.6043 GB Notification: Performance of NFInst.instantiate(AixLib.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart): time 0.001825/0.001845, allocations: 1.557 MB / 0.6394 GB, free: 12.52 MB / 0.6043 GB Notification: Performance of NFInst.instExpressions: time 0.0003694/0.002214, allocations: 195.2 kB / 0.6396 GB, free: 12.33 MB / 0.6043 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.444e-05/0.002248, allocations: 0 / 0.6396 GB, free: 12.33 MB / 0.6043 GB Notification: Performance of NFTyping.typeComponents: time 2.258e-05/0.002271, allocations: 3.984 kB / 0.6396 GB, free: 12.32 MB / 0.6043 GB Notification: Performance of NFTyping.typeBindings: time 0.0001752/0.002446, allocations: 19.81 kB / 0.6396 GB, free: 12.3 MB / 0.6043 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001362/0.002582, allocations: 59.78 kB / 0.6397 GB, free: 12.25 MB / 0.6043 GB Notification: Performance of NFFlatten.flatten: time 7.909e-05/0.002661, allocations: 59.83 kB / 0.6397 GB, free: 12.19 MB / 0.6043 GB Notification: Performance of NFFlatten.resolveConnections: time 5.929e-05/0.002721, allocations: 4 kB / 0.6397 GB, free: 12.18 MB / 0.6043 GB Notification: Performance of NFEvalConstants.evaluate: time 6.955e-05/0.00279, allocations: 31.92 kB / 0.6398 GB, free: 12.15 MB / 0.6043 GB Notification: Performance of NFSimplifyModel.simplify: time 6.355e-05/0.002854, allocations: 19.95 kB / 0.6398 GB, free: 12.13 MB / 0.6043 GB Notification: Performance of NFPackage.collectConstants: time 1.976e-05/0.002874, allocations: 8 kB / 0.6398 GB, free: 12.12 MB / 0.6043 GB Notification: Performance of NFFlatten.collectFunctions: time 1.029e-05/0.002884, allocations: 4 kB / 0.6398 GB, free: 12.12 MB / 0.6043 GB Notification: Performance of NFScalarize.scalarize: time 1.972e-05/0.002904, allocations: 11.94 kB / 0.6398 GB, free: 12.11 MB / 0.6043 GB Notification: Performance of NFVerifyModel.verify: time 2.916e-05/0.002933, allocations: 19.97 kB / 0.6398 GB, free: 12.09 MB / 0.6043 GB Notification: Performance of NFConvertDAE.convert: time 7.661e-05/0.003009, allocations: 39.89 kB / 0.6399 GB, free: 12.05 MB / 0.6043 GB Notification: Performance of FrontEnd - DAE generated: time 1.653e-06/0.003011, allocations: 0 / 0.6399 GB, free: 12.05 MB / 0.6043 GB Notification: Performance of FrontEnd: time 4.81e-07/0.003011, allocations: 0 / 0.6399 GB, free: 12.05 MB / 0.6043 GB Notification: Performance of Transformations before backend: time 2.795e-06/0.003014, allocations: 0 / 0.6399 GB, free: 12.05 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.0003064/0.003321, allocations: 252.5 kB / 0.6401 GB, free: 11.78 MB / 0.6043 GB Notification: Performance of prepare preOptimizeDAE: time 3.015e-05/0.003351, allocations: 11.98 kB / 0.6401 GB, free: 11.77 MB / 0.6043 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000106/0.003457, allocations: 16.86 kB / 0.6401 GB, free: 11.75 MB / 0.6043 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.962e-05/0.003526, allocations: 105.8 kB / 0.6402 GB, free: 11.62 MB / 0.6043 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.163e-05/0.003538, allocations: 8.375 kB / 0.6402 GB, free: 11.61 MB / 0.6043 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.122e-05/0.003549, allocations: 384 / 0.6402 GB, free: 11.61 MB / 0.6043 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001159/0.003665, allocations: 136.8 kB / 0.6404 GB, free: 11.45 MB / 0.6043 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.531e-06/0.003671, allocations: 192 / 0.6404 GB, free: 11.45 MB / 0.6043 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.373e-06/0.003678, allocations: 384 / 0.6404 GB, free: 11.45 MB / 0.6043 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.07e-06/0.003683, allocations: 4.375 kB / 0.6404 GB, free: 11.45 MB / 0.6043 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.075e-05/0.003704, allocations: 11.92 kB / 0.6404 GB, free: 11.43 MB / 0.6043 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001766/0.003881, allocations: 156.3 kB / 0.6405 GB, free: 11.27 MB / 0.6043 GB Notification: Performance of preOpt comSubExp (simulation): time 5.577e-05/0.003936, allocations: 38.48 kB / 0.6406 GB, free: 11.22 MB / 0.6043 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.407e-05/0.00395, allocations: 8.859 kB / 0.6406 GB, free: 11.21 MB / 0.6043 GB Notification: Performance of preOpt evalFunc (simulation): time 6.522e-06/0.003957, allocations: 4 kB / 0.6406 GB, free: 11.2 MB / 0.6043 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.785e-05/0.004035, allocations: 55.55 kB / 0.6406 GB, free: 11.14 MB / 0.6043 GB Notification: Performance of pre-optimization done (n=4): time 1.172e-06/0.004036, allocations: 0 / 0.6406 GB, free: 11.14 MB / 0.6043 GB Notification: Performance of matching and sorting (n=4): time 9.762e-05/0.004134, allocations: 61.53 kB / 0.6407 GB, free: 11.07 MB / 0.6043 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.959e-05/0.004173, allocations: 102.8 kB / 0.6408 GB, free: 10.95 MB / 0.6043 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.636e-05/0.00422, allocations: 110.7 kB / 0.6409 GB, free: 10.82 MB / 0.6043 GB Notification: Performance of collectPreVariables (initialization): time 1.522e-05/0.004235, allocations: 29.7 kB / 0.6409 GB, free: 10.79 MB / 0.6043 GB Notification: Performance of collectInitialEqns (initialization): time 2.595e-05/0.004261, allocations: 88.14 kB / 0.641 GB, free: 10.7 MB / 0.6043 GB Notification: Performance of collectInitialBindings (initialization): time 1.586e-05/0.004277, allocations: 11.84 kB / 0.641 GB, free: 10.69 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.797e-05/0.004305, allocations: 21.7 kB / 0.641 GB, free: 10.66 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 6.252e-05/0.004367, allocations: 318.8 kB / 0.6414 GB, free: 10.34 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.427e-06/0.004376, allocations: 4 kB / 0.6414 GB, free: 10.34 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.35e-05/0.00441, allocations: 78.22 kB / 0.6414 GB, free: 10.24 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.447e-05/0.004434, allocations: 20.97 kB / 0.6414 GB, free: 10.21 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.004436, allocations: 0 / 0.6414 GB, free: 10.21 MB / 0.6043 GB Notification: Performance of matching and sorting (n=5) (initialization): time 4.385e-05/0.00448, allocations: 53.62 kB / 0.6415 GB, free: 10.16 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 8.956e-06/0.004489, allocations: 4 kB / 0.6415 GB, free: 10.15 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.004494, allocations: 3.938 kB / 0.6415 GB, free: 10.15 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.115e-06/0.004502, allocations: 4.031 kB / 0.6415 GB, free: 10.14 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.364e-05/0.004546, allocations: 7.984 kB / 0.6415 GB, free: 10.14 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.348e-06/0.00455, allocations: 4 kB / 0.6415 GB, free: 10.13 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.45e-05/0.004594, allocations: 4 kB / 0.6415 GB, free: 10.13 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.092e-06/0.0046, allocations: 0 / 0.6415 GB, free: 10.13 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 5.031e-05/0.004651, allocations: 113.8 kB / 0.6416 GB, free: 10.01 MB / 0.6043 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.476e-06/0.004659, allocations: 7.984 kB / 0.6416 GB, free: 10 MB / 0.6043 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.738e-05/0.004677, allocations: 11.62 kB / 0.6417 GB, free: 9.988 MB / 0.6043 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.052e-06/0.004678, allocations: 0 / 0.6417 GB, free: 9.988 MB / 0.6043 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.473e-06/0.004679, allocations: 0 / 0.6417 GB, free: 9.988 MB / 0.6043 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.324e-06/0.004681, allocations: 4 kB / 0.6417 GB, free: 9.984 MB / 0.6043 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.57e-05/0.004737, allocations: 73.88 kB / 0.6417 GB, free: 9.895 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.11e-07/0.004738, allocations: 0 / 0.6417 GB, free: 9.895 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.099e-05/0.004749, allocations: 7.938 kB / 0.6417 GB, free: 9.887 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.92e-07/0.00475, allocations: 0 / 0.6417 GB, free: 9.887 MB / 0.6043 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.28e-06/0.004755, allocations: 4 kB / 0.6417 GB, free: 9.883 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.21e-07/0.004755, allocations: 0 / 0.6417 GB, free: 9.883 MB / 0.6043 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.004757, allocations: 3.938 kB / 0.6417 GB, free: 9.879 MB / 0.6043 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.125e-05/0.004808, allocations: 69.11 kB / 0.6418 GB, free: 9.793 MB / 0.6043 GB Notification: Performance of postOpt removeConstants (simulation): time 2.066e-05/0.004829, allocations: 4 kB / 0.6418 GB, free: 9.789 MB / 0.6043 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.241e-05/0.004841, allocations: 0 / 0.6418 GB, free: 9.789 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.321e-05/0.004874, allocations: 16.05 kB / 0.6418 GB, free: 9.773 MB / 0.6043 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.13e-05/0.004896, allocations: 11.92 kB / 0.6418 GB, free: 9.762 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.652e-06/0.004902, allocations: 4 kB / 0.6418 GB, free: 9.758 MB / 0.6043 GB Notification: Performance of sorting global known variables: time 1.176e-05/0.004914, allocations: 12.84 kB / 0.6419 GB, free: 9.742 MB / 0.6043 GB Notification: Performance of sort global known variables: time 5e-08/0.004914, allocations: 0 / 0.6419 GB, free: 9.742 MB / 0.6043 GB Notification: Performance of remove unused functions: time 0.0001066/0.005021, allocations: 12 kB / 0.6419 GB, free: 9.73 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 6.939e-05/0.00509, allocations: 80.36 kB / 0.6419 GB, free: 9.645 MB / 0.6043 GB Notification: Performance of simCode: created initialization part: time 6.044e-05/0.00515, allocations: 24.84 kB / 0.642 GB, free: 9.617 MB / 0.6043 GB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.005153, allocations: 4 kB / 0.642 GB, free: 9.613 MB / 0.6043 GB Notification: Performance of simCode: created simulation system equations: time 2.048e-05/0.005174, allocations: 16.84 kB / 0.642 GB, free: 9.594 MB / 0.6043 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 5.51e-05/0.005229, allocations: 4 kB / 0.642 GB, free: 9.59 MB / 0.6043 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003028/0.005532, allocations: 136.4 kB / 0.6421 GB, free: 9.43 MB / 0.6043 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.614e-05/0.005558, allocations: 55.36 kB / 0.6422 GB, free: 9.355 MB / 0.6043 GB Notification: Performance of simCode: alias equations: time 2.56e-05/0.005583, allocations: 7.984 kB / 0.6422 GB, free: 9.348 MB / 0.6043 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.753e-05/0.005651, allocations: 63.36 kB / 0.6422 GB, free: 9.285 MB / 0.6043 GB Notification: Performance of SimCode: time 2.9e-07/0.005651, allocations: 0 / 0.6422 GB, free: 9.285 MB / 0.6043 GB Notification: Performance of Templates: time 0.002107/0.007758, allocations: 1.036 MB / 0.6433 GB, free: 8.238 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 -lv LOG_STATS > AixLib_AixLib.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.3857989511452615]