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.04059/0.04059, allocations: 9.13 MB / 28.99 MB, free: 0.8125 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.0008848/0.0008848, allocations: 90.38 kB / 35.33 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.001039/0.001039, allocations: 162.8 kB / 38.73 MB, free: 2.363 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.044/1.044, allocations: 177.2 MB / 219.2 MB, free: 10.12 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.004626/0.004626, allocations: 0.8227 MB / 276.5 MB, free: 0.7383 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.768/1.768, allocations: 274.9 MB / 0.5419 GB, free: 0.5898 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 3.206e-06/3.206e-06, allocations: 0 / 0.6379 GB, free: 14.04 MB / 0.6043 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.401e-05/2.721e-05, allocations: 2.312 kB / 0.6379 GB, free: 14.04 MB / 0.6043 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Logical.Validation.FallingEdge): time 0.002271/0.002298, allocations: 0.7875 MB / 0.6387 GB, free: 13.25 MB / 0.6043 GB Notification: Performance of NFInst.instExpressions: time 0.001763/0.004061, allocations: 1.229 MB / 0.6399 GB, free: 12.01 MB / 0.6043 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.816e-05/0.004129, allocations: 0 / 0.6399 GB, free: 12.01 MB / 0.6043 GB Notification: Performance of NFTyping.typeComponents: time 3.552e-05/0.004165, allocations: 3.938 kB / 0.6399 GB, free: 12 MB / 0.6043 GB Notification: Performance of NFTyping.typeBindings: time 9.792e-05/0.004263, allocations: 15.86 kB / 0.6399 GB, free: 11.99 MB / 0.6043 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004902/0.004753, allocations: 127.6 kB / 0.64 GB, free: 11.86 MB / 0.6043 GB Notification: Performance of NFFlatten.flatten: time 0.0001923/0.004945, allocations: 115.8 kB / 0.6401 GB, free: 11.75 MB / 0.6043 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001089/0.005054, allocations: 23.86 kB / 0.6401 GB, free: 11.73 MB / 0.6043 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001491/0.005203, allocations: 71.83 kB / 0.6402 GB, free: 11.66 MB / 0.6043 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001007/0.005304, allocations: 39.92 kB / 0.6402 GB, free: 11.62 MB / 0.6043 GB Notification: Performance of NFPackage.collectConstants: time 2.722e-05/0.005331, allocations: 12 kB / 0.6403 GB, free: 11.61 MB / 0.6043 GB Notification: Performance of NFFlatten.collectFunctions: time 8.769e-05/0.005419, allocations: 20 kB / 0.6403 GB, free: 11.59 MB / 0.6043 GB Notification: Performance of NFScalarize.scalarize: time 2.688e-05/0.005446, allocations: 15.92 kB / 0.6403 GB, free: 11.57 MB / 0.6043 GB Notification: Performance of NFVerifyModel.verify: time 5.418e-05/0.0055, allocations: 39.89 kB / 0.6403 GB, free: 11.53 MB / 0.6043 GB Notification: Performance of NFConvertDAE.convert: time 0.0001759/0.005676, allocations: 87.81 kB / 0.6404 GB, free: 11.45 MB / 0.6043 GB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.00568, allocations: 0 / 0.6404 GB, free: 11.45 MB / 0.6043 GB Notification: Performance of FrontEnd: time 1.293e-06/0.005682, allocations: 0 / 0.6404 GB, free: 11.45 MB / 0.6043 GB Notification: Performance of Transformations before backend: time 4.619e-06/0.005686, allocations: 3.938 kB / 0.6404 GB, free: 11.44 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.0005033/0.006189, allocations: 306.1 kB / 0.6407 GB, free: 11.11 MB / 0.6043 GB Notification: Performance of prepare preOptimizeDAE: time 4.092e-05/0.00623, allocations: 15.98 kB / 0.6407 GB, free: 11.09 MB / 0.6043 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.099e-05/0.006281, allocations: 20.86 kB / 0.6407 GB, free: 11.07 MB / 0.6043 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002584/0.00654, allocations: 109.8 kB / 0.6409 GB, free: 10.94 MB / 0.6043 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.832e-05/0.006558, allocations: 4.375 kB / 0.6409 GB, free: 10.94 MB / 0.6043 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.91e-05/0.006577, allocations: 8.375 kB / 0.6409 GB, free: 10.93 MB / 0.6043 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001356/0.006713, allocations: 70.92 kB / 0.6409 GB, free: 10.85 MB / 0.6043 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.647e-06/0.006722, allocations: 192 / 0.6409 GB, free: 10.85 MB / 0.6043 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.434e-06/0.006729, allocations: 384 / 0.6409 GB, free: 10.85 MB / 0.6043 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.231e-06/0.006735, allocations: 384 / 0.6409 GB, free: 10.85 MB / 0.6043 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.663e-05/0.006772, allocations: 15.88 kB / 0.6409 GB, free: 10.84 MB / 0.6043 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003581/0.00713, allocations: 192.2 kB / 0.6411 GB, free: 10.63 MB / 0.6043 GB Notification: Performance of preOpt comSubExp (simulation): time 9.887e-05/0.007229, allocations: 34.62 kB / 0.6412 GB, free: 10.59 MB / 0.6043 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.271e-05/0.007251, allocations: 16.84 kB / 0.6412 GB, free: 10.57 MB / 0.6043 GB Notification: Performance of preOpt evalFunc (simulation): time 8.687e-06/0.00726, allocations: 0 / 0.6412 GB, free: 10.57 MB / 0.6043 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001151/0.007375, allocations: 71.44 kB / 0.6412 GB, free: 10.49 MB / 0.6043 GB Notification: Performance of pre-optimization done (n=8): time 1.493e-06/0.007377, allocations: 0 / 0.6412 GB, free: 10.49 MB / 0.6043 GB Notification: Performance of matching and sorting (n=8): time 0.0001611/0.007538, allocations: 69.59 kB / 0.6413 GB, free: 10.41 MB / 0.6043 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.918e-05/0.007577, allocations: 59.39 kB / 0.6414 GB, free: 10.34 MB / 0.6043 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.957e-05/0.007657, allocations: 130.5 kB / 0.6415 GB, free: 10.2 MB / 0.6043 GB Notification: Performance of collectPreVariables (initialization): time 2.215e-05/0.007679, allocations: 33.7 kB / 0.6415 GB, free: 10.16 MB / 0.6043 GB Notification: Performance of collectInitialEqns (initialization): time 4.556e-05/0.007724, allocations: 92.11 kB / 0.6416 GB, free: 10.07 MB / 0.6043 GB Notification: Performance of collectInitialBindings (initialization): time 2.617e-05/0.007751, allocations: 23.84 kB / 0.6416 GB, free: 10.05 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.486e-05/0.007815, allocations: 33.69 kB / 0.6417 GB, free: 10.01 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 0.000107/0.007922, allocations: 322.8 kB / 0.642 GB, free: 9.684 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.394e-05/0.007996, allocations: 57.62 kB / 0.642 GB, free: 9.621 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.221e-05/0.008079, allocations: 81.97 kB / 0.6421 GB, free: 9.52 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000117/0.008196, allocations: 105.9 kB / 0.6422 GB, free: 9.395 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.504e-06/0.008198, allocations: 0 / 0.6422 GB, free: 9.395 MB / 0.6043 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001975/0.008396, allocations: 164.9 kB / 0.6424 GB, free: 9.215 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 3.708e-05/0.008433, allocations: 37.7 kB / 0.6424 GB, free: 9.172 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.407e-06/0.008442, allocations: 7.938 kB / 0.6424 GB, free: 9.164 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.39e-05/0.008456, allocations: 0 / 0.6424 GB, free: 9.164 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.862e-05/0.008535, allocations: 11.98 kB / 0.6424 GB, free: 9.152 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.019e-06/0.00854, allocations: 4 kB / 0.6424 GB, free: 9.148 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001155/0.008655, allocations: 28.05 kB / 0.6425 GB, free: 9.121 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.307e-05/0.008678, allocations: 16.05 kB / 0.6425 GB, free: 9.105 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 7.518e-05/0.008753, allocations: 113.8 kB / 0.6426 GB, free: 8.984 MB / 0.6043 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.863e-05/0.008772, allocations: 8 kB / 0.6426 GB, free: 8.977 MB / 0.6043 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.167e-05/0.008804, allocations: 20.36 kB / 0.6426 GB, free: 8.957 MB / 0.6043 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.008806, allocations: 0 / 0.6426 GB, free: 8.957 MB / 0.6043 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.683e-06/0.008808, allocations: 0 / 0.6426 GB, free: 8.957 MB / 0.6043 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.758e-06/0.008811, allocations: 0 / 0.6426 GB, free: 8.957 MB / 0.6043 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000245/0.009056, allocations: 222.7 kB / 0.6428 GB, free: 8.715 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.009058, allocations: 4 kB / 0.6428 GB, free: 8.711 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.222e-05/0.009101, allocations: 4 kB / 0.6428 GB, free: 8.707 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.629e-06/0.009105, allocations: 3.938 kB / 0.6428 GB, free: 8.703 MB / 0.6043 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.706e-06/0.009114, allocations: 4 kB / 0.6428 GB, free: 8.699 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.009116, allocations: 400 / 0.6428 GB, free: 8.699 MB / 0.6043 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/0.009119, allocations: 4 kB / 0.6428 GB, free: 8.695 MB / 0.6043 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000115/0.009234, allocations: 159.4 kB / 0.643 GB, free: 8.523 MB / 0.6043 GB Notification: Performance of postOpt removeConstants (simulation): time 8.927e-06/0.009243, allocations: 3.984 kB / 0.643 GB, free: 8.52 MB / 0.6043 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.998e-05/0.009263, allocations: 7.938 kB / 0.643 GB, free: 8.512 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.746e-05/0.00933, allocations: 4 kB / 0.643 GB, free: 8.508 MB / 0.6043 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.853e-05/0.009369, allocations: 7.984 kB / 0.643 GB, free: 8.5 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.362e-06/0.009375, allocations: 4 kB / 0.643 GB, free: 8.496 MB / 0.6043 GB Notification: Performance of sorting global known variables: time 2.366e-05/0.009399, allocations: 20.78 kB / 0.643 GB, free: 8.473 MB / 0.6043 GB Notification: Performance of sort global known variables: time 6e-08/0.009399, allocations: 0 / 0.643 GB, free: 8.473 MB / 0.6043 GB Notification: Performance of remove unused functions: time 0.0002348/0.009634, allocations: 24 kB / 0.6431 GB, free: 8.449 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 0.0001536/0.009787, allocations: 88.34 kB / 0.6431 GB, free: 8.355 MB / 0.6043 GB Notification: Performance of simCode: created initialization part: time 0.0001924/0.00998, allocations: 153.9 kB / 0.6433 GB, free: 8.184 MB / 0.6043 GB Notification: Performance of simCode: created event and clocks part: time 2.995e-06/0.009983, allocations: 0 / 0.6433 GB, free: 8.184 MB / 0.6043 GB Notification: Performance of simCode: created simulation system equations: time 4.154e-05/0.01002, allocations: 25.03 kB / 0.6433 GB, free: 8.156 MB / 0.6043 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002112/0.01024, allocations: 16 kB / 0.6433 GB, free: 8.141 MB / 0.6043 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003236/0.01056, allocations: 160.9 kB / 0.6435 GB, free: 7.957 MB / 0.6043 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.084e-05/0.0106, allocations: 55.36 kB / 0.6435 GB, free: 7.883 MB / 0.6043 GB Notification: Performance of simCode: alias equations: time 3.37e-05/0.01063, allocations: 7.984 kB / 0.6435 GB, free: 7.875 MB / 0.6043 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001058/0.01074, allocations: 67.36 kB / 0.6436 GB, free: 7.809 MB / 0.6043 GB Notification: Performance of SimCode: time 7.51e-07/0.01074, allocations: 0 / 0.6436 GB, free: 7.809 MB / 0.6043 GB Notification: Performance of Templates: time 0.004318/0.01506, allocations: 1.667 MB / 0.6452 GB, free: 6.141 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.54974409379065]