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.04347/0.04347, allocations: 9.131 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.0009486/0.0009486, allocations: 91.27 kB / 35.33 MB, free: 1.066 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.001248/0.001248, allocations: 168.6 kB / 38.73 MB, free: 2.477 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 1/1, allocations: 177.1 MB / 219.2 MB, free: 10.14 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.003833/0.003833, allocations: 0.8301 MB / 276.5 MB, free: 0.7656 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.59/1.59, 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.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 1.463e-06/1.463e-06, allocations: 0 / 0.6378 GB, free: 14.16 MB / 0.6043 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.585e-05/2.731e-05, allocations: 2.312 kB / 0.6378 GB, free: 14.15 MB / 0.6043 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.Continuous.Examples.OffTimer): time 0.002948/0.002975, allocations: 1.568 MB / 0.6394 GB, free: 12.57 MB / 0.6043 GB Notification: Performance of NFInst.instExpressions: time 0.0008527/0.003828, allocations: 486.5 kB / 0.6398 GB, free: 12.09 MB / 0.6043 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.557e-05/0.003873, allocations: 0 / 0.6398 GB, free: 12.09 MB / 0.6043 GB Notification: Performance of NFTyping.typeComponents: time 3.425e-05/0.003907, allocations: 7.922 kB / 0.6398 GB, free: 12.08 MB / 0.6043 GB Notification: Performance of NFTyping.typeBindings: time 8.606e-05/0.003994, allocations: 3.984 kB / 0.6399 GB, free: 12.08 MB / 0.6043 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001602/0.004154, allocations: 23.92 kB / 0.6399 GB, free: 12.05 MB / 0.6043 GB Notification: Performance of NFFlatten.flatten: time 8.908e-05/0.004243, allocations: 47.84 kB / 0.6399 GB, free: 12.01 MB / 0.6043 GB Notification: Performance of NFFlatten.resolveConnections: time 9.423e-05/0.004337, allocations: 19.91 kB / 0.6399 GB, free: 11.99 MB / 0.6043 GB Notification: Performance of NFEvalConstants.evaluate: time 8.369e-05/0.004421, allocations: 27.92 kB / 0.64 GB, free: 11.96 MB / 0.6043 GB Notification: Performance of NFSimplifyModel.simplify: time 7.686e-05/0.004498, allocations: 19.91 kB / 0.64 GB, free: 11.94 MB / 0.6043 GB Notification: Performance of NFPackage.collectConstants: time 2.122e-05/0.004519, allocations: 8 kB / 0.64 GB, free: 11.93 MB / 0.6043 GB Notification: Performance of NFFlatten.collectFunctions: time 1.11e-05/0.00453, allocations: 4 kB / 0.64 GB, free: 11.93 MB / 0.6043 GB Notification: Performance of NFScalarize.scalarize: time 2.446e-05/0.004554, allocations: 7.984 kB / 0.64 GB, free: 11.92 MB / 0.6043 GB Notification: Performance of NFVerifyModel.verify: time 3.511e-05/0.004589, allocations: 19.92 kB / 0.64 GB, free: 11.9 MB / 0.6043 GB Notification: Performance of NFConvertDAE.convert: time 0.0001006/0.00469, allocations: 31.89 kB / 0.6401 GB, free: 11.87 MB / 0.6043 GB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.004693, allocations: 0 / 0.6401 GB, free: 11.87 MB / 0.6043 GB Notification: Performance of FrontEnd: time 8.92e-07/0.004694, allocations: 0 / 0.6401 GB, free: 11.87 MB / 0.6043 GB Notification: Performance of Transformations before backend: time 3.917e-06/0.004698, allocations: 4 kB / 0.6401 GB, free: 11.87 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.0003911/0.005089, allocations: 264.8 kB / 0.6403 GB, free: 11.59 MB / 0.6043 GB Notification: Performance of prepare preOptimizeDAE: time 4.025e-05/0.00513, allocations: 11.98 kB / 0.6403 GB, free: 11.57 MB / 0.6043 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.161e-05/0.005161, allocations: 8.938 kB / 0.6403 GB, free: 11.57 MB / 0.6043 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.32e-05/0.005254, allocations: 109.8 kB / 0.6404 GB, free: 11.43 MB / 0.6043 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.43e-05/0.005269, allocations: 8.375 kB / 0.6404 GB, free: 11.43 MB / 0.6043 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.848e-06/0.005279, allocations: 4.375 kB / 0.6404 GB, free: 11.42 MB / 0.6043 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.82e-05/0.005367, allocations: 54.17 kB / 0.6405 GB, free: 11.36 MB / 0.6043 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.825e-06/0.005375, allocations: 192 / 0.6405 GB, free: 11.36 MB / 0.6043 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.556e-06/0.005383, allocations: 4.312 kB / 0.6405 GB, free: 11.36 MB / 0.6043 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.775e-06/0.005391, allocations: 3.938 kB / 0.6405 GB, free: 11.36 MB / 0.6043 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.977e-05/0.005421, allocations: 8 kB / 0.6405 GB, free: 11.35 MB / 0.6043 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003005/0.005721, allocations: 188.1 kB / 0.6407 GB, free: 11.15 MB / 0.6043 GB Notification: Performance of preOpt comSubExp (simulation): time 8.058e-05/0.005802, allocations: 42.56 kB / 0.6407 GB, free: 11.1 MB / 0.6043 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.556e-05/0.005827, allocations: 16.84 kB / 0.6407 GB, free: 11.08 MB / 0.6043 GB Notification: Performance of preOpt evalFunc (simulation): time 7.654e-06/0.005835, allocations: 0 / 0.6407 GB, free: 11.08 MB / 0.6043 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001042/0.005939, allocations: 75.28 kB / 0.6408 GB, free: 10.99 MB / 0.6043 GB Notification: Performance of pre-optimization done (n=9): time 1.112e-06/0.00594, allocations: 4 kB / 0.6408 GB, free: 10.99 MB / 0.6043 GB Notification: Performance of matching and sorting (n=9): time 0.0001394/0.00608, allocations: 69.61 kB / 0.6409 GB, free: 10.91 MB / 0.6043 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.433e-05/0.006124, allocations: 51.41 kB / 0.6409 GB, free: 10.85 MB / 0.6043 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.115e-05/0.006195, allocations: 110.7 kB / 0.641 GB, free: 10.73 MB / 0.6043 GB Notification: Performance of collectPreVariables (initialization): time 1.679e-05/0.006212, allocations: 29.7 kB / 0.6411 GB, free: 10.7 MB / 0.6043 GB Notification: Performance of collectInitialEqns (initialization): time 3.738e-05/0.006249, allocations: 92.09 kB / 0.6412 GB, free: 10.6 MB / 0.6043 GB Notification: Performance of collectInitialBindings (initialization): time 2.582e-05/0.006275, allocations: 23.84 kB / 0.6412 GB, free: 10.58 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.138e-05/0.006326, allocations: 29.69 kB / 0.6412 GB, free: 10.54 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 0.0004716/0.006798, allocations: 318.8 kB / 0.6415 GB, free: 10.22 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.373e-05/0.006822, allocations: 8 kB / 0.6415 GB, free: 10.21 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.049e-05/0.006862, allocations: 39.55 kB / 0.6416 GB, free: 10.16 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.797e-05/0.00693, allocations: 55.33 kB / 0.6416 GB, free: 10.1 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/0.006934, allocations: 4 kB / 0.6416 GB, free: 10.09 MB / 0.6043 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001079/0.007042, allocations: 73.48 kB / 0.6417 GB, free: 10.02 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 1.633e-05/0.007058, allocations: 12.02 kB / 0.6417 GB, free: 10 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.573e-06/0.007065, allocations: 7.984 kB / 0.6417 GB, free: 9.996 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.787e-05/0.007083, allocations: 4 kB / 0.6417 GB, free: 9.992 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.516e-05/0.007158, allocations: 12 kB / 0.6417 GB, free: 9.98 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.517e-06/0.007161, allocations: 0 / 0.6417 GB, free: 9.98 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.793e-05/0.007209, allocations: 8 kB / 0.6417 GB, free: 9.973 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.004e-06/0.007216, allocations: 7.938 kB / 0.6417 GB, free: 9.965 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 7.341e-05/0.00729, allocations: 125.7 kB / 0.6419 GB, free: 9.832 MB / 0.6043 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.321e-05/0.007303, allocations: 7.938 kB / 0.6419 GB, free: 9.824 MB / 0.6043 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.371e-05/0.007326, allocations: 8.125 kB / 0.6419 GB, free: 9.82 MB / 0.6043 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.007329, allocations: 4 kB / 0.6419 GB, free: 9.816 MB / 0.6043 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.944e-06/0.007331, allocations: 0 / 0.6419 GB, free: 9.816 MB / 0.6043 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/0.007335, allocations: 7.984 kB / 0.6419 GB, free: 9.809 MB / 0.6043 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003799/0.007715, allocations: 226.7 kB / 0.6421 GB, free: 9.562 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.706e-06/0.007719, allocations: 3.938 kB / 0.6421 GB, free: 9.559 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.316e-05/0.007742, allocations: 4 kB / 0.6421 GB, free: 9.555 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.007745, allocations: 0 / 0.6421 GB, free: 9.555 MB / 0.6043 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.839e-06/0.00775, allocations: 0 / 0.6421 GB, free: 9.555 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.325e-06/0.007752, allocations: 0 / 0.6421 GB, free: 9.555 MB / 0.6043 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.007753, allocations: 0 / 0.6421 GB, free: 9.555 MB / 0.6043 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.13e-05/0.007844, allocations: 151.5 kB / 0.6423 GB, free: 9.391 MB / 0.6043 GB Notification: Performance of postOpt removeConstants (simulation): time 8.876e-06/0.007853, allocations: 11.94 kB / 0.6423 GB, free: 9.379 MB / 0.6043 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.458e-06/0.007863, allocations: 4 kB / 0.6423 GB, free: 9.375 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.075e-05/0.007904, allocations: 7.984 kB / 0.6423 GB, free: 9.367 MB / 0.6043 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.179e-05/0.007935, allocations: 7.984 kB / 0.6423 GB, free: 9.359 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.45e-06/0.007941, allocations: 0 / 0.6423 GB, free: 9.359 MB / 0.6043 GB Notification: Performance of sorting global known variables: time 1.512e-05/0.007956, allocations: 12.95 kB / 0.6423 GB, free: 9.344 MB / 0.6043 GB Notification: Performance of sort global known variables: time 5e-08/0.007956, allocations: 0 / 0.6423 GB, free: 9.344 MB / 0.6043 GB Notification: Performance of remove unused functions: time 0.000133/0.008089, allocations: 12 kB / 0.6423 GB, free: 9.332 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 9.108e-05/0.00818, allocations: 80.55 kB / 0.6424 GB, free: 9.242 MB / 0.6043 GB Notification: Performance of simCode: created initialization part: time 8.18e-05/0.008262, allocations: 56.69 kB / 0.6424 GB, free: 9.184 MB / 0.6043 GB Notification: Performance of simCode: created event and clocks part: time 7.564e-06/0.008269, allocations: 0 / 0.6424 GB, free: 9.184 MB / 0.6043 GB Notification: Performance of simCode: created simulation system equations: time 3.298e-05/0.008302, allocations: 20.86 kB / 0.6425 GB, free: 9.16 MB / 0.6043 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001513/0.008454, allocations: 20.02 kB / 0.6425 GB, free: 9.141 MB / 0.6043 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002474/0.008701, allocations: 148.4 kB / 0.6426 GB, free: 8.969 MB / 0.6043 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.623e-05/0.008737, allocations: 63.33 kB / 0.6427 GB, free: 8.887 MB / 0.6043 GB Notification: Performance of simCode: alias equations: time 2.203e-05/0.008759, allocations: 4 kB / 0.6427 GB, free: 8.883 MB / 0.6043 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.974e-05/0.008809, allocations: 63.36 kB / 0.6427 GB, free: 8.82 MB / 0.6043 GB Notification: Performance of SimCode: time 8.61e-07/0.00881, allocations: 4.062 kB / 0.6427 GB, free: 8.816 MB / 0.6043 GB Notification: Performance of Templates: time 0.00215/0.01096, allocations: 0.8368 MB / 0.6436 GB, free: 7.98 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > AixLib_AixLib.Controls.Continuous.Examples.OffTimer.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.217634132131934]