Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Nand.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.04291/0.04291, allocations: 9.132 MB / 28.99 MB, free: 328 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.0009604/0.0009604, allocations: 95.27 kB / 35.33 MB, free: 0.9219 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.001212/0.001212, allocations: 169 kB / 38.73 MB, free: 2.398 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.966/0.966, 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.004142/0.004142, allocations: 0.8335 MB / 276.5 MB, free: 0.7148 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.602/1.602, allocations: 274.9 MB / 0.5419 GB, free: 0.6172 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.Nand,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Nand") translateModel(AixLib.Controls.OBC.CDL.Logical.Validation.Nand,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Nand") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 0.6379 GB, free: 14.13 MB / 0.6043 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.484e-05/1.646e-05, allocations: 6.25 kB / 0.6379 GB, free: 14.12 MB / 0.6043 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Logical.Validation.Nand): time 0.001154/0.00117, allocations: 0.6532 MB / 0.6385 GB, free: 13.47 MB / 0.6043 GB Notification: Performance of NFInst.instExpressions: time 0.001154/0.002324, allocations: 1.252 MB / 0.6397 GB, free: 12.21 MB / 0.6043 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.695e-05/0.002361, allocations: 4 kB / 0.6397 GB, free: 12.2 MB / 0.6043 GB Notification: Performance of NFTyping.typeComponents: time 2.456e-05/0.002385, allocations: 3.938 kB / 0.6397 GB, free: 12.2 MB / 0.6043 GB Notification: Performance of NFTyping.typeBindings: time 7.494e-05/0.00246, allocations: 19.91 kB / 0.6397 GB, free: 12.18 MB / 0.6043 GB Notification: Performance of NFTyping.typeClassSections: time 0.000444/0.002904, allocations: 211.4 kB / 0.6399 GB, free: 11.97 MB / 0.6043 GB Notification: Performance of NFFlatten.flatten: time 0.0001645/0.003069, allocations: 171.7 kB / 0.6401 GB, free: 11.8 MB / 0.6043 GB Notification: Performance of NFFlatten.resolveConnections: time 6.459e-05/0.003133, allocations: 4 kB / 0.6401 GB, free: 11.8 MB / 0.6043 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001026/0.003236, allocations: 99.84 kB / 0.6402 GB, free: 11.7 MB / 0.6043 GB Notification: Performance of NFSimplifyModel.simplify: time 9.228e-05/0.003328, allocations: 51.86 kB / 0.6403 GB, free: 11.65 MB / 0.6043 GB Notification: Performance of NFPackage.collectConstants: time 2.407e-05/0.003352, allocations: 20 kB / 0.6403 GB, free: 11.63 MB / 0.6043 GB Notification: Performance of NFFlatten.collectFunctions: time 5.924e-05/0.003411, allocations: 27.92 kB / 0.6403 GB, free: 11.61 MB / 0.6043 GB Notification: Performance of NFScalarize.scalarize: time 2.068e-05/0.003432, allocations: 15.92 kB / 0.6403 GB, free: 11.59 MB / 0.6043 GB Notification: Performance of NFVerifyModel.verify: time 4.694e-05/0.003479, allocations: 47.95 kB / 0.6404 GB, free: 11.54 MB / 0.6043 GB Notification: Performance of NFConvertDAE.convert: time 0.0001435/0.003623, allocations: 127.7 kB / 0.6405 GB, free: 11.42 MB / 0.6043 GB Notification: Performance of FrontEnd - DAE generated: time 1.904e-06/0.003624, allocations: 0 / 0.6405 GB, free: 11.42 MB / 0.6043 GB Notification: Performance of FrontEnd: time 9.92e-07/0.003625, allocations: 0 / 0.6405 GB, free: 11.42 MB / 0.6043 GB Notification: Performance of Transformations before backend: time 2.815e-06/0.003628, allocations: 3.938 kB / 0.6405 GB, free: 11.41 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003154/0.003944, allocations: 339.8 kB / 0.6408 GB, free: 11.04 MB / 0.6043 GB Notification: Performance of prepare preOptimizeDAE: time 2.971e-05/0.003973, allocations: 11.98 kB / 0.6408 GB, free: 11.03 MB / 0.6043 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.314e-05/0.004006, allocations: 12.92 kB / 0.6408 GB, free: 11.02 MB / 0.6043 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.061e-05/0.004077, allocations: 117.7 kB / 0.641 GB, free: 10.88 MB / 0.6043 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.113e-05/0.004088, allocations: 8.359 kB / 0.641 GB, free: 10.87 MB / 0.6043 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.991e-05/0.004108, allocations: 12.38 kB / 0.641 GB, free: 10.86 MB / 0.6043 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.63e-05/0.004164, allocations: 38.25 kB / 0.641 GB, free: 10.82 MB / 0.6043 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.37e-06/0.00417, allocations: 192 / 0.641 GB, free: 10.82 MB / 0.6043 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.302e-06/0.004176, allocations: 384 / 0.641 GB, free: 10.82 MB / 0.6043 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.641e-06/0.004182, allocations: 8.359 kB / 0.641 GB, free: 10.81 MB / 0.6043 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.388e-05/0.004196, allocations: 11.88 kB / 0.641 GB, free: 10.8 MB / 0.6043 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002312/0.004427, allocations: 172.3 kB / 0.6412 GB, free: 10.61 MB / 0.6043 GB Notification: Performance of preOpt comSubExp (simulation): time 4.844e-05/0.004475, allocations: 30.62 kB / 0.6412 GB, free: 10.57 MB / 0.6043 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.275e-05/0.004488, allocations: 12.86 kB / 0.6412 GB, free: 10.56 MB / 0.6043 GB Notification: Performance of preOpt evalFunc (simulation): time 4.949e-06/0.004493, allocations: 3.938 kB / 0.6412 GB, free: 10.55 MB / 0.6043 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003382/0.004831, allocations: 83.33 kB / 0.6413 GB, free: 10.46 MB / 0.6043 GB Notification: Performance of pre-optimization done (n=7): time 1.583e-06/0.004833, allocations: 0 / 0.6413 GB, free: 10.46 MB / 0.6043 GB Notification: Performance of matching and sorting (n=7): time 0.0001171/0.00495, allocations: 77.59 kB / 0.6414 GB, free: 10.38 MB / 0.6043 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.071e-05/0.004981, allocations: 55.39 kB / 0.6414 GB, free: 10.31 MB / 0.6043 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.337e-05/0.005034, allocations: 118.6 kB / 0.6416 GB, free: 10.18 MB / 0.6043 GB Notification: Performance of collectPreVariables (initialization): time 1.956e-05/0.005053, allocations: 33.64 kB / 0.6416 GB, free: 10.14 MB / 0.6043 GB Notification: Performance of collectInitialEqns (initialization): time 3.598e-05/0.005089, allocations: 96.12 kB / 0.6417 GB, free: 10.05 MB / 0.6043 GB Notification: Performance of collectInitialBindings (initialization): time 1.15e-05/0.005101, allocations: 15.88 kB / 0.6417 GB, free: 10.03 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.967e-05/0.005151, allocations: 45.69 kB / 0.6417 GB, free: 9.98 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 6.308e-05/0.005214, allocations: 314.8 kB / 0.642 GB, free: 9.664 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.699e-05/0.005281, allocations: 99.38 kB / 0.6421 GB, free: 9.555 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.144e-05/0.005362, allocations: 131.6 kB / 0.6423 GB, free: 9.398 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.903e-05/0.005451, allocations: 139.6 kB / 0.6424 GB, free: 9.234 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.005454, allocations: 4 kB / 0.6424 GB, free: 9.23 MB / 0.6043 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001759/0.00563, allocations: 260.3 kB / 0.6426 GB, free: 8.945 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 3.582e-05/0.005665, allocations: 71.39 kB / 0.6427 GB, free: 8.863 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.005671, allocations: 3.938 kB / 0.6427 GB, free: 8.859 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.292e-05/0.005684, allocations: 0 / 0.6427 GB, free: 8.859 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.554e-05/0.005699, allocations: 7.938 kB / 0.6427 GB, free: 8.852 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.895e-06/0.005702, allocations: 0 / 0.6427 GB, free: 8.852 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001414/0.005843, allocations: 43.92 kB / 0.6428 GB, free: 8.809 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.685e-05/0.00586, allocations: 7.984 kB / 0.6428 GB, free: 8.801 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: 9 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,nand1.y,booPul2.y,$PRE.booPul2.y,booPul1.y,$PRE.booPul1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 2 * 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.484e-05/0.005925, allocations: 122 kB / 0.6429 GB, free: 8.672 MB / 0.6043 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.375e-06/0.005934, allocations: 7.984 kB / 0.6429 GB, free: 8.664 MB / 0.6043 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.25e-05/0.005956, allocations: 16.38 kB / 0.6429 GB, free: 8.645 MB / 0.6043 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.834e-06/0.005958, allocations: 0 / 0.6429 GB, free: 8.645 MB / 0.6043 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.084e-06/0.00596, allocations: 0 / 0.6429 GB, free: 8.645 MB / 0.6043 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/0.005963, allocations: 0 / 0.6429 GB, free: 8.645 MB / 0.6043 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.241e-05/0.006025, allocations: 81.81 kB / 0.643 GB, free: 8.547 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.61e-07/0.006026, allocations: 0 / 0.643 GB, free: 8.547 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.481e-06/0.006031, allocations: 3.938 kB / 0.643 GB, free: 8.543 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.042e-06/0.006033, allocations: 0 / 0.643 GB, free: 8.543 MB / 0.6043 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.408e-06/0.006037, allocations: 7.984 kB / 0.643 GB, free: 8.535 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.006038, allocations: 4 kB / 0.643 GB, free: 8.531 MB / 0.6043 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.00604, allocations: 3.938 kB / 0.643 GB, free: 8.527 MB / 0.6043 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.204e-05/0.006102, allocations: 81.05 kB / 0.6431 GB, free: 8.43 MB / 0.6043 GB Notification: Performance of postOpt removeConstants (simulation): time 6.242e-06/0.006109, allocations: 7.953 kB / 0.6431 GB, free: 8.422 MB / 0.6043 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.695e-06/0.006116, allocations: 0 / 0.6431 GB, free: 8.422 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.089e-05/0.006127, allocations: 4 kB / 0.6431 GB, free: 8.418 MB / 0.6043 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.453e-05/0.006152, allocations: 7.922 kB / 0.6431 GB, free: 8.41 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.61e-06/0.006157, allocations: 8 kB / 0.6431 GB, free: 8.402 MB / 0.6043 GB Notification: Performance of sorting global known variables: time 1.292e-05/0.00617, allocations: 16.83 kB / 0.6431 GB, free: 8.383 MB / 0.6043 GB Notification: Performance of sort global known variables: time 4e-08/0.00617, allocations: 0 / 0.6431 GB, free: 8.383 MB / 0.6043 GB Notification: Performance of remove unused functions: time 0.0001331/0.006303, allocations: 32 kB / 0.6432 GB, free: 8.352 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 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul1.y,booPul2.y,nand1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * 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 8.852e-05/0.006392, allocations: 88.34 kB / 0.6432 GB, free: 8.258 MB / 0.6043 GB Notification: Performance of simCode: created initialization part: time 0.0001746/0.006566, allocations: 255 kB / 0.6435 GB, free: 7.969 MB / 0.6043 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.006568, allocations: 0 / 0.6435 GB, free: 7.969 MB / 0.6043 GB Notification: Performance of simCode: created simulation system equations: time 2.102e-05/0.006589, allocations: 20.84 kB / 0.6435 GB, free: 7.945 MB / 0.6043 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.906e-05/0.006689, allocations: 16.98 kB / 0.6435 GB, free: 7.93 MB / 0.6043 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002016/0.00689, allocations: 149.8 kB / 0.6437 GB, free: 7.754 MB / 0.6043 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.701e-05/0.006917, allocations: 59.34 kB / 0.6437 GB, free: 7.676 MB / 0.6043 GB Notification: Performance of simCode: alias equations: time 1.645e-05/0.006934, allocations: 4 kB / 0.6437 GB, free: 7.672 MB / 0.6043 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.829e-05/0.007022, allocations: 87.28 kB / 0.6438 GB, free: 7.586 MB / 0.6043 GB Notification: Performance of SimCode: time 6.52e-07/0.007023, allocations: 0 / 0.6438 GB, free: 7.586 MB / 0.6043 GB Notification: Performance of Templates: time 0.003188/0.01021, allocations: 2.227 MB / 0.646 GB, free: 5.355 MB / 0.6043 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Nand.makefile [Timeout 660] (rm -f AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Nand.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Nand.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Nand.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Nand.sim & ./AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Nand -abortSlowSimulation -alarm=240 -lv LOG_STATS > AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Nand.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.4004887919873]