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.03962/0.03962, 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.0007863/0.0007863, 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.0009004/0.0009004, 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.9852/0.9852, allocations: 177.2 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.01125/0.01125, allocations: 0.8224 MB / 276.5 MB, free: 0.7188 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.728/1.728, 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.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 2.094e-06/2.094e-06, allocations: 0 / 0.6378 GB, free: 14.17 MB / 0.6043 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.03e-05/3.239e-05, allocations: 2.312 kB / 0.6378 GB, free: 14.17 MB / 0.6043 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.Discrete.Examples.BooleanDelay): time 0.002618/0.00265, allocations: 1.533 MB / 0.6393 GB, free: 12.62 MB / 0.6043 GB Notification: Performance of NFInst.instExpressions: time 0.0009435/0.003594, allocations: 474.6 kB / 0.6398 GB, free: 12.15 MB / 0.6043 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.664e-05/0.003641, allocations: 3.938 kB / 0.6398 GB, free: 12.15 MB / 0.6043 GB Notification: Performance of NFTyping.typeComponents: time 3.096e-05/0.003672, allocations: 3.938 kB / 0.6398 GB, free: 12.14 MB / 0.6043 GB Notification: Performance of NFTyping.typeBindings: time 8.794e-05/0.00376, allocations: 0 / 0.6398 GB, free: 12.14 MB / 0.6043 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001635/0.003923, allocations: 23.86 kB / 0.6398 GB, free: 12.12 MB / 0.6043 GB Notification: Performance of NFFlatten.flatten: time 0.0001309/0.004054, allocations: 51.83 kB / 0.6399 GB, free: 12.07 MB / 0.6043 GB Notification: Performance of NFFlatten.resolveConnections: time 7.524e-05/0.004129, allocations: 4 kB / 0.6399 GB, free: 12.07 MB / 0.6043 GB Notification: Performance of NFEvalConstants.evaluate: time 9.648e-05/0.004226, allocations: 39.84 kB / 0.6399 GB, free: 12.03 MB / 0.6043 GB Notification: Performance of NFSimplifyModel.simplify: time 6.702e-05/0.004293, allocations: 15.92 kB / 0.6399 GB, free: 12.01 MB / 0.6043 GB Notification: Performance of NFPackage.collectConstants: time 2.16e-05/0.004314, allocations: 4 kB / 0.6399 GB, free: 12.01 MB / 0.6043 GB Notification: Performance of NFFlatten.collectFunctions: time 1.156e-05/0.004326, allocations: 4 kB / 0.6399 GB, free: 12 MB / 0.6043 GB Notification: Performance of NFScalarize.scalarize: time 2.524e-05/0.004351, allocations: 11.98 kB / 0.6399 GB, free: 11.99 MB / 0.6043 GB Notification: Performance of NFVerifyModel.verify: time 3.8e-05/0.004389, allocations: 11.98 kB / 0.6399 GB, free: 11.98 MB / 0.6043 GB Notification: Performance of NFConvertDAE.convert: time 0.0001201/0.004509, allocations: 39.83 kB / 0.64 GB, free: 11.94 MB / 0.6043 GB Notification: Performance of FrontEnd - DAE generated: time 3.566e-06/0.004513, allocations: 0 / 0.64 GB, free: 11.94 MB / 0.6043 GB Notification: Performance of FrontEnd: time 1.132e-06/0.004514, allocations: 0 / 0.64 GB, free: 11.94 MB / 0.6043 GB Notification: Performance of Transformations before backend: time 4.498e-06/0.004518, allocations: 0 / 0.64 GB, free: 11.94 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.0005407/0.005059, allocations: 298.5 kB / 0.6403 GB, free: 11.62 MB / 0.6043 GB Notification: Performance of prepare preOptimizeDAE: time 3.658e-05/0.005096, allocations: 11.98 kB / 0.6403 GB, free: 11.61 MB / 0.6043 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.1e-05/0.005127, allocations: 8.938 kB / 0.6403 GB, free: 11.6 MB / 0.6043 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.61e-05/0.005213, allocations: 113.7 kB / 0.6404 GB, free: 11.46 MB / 0.6043 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.029e-05/0.005223, allocations: 4.375 kB / 0.6404 GB, free: 11.46 MB / 0.6043 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.724e-06/0.005231, allocations: 384 / 0.6404 GB, free: 11.46 MB / 0.6043 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.479e-05/0.005326, allocations: 79.88 kB / 0.6405 GB, free: 11.37 MB / 0.6043 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.163e-06/0.005333, allocations: 192 / 0.6405 GB, free: 11.37 MB / 0.6043 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.593e-06/0.005339, allocations: 384 / 0.6405 GB, free: 11.37 MB / 0.6043 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.881e-06/0.005345, allocations: 3.938 kB / 0.6405 GB, free: 11.37 MB / 0.6043 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.676e-05/0.005382, allocations: 37.69 kB / 0.6405 GB, free: 11.32 MB / 0.6043 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000243/0.005625, allocations: 164.2 kB / 0.6407 GB, free: 11.15 MB / 0.6043 GB Notification: Performance of preOpt comSubExp (simulation): time 5.464e-05/0.00568, allocations: 60.2 kB / 0.6407 GB, free: 11.07 MB / 0.6043 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.141e-05/0.005701, allocations: 34.56 kB / 0.6408 GB, free: 11.03 MB / 0.6043 GB Notification: Performance of preOpt evalFunc (simulation): time 1.123e-05/0.005712, allocations: 4 kB / 0.6408 GB, free: 11.03 MB / 0.6043 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001113/0.005823, allocations: 123 kB / 0.6409 GB, free: 10.88 MB / 0.6043 GB Notification: Performance of pre-optimization done (n=9): time 1.533e-06/0.005825, allocations: 0 / 0.6409 GB, free: 10.88 MB / 0.6043 GB Notification: Performance of matching and sorting (n=9): time 0.0001746/0.006, allocations: 158.7 kB / 0.641 GB, free: 10.7 MB / 0.6043 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.36e-05/0.006043, allocations: 85.09 kB / 0.6411 GB, free: 10.6 MB / 0.6043 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.204e-05/0.006115, allocations: 114.6 kB / 0.6412 GB, free: 10.48 MB / 0.6043 GB Notification: Performance of collectPreVariables (initialization): time 1.733e-05/0.006133, allocations: 37.7 kB / 0.6413 GB, free: 10.43 MB / 0.6043 GB Notification: Performance of collectInitialEqns (initialization): time 3.374e-05/0.006166, allocations: 84.12 kB / 0.6413 GB, free: 10.35 MB / 0.6043 GB Notification: Performance of collectInitialBindings (initialization): time 1.866e-05/0.006185, allocations: 15.84 kB / 0.6414 GB, free: 10.33 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.316e-05/0.006228, allocations: 33.69 kB / 0.6414 GB, free: 10.29 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 0.0001017/0.00633, allocations: 318.8 kB / 0.6417 GB, free: 9.973 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.008e-05/0.00636, allocations: 37.69 kB / 0.6417 GB, free: 9.93 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.793e-05/0.006408, allocations: 60.55 kB / 0.6418 GB, free: 9.855 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.192e-05/0.00649, allocations: 97.89 kB / 0.6419 GB, free: 9.738 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.006492, allocations: 4 kB / 0.6419 GB, free: 9.734 MB / 0.6043 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000119/0.006611, allocations: 125 kB / 0.642 GB, free: 9.594 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 3.123e-05/0.006642, allocations: 33.7 kB / 0.642 GB, free: 9.555 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.274e-06/0.006649, allocations: 7.922 kB / 0.642 GB, free: 9.547 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.102e-05/0.00666, allocations: 4 kB / 0.642 GB, free: 9.543 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.701e-05/0.006697, allocations: 12 kB / 0.6421 GB, free: 9.531 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.335e-06/0.0067, allocations: 0 / 0.6421 GB, free: 9.531 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.157e-05/0.006731, allocations: 8 kB / 0.6421 GB, free: 9.523 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.689e-06/0.006736, allocations: 4 kB / 0.6421 GB, free: 9.52 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 9.563e-05/0.006831, allocations: 147.5 kB / 0.6422 GB, free: 9.359 MB / 0.6043 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.764e-05/0.006849, allocations: 12.06 kB / 0.6422 GB, free: 9.348 MB / 0.6043 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.576e-05/0.006875, allocations: 12.38 kB / 0.6422 GB, free: 9.336 MB / 0.6043 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-06/0.006878, allocations: 3.984 kB / 0.6422 GB, free: 9.332 MB / 0.6043 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.372e-06/0.006879, allocations: 0 / 0.6422 GB, free: 9.332 MB / 0.6043 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.307e-06/0.006883, allocations: 0 / 0.6422 GB, free: 9.332 MB / 0.6043 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002773/0.00716, allocations: 290.1 kB / 0.6425 GB, free: 9.012 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.007162, allocations: 0 / 0.6425 GB, free: 9.012 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.035e-06/0.00717, allocations: 3.984 kB / 0.6425 GB, free: 9.008 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.278e-06/0.007174, allocations: 3.938 kB / 0.6425 GB, free: 9.004 MB / 0.6043 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.039e-05/0.007184, allocations: 8 kB / 0.6425 GB, free: 8.996 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.007186, allocations: 0 / 0.6425 GB, free: 8.996 MB / 0.6043 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.007187, allocations: 4 kB / 0.6425 GB, free: 8.992 MB / 0.6043 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001482/0.007335, allocations: 222.8 kB / 0.6427 GB, free: 8.746 MB / 0.6043 GB Notification: Performance of postOpt removeConstants (simulation): time 9.007e-06/0.007344, allocations: 4 kB / 0.6428 GB, free: 8.742 MB / 0.6043 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.95e-05/0.007363, allocations: 7.938 kB / 0.6428 GB, free: 8.734 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.883e-05/0.007442, allocations: 7.984 kB / 0.6428 GB, free: 8.727 MB / 0.6043 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.291e-05/0.007475, allocations: 7.984 kB / 0.6428 GB, free: 8.719 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.354e-05/0.007489, allocations: 4 kB / 0.6428 GB, free: 8.715 MB / 0.6043 GB Notification: Performance of sorting global known variables: time 1.727e-05/0.007506, allocations: 13.41 kB / 0.6428 GB, free: 8.699 MB / 0.6043 GB Notification: Performance of sort global known variables: time 9e-08/0.007506, allocations: 0 / 0.6428 GB, free: 8.699 MB / 0.6043 GB Notification: Performance of remove unused functions: time 0.0002244/0.007731, allocations: 12 kB / 0.6428 GB, free: 8.688 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 0.0001089/0.007839, allocations: 96.28 kB / 0.6429 GB, free: 8.586 MB / 0.6043 GB Notification: Performance of simCode: created initialization part: time 0.000176/0.008015, allocations: 155.6 kB / 0.643 GB, free: 8.406 MB / 0.6043 GB Notification: Performance of simCode: created event and clocks part: time 4.568e-06/0.00802, allocations: 4 kB / 0.643 GB, free: 8.402 MB / 0.6043 GB Notification: Performance of simCode: created simulation system equations: time 8.444e-05/0.008104, allocations: 110.2 kB / 0.6432 GB, free: 8.273 MB / 0.6043 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002244/0.008329, allocations: 24.09 kB / 0.6432 GB, free: 8.25 MB / 0.6043 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003181/0.008647, allocations: 178 kB / 0.6433 GB, free: 8.043 MB / 0.6043 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.57e-05/0.008693, allocations: 63.34 kB / 0.6434 GB, free: 7.961 MB / 0.6043 GB Notification: Performance of simCode: alias equations: time 2.256e-05/0.008715, allocations: 4.125 kB / 0.6434 GB, free: 7.957 MB / 0.6043 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.925e-05/0.008794, allocations: 67.36 kB / 0.6435 GB, free: 7.891 MB / 0.6043 GB Notification: Performance of SimCode: time 7.11e-07/0.008795, allocations: 0 / 0.6435 GB, free: 7.891 MB / 0.6043 GB Notification: Performance of Templates: time 0.003167/0.01196, allocations: 0.9741 MB / 0.6444 GB, free: 6.918 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > AixLib_AixLib.Controls.Discrete.Examples.BooleanDelay.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.377342046704143]