Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Edge.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.04373/0.04373, allocations: 9.128 MB / 28.99 MB, free: 344 kB / 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.0008511/0.0008511, allocations: 91.27 kB / 35.33 MB, free: 0.9375 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.001045/0.001045, allocations: 169.9 kB / 38.73 MB, free: 2.402 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.9963/0.9963, 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.004695/0.004695, allocations: 0.8168 MB / 276.5 MB, free: 0.7578 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.719/1.719, allocations: 274.9 MB / 0.5419 GB, free: 0.6133 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.Edge,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Edge") translateModel(AixLib.Controls.OBC.CDL.Logical.Validation.Edge,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Edge") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.326e-06/3.326e-06, allocations: 4 kB / 0.6379 GB, free: 14.06 MB / 0.6043 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.475e-05/2.807e-05, allocations: 2.312 kB / 0.6379 GB, free: 14.05 MB / 0.6043 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Logical.Validation.Edge): time 0.001634/0.001662, allocations: 0.7835 MB / 0.6387 GB, free: 13.27 MB / 0.6043 GB Notification: Performance of NFInst.instExpressions: time 0.001199/0.002862, allocations: 1.221 MB / 0.6399 GB, free: 12.04 MB / 0.6043 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.244e-05/0.002914, allocations: 4 kB / 0.6399 GB, free: 12.03 MB / 0.6043 GB Notification: Performance of NFTyping.typeComponents: time 3.216e-05/0.002946, allocations: 11.86 kB / 0.6399 GB, free: 12.02 MB / 0.6043 GB Notification: Performance of NFTyping.typeBindings: time 7.634e-05/0.003023, allocations: 3.938 kB / 0.6399 GB, free: 12.02 MB / 0.6043 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003788/0.003401, allocations: 131.6 kB / 0.64 GB, free: 11.89 MB / 0.6043 GB Notification: Performance of NFFlatten.flatten: time 0.0001582/0.00356, allocations: 115.8 kB / 0.6401 GB, free: 11.77 MB / 0.6043 GB Notification: Performance of NFFlatten.resolveConnections: time 7.954e-05/0.003639, allocations: 15.92 kB / 0.6401 GB, free: 11.76 MB / 0.6043 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001141/0.003753, allocations: 71.83 kB / 0.6402 GB, free: 11.69 MB / 0.6043 GB Notification: Performance of NFSimplifyModel.simplify: time 8.167e-05/0.003835, allocations: 39.92 kB / 0.6402 GB, free: 11.65 MB / 0.6043 GB Notification: Performance of NFPackage.collectConstants: time 2.444e-05/0.003859, allocations: 12 kB / 0.6403 GB, free: 11.64 MB / 0.6043 GB Notification: Performance of NFFlatten.collectFunctions: time 7.698e-05/0.003936, allocations: 16 kB / 0.6403 GB, free: 11.62 MB / 0.6043 GB Notification: Performance of NFScalarize.scalarize: time 2.398e-05/0.00396, allocations: 19.91 kB / 0.6403 GB, free: 11.6 MB / 0.6043 GB Notification: Performance of NFVerifyModel.verify: time 4.366e-05/0.004004, allocations: 31.97 kB / 0.6403 GB, free: 11.57 MB / 0.6043 GB Notification: Performance of NFConvertDAE.convert: time 0.0001494/0.004153, allocations: 95.75 kB / 0.6404 GB, free: 11.48 MB / 0.6043 GB Notification: Performance of FrontEnd - DAE generated: time 2.925e-06/0.004156, allocations: 0 / 0.6404 GB, free: 11.48 MB / 0.6043 GB Notification: Performance of FrontEnd: time 1.152e-06/0.004157, allocations: 0 / 0.6404 GB, free: 11.48 MB / 0.6043 GB Notification: Performance of Transformations before backend: time 4.468e-06/0.004162, allocations: 0 / 0.6404 GB, free: 11.48 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.0003921/0.004554, allocations: 302.1 kB / 0.6407 GB, free: 11.15 MB / 0.6043 GB Notification: Performance of prepare preOptimizeDAE: time 4.181e-05/0.004596, allocations: 19.92 kB / 0.6407 GB, free: 11.13 MB / 0.6043 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.476e-05/0.004631, allocations: 12.92 kB / 0.6407 GB, free: 11.12 MB / 0.6043 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.896e-05/0.004709, allocations: 113.7 kB / 0.6408 GB, free: 10.98 MB / 0.6043 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.188e-05/0.004721, allocations: 4.375 kB / 0.6408 GB, free: 10.98 MB / 0.6043 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.496e-05/0.004736, allocations: 12.38 kB / 0.6409 GB, free: 10.96 MB / 0.6043 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.945e-05/0.004836, allocations: 66.91 kB / 0.6409 GB, free: 10.89 MB / 0.6043 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.522e-06/0.004842, allocations: 4.125 kB / 0.6409 GB, free: 10.89 MB / 0.6043 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.053e-06/0.004849, allocations: 4.375 kB / 0.6409 GB, free: 10.88 MB / 0.6043 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.401e-06/0.004855, allocations: 384 / 0.6409 GB, free: 10.88 MB / 0.6043 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.56e-05/0.00488, allocations: 19.88 kB / 0.6409 GB, free: 10.86 MB / 0.6043 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002626/0.005143, allocations: 184.2 kB / 0.6411 GB, free: 10.67 MB / 0.6043 GB Notification: Performance of preOpt comSubExp (simulation): time 7.664e-05/0.00522, allocations: 26.58 kB / 0.6411 GB, free: 10.63 MB / 0.6043 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.753e-05/0.005237, allocations: 17.03 kB / 0.6412 GB, free: 10.61 MB / 0.6043 GB Notification: Performance of preOpt evalFunc (simulation): time 8.667e-06/0.005246, allocations: 8 kB / 0.6412 GB, free: 10.61 MB / 0.6043 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.316e-05/0.005329, allocations: 63.31 kB / 0.6412 GB, free: 10.53 MB / 0.6043 GB Notification: Performance of pre-optimization done (n=8): time 1.603e-06/0.005331, allocations: 0 / 0.6412 GB, free: 10.53 MB / 0.6043 GB Notification: Performance of matching and sorting (n=8): time 0.0001208/0.005451, allocations: 77.58 kB / 0.6413 GB, free: 10.45 MB / 0.6043 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.976e-05/0.005481, allocations: 59.41 kB / 0.6414 GB, free: 10.38 MB / 0.6043 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.011e-05/0.005551, allocations: 122.6 kB / 0.6415 GB, free: 10.25 MB / 0.6043 GB Notification: Performance of collectPreVariables (initialization): time 2.094e-05/0.005572, allocations: 33.69 kB / 0.6415 GB, free: 10.21 MB / 0.6043 GB Notification: Performance of collectInitialEqns (initialization): time 4.008e-05/0.005612, allocations: 92.12 kB / 0.6416 GB, free: 10.11 MB / 0.6043 GB Notification: Performance of collectInitialBindings (initialization): time 1.991e-05/0.005632, allocations: 19.77 kB / 0.6416 GB, free: 10.09 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.222e-05/0.005684, allocations: 37.69 kB / 0.6417 GB, free: 10.05 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 9.047e-05/0.005775, allocations: 314.8 kB / 0.642 GB, free: 9.734 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.268e-05/0.005828, allocations: 53.69 kB / 0.642 GB, free: 9.676 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.996e-05/0.005888, allocations: 89.95 kB / 0.6421 GB, free: 9.566 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.974e-05/0.005967, allocations: 105.9 kB / 0.6422 GB, free: 9.441 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.005969, allocations: 0 / 0.6422 GB, free: 9.441 MB / 0.6043 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001412/0.00611, allocations: 168.9 kB / 0.6424 GB, free: 9.258 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 2.832e-05/0.006139, allocations: 33.7 kB / 0.6424 GB, free: 9.219 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.006143, allocations: 0 / 0.6424 GB, free: 9.219 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.438e-05/0.006158, allocations: 7.938 kB / 0.6424 GB, free: 9.211 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.061e-05/0.006218, allocations: 11.98 kB / 0.6424 GB, free: 9.199 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.106e-06/0.006221, allocations: 4 kB / 0.6424 GB, free: 9.195 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.073e-05/0.006302, allocations: 40.05 kB / 0.6424 GB, free: 9.156 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.274e-05/0.006315, allocations: 4 kB / 0.6425 GB, free: 9.152 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,edge1.y,edge1.u,$PRE.edge1.u,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 6.273e-05/0.006378, allocations: 121.8 kB / 0.6426 GB, free: 9.023 MB / 0.6043 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.132e-05/0.006389, allocations: 7.984 kB / 0.6426 GB, free: 9.016 MB / 0.6043 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.304e-05/0.006412, allocations: 12.44 kB / 0.6426 GB, free: 9.004 MB / 0.6043 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.926e-06/0.006415, allocations: 3.938 kB / 0.6426 GB, free: 9 MB / 0.6043 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.452e-06/0.006416, allocations: 0 / 0.6426 GB, free: 9 MB / 0.6043 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/0.006419, allocations: 0 / 0.6426 GB, free: 9 MB / 0.6043 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001762/0.006596, allocations: 222.7 kB / 0.6428 GB, free: 8.758 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.006597, allocations: 0 / 0.6428 GB, free: 8.758 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.684e-05/0.006624, allocations: 8 kB / 0.6428 GB, free: 8.75 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.345e-06/0.006626, allocations: 4 kB / 0.6428 GB, free: 8.746 MB / 0.6043 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.462e-06/0.006632, allocations: 7.922 kB / 0.6428 GB, free: 8.738 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.41e-07/0.006633, allocations: 0 / 0.6428 GB, free: 8.738 MB / 0.6043 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.006634, allocations: 0 / 0.6428 GB, free: 8.738 MB / 0.6043 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.29e-05/0.006717, allocations: 151.9 kB / 0.643 GB, free: 8.574 MB / 0.6043 GB Notification: Performance of postOpt removeConstants (simulation): time 9.147e-06/0.006726, allocations: 11.89 kB / 0.643 GB, free: 8.562 MB / 0.6043 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.538e-05/0.006742, allocations: 7.938 kB / 0.643 GB, free: 8.555 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.627e-05/0.006778, allocations: 4 kB / 0.643 GB, free: 8.551 MB / 0.6043 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.84e-05/0.006806, allocations: 7.984 kB / 0.643 GB, free: 8.543 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.799e-06/0.006811, allocations: 4 kB / 0.643 GB, free: 8.539 MB / 0.6043 GB Notification: Performance of sorting global known variables: time 1.671e-05/0.006828, allocations: 16.84 kB / 0.643 GB, free: 8.52 MB / 0.6043 GB Notification: Performance of sort global known variables: time 4e-08/0.006828, allocations: 0 / 0.643 GB, free: 8.52 MB / 0.6043 GB Notification: Performance of remove unused functions: time 0.0001421/0.00697, allocations: 24 kB / 0.643 GB, free: 8.496 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 (edge1.y,$whenCondition3,$whenCondition1,$whenCondition2,booPul.y,edge1.u,triggeredSampler.y) * Number of discrete states: 1 (edge1.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.0001027/0.007073, allocations: 80.41 kB / 0.6431 GB, free: 8.41 MB / 0.6043 GB Notification: Performance of simCode: created initialization part: time 0.0001452/0.007218, allocations: 157.9 kB / 0.6433 GB, free: 8.234 MB / 0.6043 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.007221, allocations: 256 / 0.6433 GB, free: 8.234 MB / 0.6043 GB Notification: Performance of simCode: created simulation system equations: time 2.886e-05/0.007249, allocations: 28.78 kB / 0.6433 GB, free: 8.203 MB / 0.6043 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001449/0.007394, allocations: 16.86 kB / 0.6433 GB, free: 8.188 MB / 0.6043 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002394/0.007634, allocations: 161.1 kB / 0.6435 GB, free: 8 MB / 0.6043 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.866e-05/0.007672, allocations: 63.28 kB / 0.6435 GB, free: 7.918 MB / 0.6043 GB Notification: Performance of simCode: alias equations: time 2.219e-05/0.007695, allocations: 4 kB / 0.6435 GB, free: 7.914 MB / 0.6043 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.567e-05/0.00777, allocations: 71.36 kB / 0.6436 GB, free: 7.844 MB / 0.6043 GB Notification: Performance of SimCode: time 7.12e-07/0.007771, allocations: 4 kB / 0.6436 GB, free: 7.84 MB / 0.6043 GB Notification: Performance of Templates: time 0.003105/0.01088, allocations: 1.649 MB / 0.6452 GB, free: 6.191 MB / 0.6043 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Edge.makefile [Timeout 660] (rm -f AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Edge.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Edge.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Edge.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Edge.sim & ./AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Edge -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Edge.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.620220478158444]