Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Controls.Discrete.Examples.BooleanDelay.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.03951/0.03951, allocations: 9.126 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.000809/0.000809, allocations: 87.28 kB / 35.32 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.001016/0.001016, allocations: 164.1 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.9556/0.9556, allocations: 177.1 MB / 219.2 MB, free: 10.09 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.005958/0.005958, allocations: 0.8257 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.708/1.708, allocations: 274.9 MB / 0.5419 GB, free: 0.6055 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.Discrete.Examples.BooleanDelay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.Discrete.Examples.BooleanDelay") translateModel(AixLib.Controls.Discrete.Examples.BooleanDelay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.Discrete.Examples.BooleanDelay") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0 / 0.6378 GB, free: 14.18 MB / 0.6043 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.293e-05/2.451e-05, allocations: 2.312 kB / 0.6378 GB, free: 14.18 MB / 0.6043 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.Discrete.Examples.BooleanDelay): time 0.002073/0.002098, allocations: 1.494 MB / 0.6392 GB, free: 12.67 MB / 0.6043 GB Notification: Performance of NFInst.instExpressions: time 0.0006784/0.002776, allocations: 462.6 kB / 0.6397 GB, free: 12.21 MB / 0.6043 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.892e-05/0.002815, allocations: 8 kB / 0.6397 GB, free: 12.2 MB / 0.6043 GB Notification: Performance of NFTyping.typeComponents: time 2.493e-05/0.00284, allocations: 3.938 kB / 0.6397 GB, free: 12.2 MB / 0.6043 GB Notification: Performance of NFTyping.typeBindings: time 8.365e-05/0.002924, allocations: 11.88 kB / 0.6397 GB, free: 12.19 MB / 0.6043 GB Notification: Performance of NFTyping.typeClassSections: time 0.000135/0.003059, allocations: 15.97 kB / 0.6397 GB, free: 12.17 MB / 0.6043 GB Notification: Performance of NFFlatten.flatten: time 9.759e-05/0.003156, allocations: 55.78 kB / 0.6398 GB, free: 12.12 MB / 0.6043 GB Notification: Performance of NFFlatten.resolveConnections: time 7.389e-05/0.00323, allocations: 7.938 kB / 0.6398 GB, free: 12.11 MB / 0.6043 GB Notification: Performance of NFEvalConstants.evaluate: time 7.757e-05/0.003308, allocations: 31.91 kB / 0.6398 GB, free: 12.08 MB / 0.6043 GB Notification: Performance of NFSimplifyModel.simplify: time 5.715e-05/0.003365, allocations: 15.97 kB / 0.6398 GB, free: 12.06 MB / 0.6043 GB Notification: Performance of NFPackage.collectConstants: time 1.97e-05/0.003385, allocations: 4 kB / 0.6398 GB, free: 12.06 MB / 0.6043 GB Notification: Performance of NFFlatten.collectFunctions: time 9.828e-06/0.003395, allocations: 4 kB / 0.6398 GB, free: 12.05 MB / 0.6043 GB Notification: Performance of NFScalarize.scalarize: time 2.289e-05/0.003417, allocations: 11.94 kB / 0.6398 GB, free: 12.04 MB / 0.6043 GB Notification: Performance of NFVerifyModel.verify: time 3.112e-05/0.003449, allocations: 15.98 kB / 0.6399 GB, free: 12.03 MB / 0.6043 GB Notification: Performance of NFConvertDAE.convert: time 9.943e-05/0.003548, allocations: 35.83 kB / 0.6399 GB, free: 11.99 MB / 0.6043 GB Notification: Performance of FrontEnd - DAE generated: time 2.515e-06/0.003551, allocations: 0 / 0.6399 GB, free: 11.99 MB / 0.6043 GB Notification: Performance of FrontEnd: time 8.91e-07/0.003551, allocations: 4 kB / 0.6399 GB, free: 11.99 MB / 0.6043 GB Notification: Performance of Transformations before backend: time 3.907e-06/0.003555, allocations: 0 / 0.6399 GB, free: 11.99 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003782/0.003933, allocations: 290.5 kB / 0.6402 GB, free: 11.68 MB / 0.6043 GB Notification: Performance of prepare preOptimizeDAE: time 3.415e-05/0.003968, allocations: 15.98 kB / 0.6402 GB, free: 11.66 MB / 0.6043 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.095e-05/0.003999, allocations: 4.938 kB / 0.6402 GB, free: 11.66 MB / 0.6043 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.994e-05/0.004078, allocations: 121.7 kB / 0.6403 GB, free: 11.51 MB / 0.6043 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.107e-06/0.004088, allocations: 384 / 0.6403 GB, free: 11.51 MB / 0.6043 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.002e-05/0.004098, allocations: 4.375 kB / 0.6403 GB, free: 11.51 MB / 0.6043 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.618e-05/0.004184, allocations: 75.92 kB / 0.6404 GB, free: 11.42 MB / 0.6043 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.062e-06/0.00419, allocations: 4.188 kB / 0.6404 GB, free: 11.42 MB / 0.6043 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.344e-06/0.004197, allocations: 384 / 0.6404 GB, free: 11.42 MB / 0.6043 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.431e-06/0.004203, allocations: 3.938 kB / 0.6404 GB, free: 11.41 MB / 0.6043 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.929e-05/0.004232, allocations: 37.69 kB / 0.6404 GB, free: 11.37 MB / 0.6043 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002302/0.004462, allocations: 156.2 kB / 0.6406 GB, free: 11.2 MB / 0.6043 GB Notification: Performance of preOpt comSubExp (simulation): time 6.083e-05/0.004523, allocations: 56.27 kB / 0.6406 GB, free: 11.13 MB / 0.6043 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.346e-05/0.004546, allocations: 42.56 kB / 0.6407 GB, free: 11.08 MB / 0.6043 GB Notification: Performance of preOpt evalFunc (simulation): time 1.726e-05/0.004564, allocations: 0 / 0.6407 GB, free: 11.08 MB / 0.6043 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001082/0.004672, allocations: 123 kB / 0.6408 GB, free: 10.94 MB / 0.6043 GB Notification: Performance of pre-optimization done (n=9): time 1.263e-06/0.004673, allocations: 0 / 0.6408 GB, free: 10.94 MB / 0.6043 GB Notification: Performance of matching and sorting (n=9): time 0.0001434/0.004816, allocations: 166.9 kB / 0.641 GB, free: 10.75 MB / 0.6043 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.051e-05/0.004857, allocations: 85.09 kB / 0.641 GB, free: 10.65 MB / 0.6043 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.627e-05/0.004913, allocations: 110.7 kB / 0.6411 GB, free: 10.53 MB / 0.6043 GB Notification: Performance of collectPreVariables (initialization): time 1.427e-05/0.004928, allocations: 33.69 kB / 0.6412 GB, free: 10.49 MB / 0.6043 GB Notification: Performance of collectInitialEqns (initialization): time 2.795e-05/0.004955, allocations: 88.12 kB / 0.6413 GB, free: 10.4 MB / 0.6043 GB Notification: Performance of collectInitialBindings (initialization): time 1.52e-05/0.004971, allocations: 19.83 kB / 0.6413 GB, free: 10.38 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.434e-05/0.005015, allocations: 37.64 kB / 0.6413 GB, free: 10.34 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 6.808e-05/0.005083, allocations: 314.8 kB / 0.6416 GB, free: 10.02 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.116e-05/0.005104, allocations: 37.69 kB / 0.6416 GB, free: 9.977 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.061e-05/0.005135, allocations: 56.27 kB / 0.6417 GB, free: 9.906 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.763e-05/0.005193, allocations: 105.9 kB / 0.6418 GB, free: 9.781 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.005195, allocations: 0 / 0.6418 GB, free: 9.781 MB / 0.6043 GB Notification: Performance of matching and sorting (n=11) (initialization): time 8.852e-05/0.005283, allocations: 129 kB / 0.6419 GB, free: 9.637 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 2.986e-05/0.005313, allocations: 33.7 kB / 0.642 GB, free: 9.598 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.691e-06/0.005319, allocations: 8 kB / 0.642 GB, free: 9.59 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.218e-05/0.005331, allocations: 0 / 0.642 GB, free: 9.59 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.948e-05/0.005371, allocations: 7.984 kB / 0.642 GB, free: 9.582 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.355e-06/0.005373, allocations: 0 / 0.642 GB, free: 9.582 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.845e-05/0.005411, allocations: 4 kB / 0.642 GB, free: 9.578 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.421e-06/0.005417, allocations: 8 kB / 0.642 GB, free: 9.57 MB / 0.6043 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 11 (del.firstTrigger,$PRE.del.firstTrigger,$whenCondition2,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,booleanPulse.y,del.ySample,del.sampleTrigger,del.y,$whenCondition3,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 1 * 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.824e-05/0.005495, allocations: 147.5 kB / 0.6421 GB, free: 9.41 MB / 0.6043 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.735e-05/0.005512, allocations: 12 kB / 0.6421 GB, free: 9.398 MB / 0.6043 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.013e-05/0.005533, allocations: 8.375 kB / 0.6421 GB, free: 9.391 MB / 0.6043 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.005535, allocations: 0 / 0.6421 GB, free: 9.391 MB / 0.6043 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.983e-06/0.005537, allocations: 4 kB / 0.6421 GB, free: 9.387 MB / 0.6043 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.005541, allocations: 3.984 kB / 0.6421 GB, free: 9.383 MB / 0.6043 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002186/0.005759, allocations: 294.2 kB / 0.6424 GB, free: 9.059 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.243e-06/0.005761, allocations: 0 / 0.6424 GB, free: 9.059 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.677e-06/0.005764, allocations: 0 / 0.6424 GB, free: 9.059 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.005767, allocations: 3.938 kB / 0.6424 GB, free: 9.055 MB / 0.6043 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.647e-06/0.005775, allocations: 8 kB / 0.6424 GB, free: 9.047 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.005776, allocations: 0 / 0.6424 GB, free: 9.047 MB / 0.6043 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.123e-06/0.005778, allocations: 3.938 kB / 0.6424 GB, free: 9.043 MB / 0.6043 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001072/0.005885, allocations: 222.8 kB / 0.6427 GB, free: 8.797 MB / 0.6043 GB Notification: Performance of postOpt removeConstants (simulation): time 8.075e-06/0.005893, allocations: 4 kB / 0.6427 GB, free: 8.793 MB / 0.6043 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.648e-05/0.005909, allocations: 11.94 kB / 0.6427 GB, free: 8.781 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.285e-05/0.005962, allocations: 7.984 kB / 0.6427 GB, free: 8.773 MB / 0.6043 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.094e-05/0.005993, allocations: 7.984 kB / 0.6427 GB, free: 8.766 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.245e-05/0.006005, allocations: 4 kB / 0.6427 GB, free: 8.762 MB / 0.6043 GB Notification: Performance of sorting global known variables: time 1.534e-05/0.006021, allocations: 12.86 kB / 0.6427 GB, free: 8.746 MB / 0.6043 GB Notification: Performance of sort global known variables: time 5.1e-08/0.006021, allocations: 0 / 0.6427 GB, free: 8.746 MB / 0.6043 GB Notification: Performance of remove unused functions: time 0.0001245/0.006145, allocations: 12 kB / 0.6427 GB, free: 8.734 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: 9 (del.sampleTrigger,$whenCondition2,$whenCondition1,$whenCondition3,del.y,del.firstTrigger,del.ySample,booleanPulse.y,booleanPulse.pulseStart) * Number of discrete states: 3 (del.ySample,del.y,$whenCondition3) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 1 * 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 8.396e-05/0.006229, allocations: 84.34 kB / 0.6428 GB, free: 8.645 MB / 0.6043 GB Notification: Performance of simCode: created initialization part: time 0.0001194/0.006349, allocations: 164.4 kB / 0.643 GB, free: 8.457 MB / 0.6043 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.006351, allocations: 0 / 0.643 GB, free: 8.457 MB / 0.6043 GB Notification: Performance of simCode: created simulation system equations: time 5.408e-05/0.006405, allocations: 110 kB / 0.6431 GB, free: 8.328 MB / 0.6043 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001628/0.006568, allocations: 15.98 kB / 0.6431 GB, free: 8.312 MB / 0.6043 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002498/0.006818, allocations: 186.1 kB / 0.6433 GB, free: 8.098 MB / 0.6043 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.41e-05/0.006852, allocations: 63.34 kB / 0.6433 GB, free: 8.016 MB / 0.6043 GB Notification: Performance of simCode: alias equations: time 2.36e-05/0.006876, allocations: 7.781 kB / 0.6433 GB, free: 8.008 MB / 0.6043 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.874e-05/0.006934, allocations: 63.36 kB / 0.6434 GB, free: 7.945 MB / 0.6043 GB Notification: Performance of SimCode: time 7.51e-07/0.006935, allocations: 128 / 0.6434 GB, free: 7.945 MB / 0.6043 GB Notification: Performance of Templates: time 0.002699/0.009635, allocations: 0.9742 MB / 0.6443 GB, free: 6.973 MB / 0.6043 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.Controls.Discrete.Examples.BooleanDelay.makefile [Timeout 660] (rm -f AixLib_AixLib.Controls.Discrete.Examples.BooleanDelay.pipe ; mkfifo AixLib_AixLib.Controls.Discrete.Examples.BooleanDelay.pipe ; head -c 1048576 < AixLib_AixLib.Controls.Discrete.Examples.BooleanDelay.pipe >> ../files/AixLib_AixLib.Controls.Discrete.Examples.BooleanDelay.sim & ./AixLib_AixLib.Controls.Discrete.Examples.BooleanDelay -abortSlowSimulation -alarm=240 -lv LOG_STATS > AixLib_AixLib.Controls.Discrete.Examples.BooleanDelay.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.339475206565112]