Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Controls.Continuous.Examples.OffTimer.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.04321/0.04321, allocations: 9.136 MB / 29 MB, free: 0.7891 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.0009091/0.0009091, allocations: 99.08 kB / 35.33 MB, free: 1.047 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.001075/0.001075, allocations: 157.4 kB / 38.73 MB, free: 2.496 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.8911/0.8911, 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.003925/0.003925, allocations: 0.8296 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.604/1.604, allocations: 274.9 MB / 0.5419 GB, free: 0.6445 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.Controls.Continuous.Examples.OffTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.Continuous.Examples.OffTimer") translateModel(AixLib.Controls.Continuous.Examples.OffTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.Continuous.Examples.OffTimer") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.195e-06/2.195e-06, allocations: 0 / 0.6378 GB, free: 14.2 MB / 0.6043 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.608e-05/1.828e-05, allocations: 2.312 kB / 0.6378 GB, free: 14.2 MB / 0.6043 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.Continuous.Examples.OffTimer): time 0.001741/0.001759, allocations: 1.525 MB / 0.6393 GB, free: 12.66 MB / 0.6043 GB Notification: Performance of NFInst.instExpressions: time 0.0006343/0.002394, allocations: 474.6 kB / 0.6397 GB, free: 12.19 MB / 0.6043 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.766e-05/0.002431, allocations: 8 kB / 0.6398 GB, free: 12.18 MB / 0.6043 GB Notification: Performance of NFTyping.typeComponents: time 2.786e-05/0.002459, allocations: 3.938 kB / 0.6398 GB, free: 12.18 MB / 0.6043 GB Notification: Performance of NFTyping.typeBindings: time 8.158e-05/0.002541, allocations: 11.86 kB / 0.6398 GB, free: 12.17 MB / 0.6043 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001205/0.002661, allocations: 15.98 kB / 0.6398 GB, free: 12.15 MB / 0.6043 GB Notification: Performance of NFFlatten.flatten: time 7.657e-05/0.002738, allocations: 55.77 kB / 0.6398 GB, free: 12.1 MB / 0.6043 GB Notification: Performance of NFFlatten.resolveConnections: time 8.529e-05/0.002823, allocations: 11.94 kB / 0.6398 GB, free: 12.09 MB / 0.6043 GB Notification: Performance of NFEvalConstants.evaluate: time 6.148e-05/0.002885, allocations: 35.91 kB / 0.6399 GB, free: 12.05 MB / 0.6043 GB Notification: Performance of NFSimplifyModel.simplify: time 5.607e-05/0.002941, allocations: 11.97 kB / 0.6399 GB, free: 12.04 MB / 0.6043 GB Notification: Performance of NFPackage.collectConstants: time 1.941e-05/0.00296, allocations: 4 kB / 0.6399 GB, free: 12.04 MB / 0.6043 GB Notification: Performance of NFFlatten.collectFunctions: time 8.877e-06/0.002969, allocations: 4 kB / 0.6399 GB, free: 12.03 MB / 0.6043 GB Notification: Performance of NFScalarize.scalarize: time 2.245e-05/0.002991, allocations: 19.92 kB / 0.6399 GB, free: 12.01 MB / 0.6043 GB Notification: Performance of NFVerifyModel.verify: time 2.674e-05/0.003018, allocations: 15.97 kB / 0.6399 GB, free: 12 MB / 0.6043 GB Notification: Performance of NFConvertDAE.convert: time 8.651e-05/0.003105, allocations: 31.91 kB / 0.64 GB, free: 11.96 MB / 0.6043 GB Notification: Performance of FrontEnd - DAE generated: time 1.754e-06/0.003106, allocations: 0 / 0.64 GB, free: 11.96 MB / 0.6043 GB Notification: Performance of FrontEnd: time 4.21e-07/0.003107, allocations: 0 / 0.64 GB, free: 11.96 MB / 0.6043 GB Notification: Performance of Transformations before backend: time 3.065e-06/0.00311, 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0002929/0.003403, allocations: 260.8 kB / 0.6402 GB, free: 11.69 MB / 0.6043 GB Notification: Performance of prepare preOptimizeDAE: time 3.296e-05/0.003436, allocations: 15.98 kB / 0.6402 GB, free: 11.67 MB / 0.6043 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.372e-05/0.003459, allocations: 8.922 kB / 0.6402 GB, free: 11.66 MB / 0.6043 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.986e-05/0.003529, allocations: 113.7 kB / 0.6403 GB, free: 11.53 MB / 0.6043 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.927e-06/0.003538, allocations: 12.38 kB / 0.6404 GB, free: 11.52 MB / 0.6043 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.917e-06/0.003547, allocations: 4.375 kB / 0.6404 GB, free: 11.51 MB / 0.6043 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.438e-05/0.003612, allocations: 46.23 kB / 0.6404 GB, free: 11.46 MB / 0.6043 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.709e-06/0.003616, allocations: 192 / 0.6404 GB, free: 11.46 MB / 0.6043 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.933e-06/0.003623, allocations: 384 / 0.6404 GB, free: 11.46 MB / 0.6043 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.1e-06/0.003628, allocations: 7.938 kB / 0.6404 GB, free: 11.45 MB / 0.6043 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.34e-05/0.003652, allocations: 15.92 kB / 0.6404 GB, free: 11.44 MB / 0.6043 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000224/0.003876, allocations: 180.2 kB / 0.6406 GB, free: 11.25 MB / 0.6043 GB Notification: Performance of preOpt comSubExp (simulation): time 5.878e-05/0.003934, allocations: 38.55 kB / 0.6406 GB, free: 11.2 MB / 0.6043 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.993e-05/0.003954, allocations: 24.89 kB / 0.6407 GB, free: 11.17 MB / 0.6043 GB Notification: Performance of preOpt evalFunc (simulation): time 5.64e-06/0.00396, allocations: 0 / 0.6407 GB, free: 11.17 MB / 0.6043 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.258e-05/0.004043, allocations: 79.23 kB / 0.6407 GB, free: 11.08 MB / 0.6043 GB Notification: Performance of pre-optimization done (n=9): time 8.72e-07/0.004043, allocations: 0 / 0.6407 GB, free: 11.08 MB / 0.6043 GB Notification: Performance of matching and sorting (n=9): time 0.000102/0.004146, allocations: 69.61 kB / 0.6408 GB, free: 11.01 MB / 0.6043 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.581e-05/0.004181, allocations: 59.34 kB / 0.6409 GB, free: 10.94 MB / 0.6043 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.701e-05/0.004228, allocations: 98.72 kB / 0.641 GB, free: 10.83 MB / 0.6043 GB Notification: Performance of collectPreVariables (initialization): time 1.866e-05/0.004247, allocations: 37.69 kB / 0.641 GB, free: 10.79 MB / 0.6043 GB Notification: Performance of collectInitialEqns (initialization): time 2.88e-05/0.004276, allocations: 88.08 kB / 0.6411 GB, free: 10.7 MB / 0.6043 GB Notification: Performance of collectInitialBindings (initialization): time 1.801e-05/0.004294, allocations: 19.84 kB / 0.6411 GB, free: 10.68 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.828e-05/0.004322, allocations: 33.7 kB / 0.6411 GB, free: 10.64 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 8.381e-05/0.004406, allocations: 318.8 kB / 0.6414 GB, free: 10.32 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.134e-05/0.004417, allocations: 7.984 kB / 0.6414 GB, free: 10.31 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.752e-05/0.004445, allocations: 43.3 kB / 0.6415 GB, free: 10.25 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.301e-05/0.004488, allocations: 47.41 kB / 0.6415 GB, free: 10.2 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.00449, allocations: 3.938 kB / 0.6415 GB, free: 10.19 MB / 0.6043 GB Notification: Performance of matching and sorting (n=12) (initialization): time 6.478e-05/0.004554, allocations: 73.83 kB / 0.6416 GB, free: 10.11 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 9.477e-06/0.004564, allocations: 4 kB / 0.6416 GB, free: 10.11 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.582e-06/0.00457, allocations: 8.062 kB / 0.6416 GB, free: 10.1 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.536e-06/0.004579, allocations: 4.031 kB / 0.6416 GB, free: 10.1 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.963e-05/0.004629, allocations: 15.98 kB / 0.6416 GB, free: 10.08 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.087e-06/0.004633, allocations: 3.938 kB / 0.6416 GB, free: 10.08 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.909e-05/0.004662, allocations: 11.98 kB / 0.6416 GB, free: 10.07 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.488e-06/0.004666, allocations: 4 kB / 0.6416 GB, free: 10.06 MB / 0.6043 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,not1.y,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,$whenCondition2,$whenCondition3,offTim1.entryTime,$PRE.offTim1.entryTime,offTim2.entryTime,$PRE.offTim2.entryTime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 12 * 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.233e-05/0.004719, allocations: 117.8 kB / 0.6418 GB, free: 9.938 MB / 0.6043 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.787e-06/0.004727, allocations: 11.92 kB / 0.6418 GB, free: 9.926 MB / 0.6043 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.667e-05/0.004744, allocations: 8.125 kB / 0.6418 GB, free: 9.922 MB / 0.6043 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.004746, allocations: 4 kB / 0.6418 GB, free: 9.918 MB / 0.6043 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.502e-06/0.004748, allocations: 0 / 0.6418 GB, free: 9.918 MB / 0.6043 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.004751, allocations: 4 kB / 0.6418 GB, free: 9.914 MB / 0.6043 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001747/0.004925, allocations: 226.7 kB / 0.642 GB, free: 9.668 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.004928, allocations: 3.938 kB / 0.642 GB, free: 9.664 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.158e-05/0.004939, allocations: 7.984 kB / 0.642 GB, free: 9.656 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.62e-07/0.00494, allocations: 0 / 0.642 GB, free: 9.656 MB / 0.6043 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.158e-06/0.004944, allocations: 3.938 kB / 0.642 GB, free: 9.652 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.004946, allocations: 3.984 kB / 0.642 GB, free: 9.648 MB / 0.6043 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.02e-07/0.004947, allocations: 3.938 kB / 0.642 GB, free: 9.645 MB / 0.6043 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.194e-05/0.005019, allocations: 151.5 kB / 0.6422 GB, free: 9.48 MB / 0.6043 GB Notification: Performance of postOpt removeConstants (simulation): time 6.542e-06/0.005026, allocations: 7.922 kB / 0.6422 GB, free: 9.473 MB / 0.6043 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.327e-06/0.005035, allocations: 8 kB / 0.6422 GB, free: 9.465 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.097e-05/0.005066, allocations: 4 kB / 0.6422 GB, free: 9.461 MB / 0.6043 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.821e-05/0.005094, allocations: 7.984 kB / 0.6422 GB, free: 9.453 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.769e-06/0.005099, allocations: 3.984 kB / 0.6422 GB, free: 9.449 MB / 0.6043 GB Notification: Performance of sorting global known variables: time 9.257e-06/0.005108, allocations: 12.8 kB / 0.6422 GB, free: 9.434 MB / 0.6043 GB Notification: Performance of sort global known variables: time 4e-08/0.005108, allocations: 0 / 0.6422 GB, free: 9.434 MB / 0.6043 GB Notification: Performance of remove unused functions: time 0.0001152/0.005223, allocations: 16 kB / 0.6422 GB, free: 9.418 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: 7 (not1.y,$whenCondition3,$whenCondition2,$whenCondition1,booleanPulse.pulseStart,offTim1.entryTime,offTim2.entryTime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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 5.687e-05/0.00528, allocations: 72.42 kB / 0.6423 GB, free: 9.336 MB / 0.6043 GB Notification: Performance of simCode: created initialization part: time 6.295e-05/0.005343, allocations: 44.78 kB / 0.6423 GB, free: 9.289 MB / 0.6043 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.005345, allocations: 4.062 kB / 0.6423 GB, free: 9.285 MB / 0.6043 GB Notification: Performance of simCode: created simulation system equations: time 2.971e-05/0.005375, allocations: 28.78 kB / 0.6424 GB, free: 9.254 MB / 0.6043 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001249/0.0055, allocations: 15.92 kB / 0.6424 GB, free: 9.238 MB / 0.6043 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002457/0.005746, allocations: 148.4 kB / 0.6425 GB, free: 9.066 MB / 0.6043 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.001e-05/0.005776, allocations: 59.34 kB / 0.6426 GB, free: 8.988 MB / 0.6043 GB Notification: Performance of simCode: alias equations: time 1.761e-05/0.005793, allocations: 4 kB / 0.6426 GB, free: 8.984 MB / 0.6043 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.498e-05/0.005838, allocations: 59.38 kB / 0.6426 GB, free: 8.926 MB / 0.6043 GB Notification: Performance of SimCode: time 5.21e-07/0.005839, allocations: 0 / 0.6426 GB, free: 8.926 MB / 0.6043 GB Notification: Performance of Templates: time 0.002013/0.007851, allocations: 0.8415 MB / 0.6435 GB, free: 8.086 MB / 0.6043 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.Controls.Continuous.Examples.OffTimer.makefile [Timeout 660] (rm -f AixLib_AixLib.Controls.Continuous.Examples.OffTimer.pipe ; mkfifo AixLib_AixLib.Controls.Continuous.Examples.OffTimer.pipe ; head -c 1048576 < AixLib_AixLib.Controls.Continuous.Examples.OffTimer.pipe >> ../files/AixLib_AixLib.Controls.Continuous.Examples.OffTimer.sim & ./AixLib_AixLib.Controls.Continuous.Examples.OffTimer -abortSlowSimulation -alarm=240 -lv LOG_STATS > AixLib_AixLib.Controls.Continuous.Examples.OffTimer.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.156464297324419]