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.03998/0.03998, allocations: 9.128 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.0008552/0.0008552, allocations: 90.72 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.0009764/0.0009764, allocations: 163.6 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.9689/0.9689, allocations: 177.1 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.01138/0.01138, allocations: 0.8255 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.655/1.655, 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.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.232e-06/1.232e-06, allocations: 0 / 0.6379 GB, free: 14.09 MB / 0.6043 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.077e-05/2.2e-05, allocations: 2.312 kB / 0.6379 GB, free: 14.09 MB / 0.6043 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Logical.Validation.Nand): time 0.00121/0.001232, allocations: 0.7002 MB / 0.6386 GB, free: 13.39 MB / 0.6043 GB Notification: Performance of NFInst.instExpressions: time 0.001112/0.002343, allocations: 1.26 MB / 0.6398 GB, free: 12.12 MB / 0.6043 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.232e-05/0.002365, allocations: 0 / 0.6398 GB, free: 12.12 MB / 0.6043 GB Notification: Performance of NFTyping.typeComponents: time 1.486e-05/0.00238, allocations: 3.938 kB / 0.6398 GB, free: 12.11 MB / 0.6043 GB Notification: Performance of NFTyping.typeBindings: time 4.045e-05/0.002421, allocations: 11.94 kB / 0.6398 GB, free: 12.1 MB / 0.6043 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003214/0.002742, allocations: 207.4 kB / 0.64 GB, free: 11.9 MB / 0.6043 GB Notification: Performance of NFFlatten.flatten: time 0.0001331/0.002875, allocations: 179.6 kB / 0.6402 GB, free: 11.72 MB / 0.6043 GB Notification: Performance of NFFlatten.resolveConnections: time 3.966e-05/0.002915, allocations: 7.984 kB / 0.6402 GB, free: 11.71 MB / 0.6043 GB Notification: Performance of NFEvalConstants.evaluate: time 8.682e-05/0.003002, allocations: 95.92 kB / 0.6403 GB, free: 11.62 MB / 0.6043 GB Notification: Performance of NFSimplifyModel.simplify: time 7.001e-05/0.003072, allocations: 51.84 kB / 0.6403 GB, free: 11.57 MB / 0.6043 GB Notification: Performance of NFPackage.collectConstants: time 1.94e-05/0.003091, allocations: 12 kB / 0.6404 GB, free: 11.56 MB / 0.6043 GB Notification: Performance of NFFlatten.collectFunctions: time 4.747e-05/0.003139, allocations: 31.98 kB / 0.6404 GB, free: 11.53 MB / 0.6043 GB Notification: Performance of NFScalarize.scalarize: time 1.119e-05/0.00315, allocations: 11.94 kB / 0.6404 GB, free: 11.52 MB / 0.6043 GB Notification: Performance of NFVerifyModel.verify: time 3.833e-05/0.003188, allocations: 51.88 kB / 0.6404 GB, free: 11.46 MB / 0.6043 GB Notification: Performance of NFConvertDAE.convert: time 0.0001098/0.003298, allocations: 131.8 kB / 0.6406 GB, free: 11.34 MB / 0.6043 GB Notification: Performance of FrontEnd - DAE generated: time 1.102e-06/0.003299, allocations: 0 / 0.6406 GB, free: 11.34 MB / 0.6043 GB Notification: Performance of FrontEnd: time 4.01e-07/0.003299, allocations: 0 / 0.6406 GB, free: 11.34 MB / 0.6043 GB Notification: Performance of Transformations before backend: time 2.404e-06/0.003302, allocations: 4 kB / 0.6406 GB, free: 11.33 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.0002565/0.003558, allocations: 331.8 kB / 0.6409 GB, free: 10.97 MB / 0.6043 GB Notification: Performance of prepare preOptimizeDAE: time 3.431e-05/0.003593, allocations: 19.91 kB / 0.6409 GB, free: 10.95 MB / 0.6043 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.393e-05/0.003627, allocations: 16.92 kB / 0.6409 GB, free: 10.93 MB / 0.6043 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.555e-05/0.003702, allocations: 109.8 kB / 0.641 GB, free: 10.8 MB / 0.6043 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.209e-05/0.003714, allocations: 8.312 kB / 0.641 GB, free: 10.79 MB / 0.6043 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.642e-05/0.003731, allocations: 8.375 kB / 0.641 GB, free: 10.79 MB / 0.6043 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.869e-05/0.003789, allocations: 46.23 kB / 0.6411 GB, free: 10.73 MB / 0.6043 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.392e-06/0.003796, allocations: 192 / 0.6411 GB, free: 10.73 MB / 0.6043 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.7e-06/0.003801, allocations: 384 / 0.6411 GB, free: 10.73 MB / 0.6043 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.24e-06/0.003807, allocations: 384 / 0.6411 GB, free: 10.73 MB / 0.6043 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.493e-05/0.003822, allocations: 15.88 kB / 0.6411 GB, free: 10.72 MB / 0.6043 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002202/0.004042, allocations: 180.3 kB / 0.6413 GB, free: 10.53 MB / 0.6043 GB Notification: Performance of preOpt comSubExp (simulation): time 4.633e-05/0.004088, allocations: 26.73 kB / 0.6413 GB, free: 10.49 MB / 0.6043 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.409e-05/0.004102, allocations: 12.84 kB / 0.6413 GB, free: 10.48 MB / 0.6043 GB Notification: Performance of preOpt evalFunc (simulation): time 5.209e-06/0.004107, allocations: 0 / 0.6413 GB, free: 10.48 MB / 0.6043 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.471e-05/0.004182, allocations: 79.23 kB / 0.6414 GB, free: 10.39 MB / 0.6043 GB Notification: Performance of pre-optimization done (n=7): time 7.11e-07/0.004183, allocations: 0 / 0.6414 GB, free: 10.39 MB / 0.6043 GB Notification: Performance of matching and sorting (n=7): time 0.0001049/0.004288, allocations: 73.59 kB / 0.6415 GB, free: 10.31 MB / 0.6043 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.753e-05/0.004315, allocations: 59.41 kB / 0.6415 GB, free: 10.24 MB / 0.6043 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.065e-05/0.004376, allocations: 130.5 kB / 0.6416 GB, free: 10.1 MB / 0.6043 GB Notification: Performance of collectPreVariables (initialization): time 1.759e-05/0.004394, allocations: 29.7 kB / 0.6417 GB, free: 10.06 MB / 0.6043 GB Notification: Performance of collectInitialEqns (initialization): time 3.596e-05/0.004429, allocations: 88.12 kB / 0.6418 GB, free: 9.973 MB / 0.6043 GB Notification: Performance of collectInitialBindings (initialization): time 1.204e-05/0.004442, allocations: 19.89 kB / 0.6418 GB, free: 9.953 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.128e-05/0.004493, allocations: 45.61 kB / 0.6418 GB, free: 9.902 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 7.093e-05/0.004564, allocations: 322.8 kB / 0.6421 GB, free: 9.578 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.913e-05/0.004633, allocations: 95.38 kB / 0.6422 GB, free: 9.473 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.257e-05/0.004705, allocations: 123.7 kB / 0.6423 GB, free: 9.324 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.506e-05/0.0048, allocations: 151.6 kB / 0.6425 GB, free: 9.148 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.004802, allocations: 0 / 0.6425 GB, free: 9.148 MB / 0.6043 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001717/0.004974, allocations: 256.3 kB / 0.6427 GB, free: 8.867 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 3.632e-05/0.00501, allocations: 71.3 kB / 0.6428 GB, free: 8.785 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.005015, allocations: 3.938 kB / 0.6428 GB, free: 8.781 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.271e-05/0.005028, allocations: 4 kB / 0.6428 GB, free: 8.777 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.511e-05/0.005043, allocations: 7.938 kB / 0.6428 GB, free: 8.77 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.036e-06/0.005046, allocations: 0 / 0.6428 GB, free: 8.77 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001355/0.005181, allocations: 48.03 kB / 0.6429 GB, free: 8.723 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.773e-05/0.005199, allocations: 11.98 kB / 0.6429 GB, free: 8.711 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.323e-05/0.005262, allocations: 117.8 kB / 0.643 GB, free: 8.586 MB / 0.6043 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.925e-06/0.00527, allocations: 4 kB / 0.643 GB, free: 8.582 MB / 0.6043 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.223e-05/0.005292, allocations: 12.38 kB / 0.643 GB, free: 8.566 MB / 0.6043 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.394e-06/0.005295, allocations: 11.92 kB / 0.643 GB, free: 8.555 MB / 0.6043 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.044e-06/0.005297, allocations: 0 / 0.643 GB, free: 8.555 MB / 0.6043 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.0053, allocations: 0 / 0.643 GB, free: 8.555 MB / 0.6043 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.826e-05/0.005358, allocations: 81.81 kB / 0.6431 GB, free: 8.457 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.01e-07/0.005359, allocations: 0 / 0.6431 GB, free: 8.457 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.43e-06/0.005364, allocations: 4 kB / 0.6431 GB, free: 8.453 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.005366, allocations: 3.984 kB / 0.6431 GB, free: 8.449 MB / 0.6043 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.047e-06/0.00537, allocations: 0 / 0.6431 GB, free: 8.449 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.01e-07/0.005371, allocations: 3.938 kB / 0.6431 GB, free: 8.445 MB / 0.6043 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.005372, allocations: 3.938 kB / 0.6431 GB, free: 8.441 MB / 0.6043 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.313e-05/0.005435, allocations: 81.09 kB / 0.6432 GB, free: 8.344 MB / 0.6043 GB Notification: Performance of postOpt removeConstants (simulation): time 7.464e-06/0.005443, allocations: 11.95 kB / 0.6432 GB, free: 8.332 MB / 0.6043 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.915e-06/0.00545, allocations: 0 / 0.6432 GB, free: 8.332 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.069e-05/0.005461, allocations: 3.984 kB / 0.6432 GB, free: 8.328 MB / 0.6043 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.614e-05/0.005487, allocations: 11.94 kB / 0.6432 GB, free: 8.316 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.198e-06/0.005492, allocations: 3.984 kB / 0.6432 GB, free: 8.312 MB / 0.6043 GB Notification: Performance of sorting global known variables: time 1.376e-05/0.005505, allocations: 16.86 kB / 0.6432 GB, free: 8.293 MB / 0.6043 GB Notification: Performance of sort global known variables: time 5e-08/0.005505, allocations: 0 / 0.6432 GB, free: 8.293 MB / 0.6043 GB Notification: Performance of remove unused functions: time 0.0001229/0.005628, allocations: 28 kB / 0.6432 GB, free: 8.266 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.972e-05/0.005718, allocations: 88.33 kB / 0.6433 GB, free: 8.172 MB / 0.6043 GB Notification: Performance of simCode: created initialization part: time 0.0001877/0.005906, allocations: 255 kB / 0.6436 GB, free: 7.883 MB / 0.6043 GB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.005909, allocations: 4.25 kB / 0.6436 GB, free: 7.879 MB / 0.6043 GB Notification: Performance of simCode: created simulation system equations: time 2.218e-05/0.005931, allocations: 20.86 kB / 0.6436 GB, free: 7.855 MB / 0.6043 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001057/0.006037, allocations: 20.11 kB / 0.6436 GB, free: 7.836 MB / 0.6043 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002133/0.00625, allocations: 145.2 kB / 0.6438 GB, free: 7.664 MB / 0.6043 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.741e-05/0.006277, allocations: 59.34 kB / 0.6438 GB, free: 7.586 MB / 0.6043 GB Notification: Performance of simCode: alias equations: time 1.685e-05/0.006294, allocations: 4 kB / 0.6438 GB, free: 7.582 MB / 0.6043 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.176e-05/0.006386, allocations: 75.34 kB / 0.6439 GB, free: 7.508 MB / 0.6043 GB Notification: Performance of SimCode: time 5.92e-07/0.006386, allocations: 4 kB / 0.6439 GB, free: 7.504 MB / 0.6043 GB Notification: Performance of Templates: time 0.003271/0.009657, allocations: 2.229 MB / 0.6461 GB, free: 5.273 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Nand.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.356519015971571]