Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.FallingEdge.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.07649/0.07649, allocations: 9.133 MB / 28.99 MB, free: 0.8164 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.001195/0.001195, allocations: 87.27 kB / 35.33 MB, free: 1.078 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.001119/0.001119, allocations: 163.6 kB / 38.73 MB, free: 2.5 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.8834/0.8834, 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.0082/0.0082, allocations: 0.8263 MB / 276.5 MB, free: 0.7344 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.633/1.633, 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.OBC.CDL.Logical.Validation.FallingEdge,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.FallingEdge") translateModel(AixLib.Controls.OBC.CDL.Logical.Validation.FallingEdge,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.FallingEdge") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.433e-06/1.433e-06, allocations: 0 / 0.6379 GB, free: 14.14 MB / 0.6043 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.694e-05/1.838e-05, allocations: 2.312 kB / 0.6379 GB, free: 14.13 MB / 0.6043 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Logical.Validation.FallingEdge): time 0.001263/0.001281, allocations: 0.7442 MB / 0.6386 GB, free: 13.39 MB / 0.6043 GB Notification: Performance of NFInst.instExpressions: time 0.001158/0.002439, allocations: 1.217 MB / 0.6398 GB, free: 12.16 MB / 0.6043 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.115e-05/0.00248, allocations: 3.938 kB / 0.6398 GB, free: 12.15 MB / 0.6043 GB Notification: Performance of NFTyping.typeComponents: time 2.476e-05/0.002505, allocations: 7.938 kB / 0.6398 GB, free: 12.14 MB / 0.6043 GB Notification: Performance of NFTyping.typeBindings: time 9.964e-05/0.002605, allocations: 11.88 kB / 0.6398 GB, free: 12.13 MB / 0.6043 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003537/0.002958, allocations: 139.5 kB / 0.6399 GB, free: 12 MB / 0.6043 GB Notification: Performance of NFFlatten.flatten: time 0.0001267/0.003085, allocations: 115.8 kB / 0.64 GB, free: 11.88 MB / 0.6043 GB Notification: Performance of NFFlatten.resolveConnections: time 6.515e-05/0.00315, allocations: 15.92 kB / 0.6401 GB, free: 11.87 MB / 0.6043 GB Notification: Performance of NFEvalConstants.evaluate: time 9.85e-05/0.003249, allocations: 67.89 kB / 0.6401 GB, free: 11.8 MB / 0.6043 GB Notification: Performance of NFSimplifyModel.simplify: time 6.677e-05/0.003316, allocations: 35.92 kB / 0.6402 GB, free: 11.77 MB / 0.6043 GB Notification: Performance of NFPackage.collectConstants: time 1.973e-05/0.003335, allocations: 12 kB / 0.6402 GB, free: 11.75 MB / 0.6043 GB Notification: Performance of NFFlatten.collectFunctions: time 5.048e-05/0.003386, allocations: 27.94 kB / 0.6402 GB, free: 11.73 MB / 0.6043 GB Notification: Performance of NFScalarize.scalarize: time 2.291e-05/0.003409, allocations: 19.91 kB / 0.6402 GB, free: 11.71 MB / 0.6043 GB Notification: Performance of NFVerifyModel.verify: time 3.656e-05/0.003445, allocations: 31.92 kB / 0.6402 GB, free: 11.68 MB / 0.6043 GB Notification: Performance of NFConvertDAE.convert: time 0.0001205/0.003566, allocations: 99.73 kB / 0.6403 GB, free: 11.58 MB / 0.6043 GB Notification: Performance of FrontEnd - DAE generated: time 1.753e-06/0.003568, allocations: 0 / 0.6403 GB, free: 11.58 MB / 0.6043 GB Notification: Performance of FrontEnd: time 6.31e-07/0.003568, allocations: 0 / 0.6403 GB, free: 11.58 MB / 0.6043 GB Notification: Performance of Transformations before backend: time 3.136e-06/0.003571, allocations: 3.938 kB / 0.6403 GB, free: 11.57 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0003627/0.003934, allocations: 302.1 kB / 0.6406 GB, free: 11.25 MB / 0.6043 GB Notification: Performance of prepare preOptimizeDAE: time 3.119e-05/0.003965, allocations: 15.98 kB / 0.6406 GB, free: 11.23 MB / 0.6043 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.889e-05/0.003994, allocations: 8.922 kB / 0.6407 GB, free: 11.22 MB / 0.6043 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.717e-05/0.004061, allocations: 117.7 kB / 0.6408 GB, free: 11.08 MB / 0.6043 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.698e-06/0.004071, allocations: 4.375 kB / 0.6408 GB, free: 11.08 MB / 0.6043 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.615e-05/0.004087, allocations: 8.375 kB / 0.6408 GB, free: 11.07 MB / 0.6043 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.811e-05/0.004175, allocations: 70.91 kB / 0.6408 GB, free: 10.99 MB / 0.6043 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.039e-05/0.004186, allocations: 4.188 kB / 0.6408 GB, free: 10.99 MB / 0.6043 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.536e-06/0.004194, allocations: 4.375 kB / 0.6409 GB, free: 10.98 MB / 0.6043 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.579e-06/0.004199, allocations: 384 / 0.6409 GB, free: 10.98 MB / 0.6043 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.32e-05/0.004222, allocations: 15.88 kB / 0.6409 GB, free: 10.97 MB / 0.6043 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002357/0.004458, allocations: 180.2 kB / 0.641 GB, free: 10.78 MB / 0.6043 GB Notification: Performance of preOpt comSubExp (simulation): time 7.322e-05/0.004531, allocations: 42.56 kB / 0.6411 GB, free: 10.73 MB / 0.6043 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.552e-05/0.004546, allocations: 8.984 kB / 0.6411 GB, free: 10.71 MB / 0.6043 GB Notification: Performance of preOpt evalFunc (simulation): time 8.156e-06/0.004554, allocations: 8 kB / 0.6411 GB, free: 10.71 MB / 0.6043 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.043e-05/0.004625, allocations: 59.38 kB / 0.6412 GB, free: 10.64 MB / 0.6043 GB Notification: Performance of pre-optimization done (n=8): time 9.12e-07/0.004626, allocations: 0 / 0.6412 GB, free: 10.64 MB / 0.6043 GB Notification: Performance of matching and sorting (n=8): time 0.0001142/0.00474, allocations: 77.53 kB / 0.6412 GB, free: 10.55 MB / 0.6043 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.181e-05/0.004772, allocations: 59.41 kB / 0.6413 GB, free: 10.48 MB / 0.6043 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.488e-05/0.004827, allocations: 126.6 kB / 0.6414 GB, free: 10.35 MB / 0.6043 GB Notification: Performance of collectPreVariables (initialization): time 1.778e-05/0.004845, allocations: 29.7 kB / 0.6414 GB, free: 10.31 MB / 0.6043 GB Notification: Performance of collectInitialEqns (initialization): time 3.321e-05/0.004878, allocations: 92.12 kB / 0.6415 GB, free: 10.22 MB / 0.6043 GB Notification: Performance of collectInitialBindings (initialization): time 1.668e-05/0.004894, allocations: 23.83 kB / 0.6415 GB, free: 10.2 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.256e-05/0.004937, allocations: 37.69 kB / 0.6416 GB, free: 10.15 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 6.84e-05/0.005005, allocations: 318.8 kB / 0.6419 GB, free: 9.832 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.404e-05/0.005049, allocations: 57.62 kB / 0.6419 GB, free: 9.77 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.213e-05/0.005102, allocations: 81.98 kB / 0.642 GB, free: 9.668 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001518/0.005253, allocations: 101.9 kB / 0.6421 GB, free: 9.547 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.005256, allocations: 0 / 0.6421 GB, free: 9.547 MB / 0.6043 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001321/0.005388, allocations: 176.9 kB / 0.6423 GB, free: 9.355 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 2.475e-05/0.005413, allocations: 37.69 kB / 0.6423 GB, free: 9.312 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.119e-06/0.005418, allocations: 3.938 kB / 0.6423 GB, free: 9.309 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.286e-05/0.005431, allocations: 4 kB / 0.6423 GB, free: 9.305 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.136e-05/0.005482, allocations: 15.92 kB / 0.6423 GB, free: 9.289 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.536e-06/0.005486, allocations: 0 / 0.6423 GB, free: 9.289 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.277e-05/0.005558, allocations: 23.98 kB / 0.6424 GB, free: 9.266 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.183e-05/0.00557, allocations: 7.984 kB / 0.6424 GB, free: 9.258 MB / 0.6043 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 10 (triggeredSampler.y,$PRE.triggeredSampler.y,$whenCondition1,$whenCondition2,falEdg.not_u,$PRE.falEdg.not_u,falEdg.y,booPul.y,$PRE.booPul.y,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 10 * 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 5.999e-05/0.00563, allocations: 125.9 kB / 0.6425 GB, free: 9.125 MB / 0.6043 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.235e-06/0.005638, allocations: 4 kB / 0.6425 GB, free: 9.121 MB / 0.6043 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.955e-05/0.005658, allocations: 12.38 kB / 0.6425 GB, free: 9.109 MB / 0.6043 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.666e-06/0.005662, allocations: 7.984 kB / 0.6425 GB, free: 9.102 MB / 0.6043 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.643e-06/0.005663, allocations: 0 / 0.6425 GB, free: 9.102 MB / 0.6043 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.005666, allocations: 0 / 0.6425 GB, free: 9.102 MB / 0.6043 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000161/0.005827, allocations: 222.8 kB / 0.6427 GB, free: 8.859 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.61e-07/0.005828, allocations: 0 / 0.6427 GB, free: 8.859 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.944e-05/0.005847, allocations: 7.984 kB / 0.6427 GB, free: 8.852 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.005849, allocations: 7.938 kB / 0.6427 GB, free: 8.844 MB / 0.6043 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.659e-06/0.005854, allocations: 4 kB / 0.6427 GB, free: 8.84 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.11e-07/0.005855, allocations: 0 / 0.6427 GB, free: 8.84 MB / 0.6043 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.51e-07/0.005855, allocations: 0 / 0.6427 GB, free: 8.84 MB / 0.6043 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.198e-05/0.005927, allocations: 159.8 kB / 0.6429 GB, free: 8.668 MB / 0.6043 GB Notification: Performance of postOpt removeConstants (simulation): time 5.441e-06/0.005933, allocations: 4 kB / 0.6429 GB, free: 8.664 MB / 0.6043 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.599e-05/0.005949, allocations: 11.92 kB / 0.6429 GB, free: 8.652 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.171e-05/0.00598, allocations: 4 kB / 0.6429 GB, free: 8.648 MB / 0.6043 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.655e-05/0.006007, allocations: 3.984 kB / 0.6429 GB, free: 8.645 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.789e-06/0.006012, allocations: 4 kB / 0.6429 GB, free: 8.641 MB / 0.6043 GB Notification: Performance of sorting global known variables: time 1.656e-05/0.006028, allocations: 24.78 kB / 0.6429 GB, free: 8.613 MB / 0.6043 GB Notification: Performance of sort global known variables: time 5e-08/0.006028, allocations: 4 kB / 0.643 GB, free: 8.609 MB / 0.6043 GB Notification: Performance of remove unused functions: time 0.0001416/0.00617, allocations: 20 kB / 0.643 GB, free: 8.59 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 (falEdg.y,$whenCondition3,$whenCondition1,$whenCondition2,booPul.y,falEdg.not_u,triggeredSampler.y) * Number of discrete states: 1 (falEdg.not_u) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * 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 9.174e-05/0.006262, allocations: 88.34 kB / 0.6431 GB, free: 8.496 MB / 0.6043 GB Notification: Performance of simCode: created initialization part: time 0.0001338/0.006395, allocations: 149.9 kB / 0.6432 GB, free: 8.328 MB / 0.6043 GB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.006397, allocations: 0 / 0.6432 GB, free: 8.328 MB / 0.6043 GB Notification: Performance of simCode: created simulation system equations: time 2.705e-05/0.006424, allocations: 20.8 kB / 0.6432 GB, free: 8.305 MB / 0.6043 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001299/0.006554, allocations: 20.23 kB / 0.6432 GB, free: 8.285 MB / 0.6043 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002223/0.006777, allocations: 156.9 kB / 0.6434 GB, free: 8.105 MB / 0.6043 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.094e-05/0.006807, allocations: 63.34 kB / 0.6434 GB, free: 8.023 MB / 0.6043 GB Notification: Performance of simCode: alias equations: time 1.982e-05/0.006827, allocations: 7.984 kB / 0.6435 GB, free: 8.016 MB / 0.6043 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.166e-05/0.006899, allocations: 71.36 kB / 0.6435 GB, free: 7.945 MB / 0.6043 GB Notification: Performance of SimCode: time 3.01e-07/0.006899, allocations: 0 / 0.6435 GB, free: 7.945 MB / 0.6043 GB Notification: Performance of Templates: time 0.002882/0.009781, allocations: 1.659 MB / 0.6451 GB, free: 6.285 MB / 0.6043 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.FallingEdge.makefile [Timeout 660] (rm -f AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.FallingEdge.sim & ./AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.FallingEdge -abortSlowSimulation -alarm=240 -lv LOG_STATS > AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.249623181298375]