Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.And.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.04292/0.04292, allocations: 9.126 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.0009506/0.0009506, allocations: 87.28 kB / 35.32 MB, free: 1.07 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.001038/0.001038, allocations: 164 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.9911/0.9911, allocations: 177.1 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.003968/0.003968, allocations: 0.8234 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.72/1.72, allocations: 274.9 MB / 0.5419 GB, free: 0.625 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.And,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.And") translateModel(AixLib.Controls.OBC.CDL.Logical.Validation.And,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.And") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.763e-06/1.763e-06, allocations: 0 / 0.6379 GB, free: 14.09 MB / 0.6043 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.499e-05/1.675e-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.And): time 0.001313/0.00133, allocations: 0.7003 MB / 0.6386 GB, free: 13.39 MB / 0.6043 GB Notification: Performance of NFInst.instExpressions: time 0.001237/0.002567, allocations: 1.256 MB / 0.6398 GB, free: 12.12 MB / 0.6043 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.026e-05/0.002607, allocations: 4 kB / 0.6398 GB, free: 12.11 MB / 0.6043 GB Notification: Performance of NFTyping.typeComponents: time 2.776e-05/0.002635, allocations: 7.922 kB / 0.6398 GB, free: 12.11 MB / 0.6043 GB Notification: Performance of NFTyping.typeBindings: time 7.101e-05/0.002706, allocations: 7.875 kB / 0.6398 GB, free: 12.1 MB / 0.6043 GB Notification: Performance of NFTyping.typeClassSections: time 0.000455/0.003161, allocations: 207.5 kB / 0.64 GB, free: 11.89 MB / 0.6043 GB Notification: Performance of NFFlatten.flatten: time 0.0001776/0.003339, allocations: 179.6 kB / 0.6402 GB, free: 11.72 MB / 0.6043 GB Notification: Performance of NFFlatten.resolveConnections: time 7.031e-05/0.003409, allocations: 8 kB / 0.6402 GB, free: 11.71 MB / 0.6043 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000118/0.003527, allocations: 95.84 kB / 0.6403 GB, free: 11.62 MB / 0.6043 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001001/0.003627, allocations: 55.84 kB / 0.6403 GB, free: 11.56 MB / 0.6043 GB Notification: Performance of NFPackage.collectConstants: time 2.761e-05/0.003655, allocations: 16 kB / 0.6404 GB, free: 11.55 MB / 0.6043 GB Notification: Performance of NFFlatten.collectFunctions: time 7.779e-05/0.003733, allocations: 20 kB / 0.6404 GB, free: 11.53 MB / 0.6043 GB Notification: Performance of NFScalarize.scalarize: time 1.79e-05/0.003751, allocations: 11.98 kB / 0.6404 GB, free: 11.52 MB / 0.6043 GB Notification: Performance of NFVerifyModel.verify: time 5.574e-05/0.003806, allocations: 55.89 kB / 0.6404 GB, free: 11.46 MB / 0.6043 GB Notification: Performance of NFConvertDAE.convert: time 0.0001517/0.003958, allocations: 135.7 kB / 0.6406 GB, free: 11.33 MB / 0.6043 GB Notification: Performance of FrontEnd - DAE generated: time 1.964e-06/0.00396, allocations: 0 / 0.6406 GB, free: 11.33 MB / 0.6043 GB Notification: Performance of FrontEnd: time 8.01e-07/0.003961, allocations: 0 / 0.6406 GB, free: 11.33 MB / 0.6043 GB Notification: Performance of Transformations before backend: time 3.357e-06/0.003964, allocations: 0 / 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.0003369/0.004301, allocations: 331.8 kB / 0.6409 GB, free: 10.96 MB / 0.6043 GB Notification: Performance of prepare preOptimizeDAE: time 3.153e-05/0.004332, allocations: 15.98 kB / 0.6409 GB, free: 10.95 MB / 0.6043 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.696e-05/0.004369, allocations: 12.92 kB / 0.6409 GB, free: 10.94 MB / 0.6043 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.51e-05/0.004455, allocations: 113.7 kB / 0.641 GB, free: 10.8 MB / 0.6043 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.371e-05/0.004468, allocations: 8.359 kB / 0.641 GB, free: 10.79 MB / 0.6043 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.957e-05/0.004488, allocations: 12.38 kB / 0.641 GB, free: 10.78 MB / 0.6043 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.549e-05/0.004553, allocations: 42.25 kB / 0.6411 GB, free: 10.73 MB / 0.6043 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.134e-06/0.00456, allocations: 192 / 0.6411 GB, free: 10.73 MB / 0.6043 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.342e-06/0.004567, allocations: 4.359 kB / 0.6411 GB, free: 10.73 MB / 0.6043 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.12e-06/0.004572, allocations: 384 / 0.6411 GB, free: 10.73 MB / 0.6043 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.691e-05/0.004589, allocations: 19.86 kB / 0.6411 GB, free: 10.71 MB / 0.6043 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00024/0.004829, allocations: 180.3 kB / 0.6413 GB, free: 10.52 MB / 0.6043 GB Notification: Performance of preOpt comSubExp (simulation): time 4.715e-05/0.004876, allocations: 22.58 kB / 0.6413 GB, free: 10.49 MB / 0.6043 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.287e-05/0.004889, allocations: 8.859 kB / 0.6413 GB, free: 10.48 MB / 0.6043 GB Notification: Performance of preOpt evalFunc (simulation): time 5.1e-06/0.004894, allocations: 0 / 0.6413 GB, free: 10.48 MB / 0.6043 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.869e-05/0.004983, allocations: 95.31 kB / 0.6414 GB, free: 10.37 MB / 0.6043 GB Notification: Performance of pre-optimization done (n=7): time 7.72e-07/0.004983, allocations: 0 / 0.6414 GB, free: 10.37 MB / 0.6043 GB Notification: Performance of matching and sorting (n=7): time 0.0001467/0.00513, allocations: 69.61 kB / 0.6415 GB, free: 10.3 MB / 0.6043 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.686e-05/0.005167, allocations: 59.33 kB / 0.6415 GB, free: 10.23 MB / 0.6043 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.771e-05/0.005255, allocations: 126.5 kB / 0.6416 GB, free: 10.09 MB / 0.6043 GB Notification: Performance of collectPreVariables (initialization): time 2.956e-05/0.005284, allocations: 33.7 kB / 0.6417 GB, free: 10.05 MB / 0.6043 GB Notification: Performance of collectInitialEqns (initialization): time 4.992e-05/0.005334, allocations: 88.14 kB / 0.6418 GB, free: 9.961 MB / 0.6043 GB Notification: Performance of collectInitialBindings (initialization): time 1.878e-05/0.005353, allocations: 15.88 kB / 0.6418 GB, free: 9.945 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001029/0.005456, allocations: 49.67 kB / 0.6418 GB, free: 9.891 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 0.0001052/0.005561, allocations: 314.8 kB / 0.6421 GB, free: 9.574 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.226e-05/0.005653, allocations: 91.38 kB / 0.6422 GB, free: 9.473 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.561e-05/0.005739, allocations: 135.7 kB / 0.6423 GB, free: 9.312 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001002/0.005839, allocations: 139.6 kB / 0.6425 GB, free: 9.148 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.005841, allocations: 0 / 0.6425 GB, free: 9.148 MB / 0.6043 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001922/0.006033, allocations: 256.4 kB / 0.6427 GB, free: 8.867 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 4.124e-05/0.006074, allocations: 71.3 kB / 0.6428 GB, free: 8.785 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.057e-06/0.006083, allocations: 12.05 kB / 0.6428 GB, free: 8.773 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.356e-05/0.006097, allocations: 4 kB / 0.6428 GB, free: 8.77 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.092e-05/0.006118, allocations: 11.94 kB / 0.6428 GB, free: 8.758 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.856e-06/0.006121, allocations: 0 / 0.6428 GB, free: 8.758 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001485/0.006269, allocations: 39.92 kB / 0.6428 GB, free: 8.719 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.846e-05/0.006288, allocations: 7.984 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,and1.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 7.741e-05/0.006365, allocations: 117.8 kB / 0.643 GB, free: 8.586 MB / 0.6043 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.038e-05/0.006376, allocations: 7.984 kB / 0.643 GB, free: 8.578 MB / 0.6043 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.329e-05/0.006399, allocations: 24.31 kB / 0.643 GB, free: 8.551 MB / 0.6043 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-06/0.006401, allocations: 0 / 0.643 GB, free: 8.551 MB / 0.6043 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.402e-06/0.006402, allocations: 0 / 0.643 GB, free: 8.551 MB / 0.6043 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.006406, allocations: 0 / 0.643 GB, free: 8.551 MB / 0.6043 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.278e-05/0.006479, allocations: 81.81 kB / 0.6431 GB, free: 8.453 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.00648, allocations: 0 / 0.6431 GB, free: 8.453 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.709e-06/0.006484, allocations: 3.938 kB / 0.6431 GB, free: 8.449 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.006486, allocations: 0 / 0.6431 GB, free: 8.449 MB / 0.6043 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.245e-05/0.006499, allocations: 7.984 kB / 0.6431 GB, free: 8.441 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.21e-07/0.006499, allocations: 0 / 0.6431 GB, free: 8.441 MB / 0.6043 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-06/0.006501, allocations: 3.938 kB / 0.6431 GB, free: 8.438 MB / 0.6043 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.9e-05/0.00658, allocations: 89.09 kB / 0.6432 GB, free: 8.332 MB / 0.6043 GB Notification: Performance of postOpt removeConstants (simulation): time 9.218e-06/0.006589, allocations: 3.953 kB / 0.6432 GB, free: 8.328 MB / 0.6043 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.236e-05/0.006601, allocations: 4 kB / 0.6432 GB, free: 8.324 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.524e-05/0.006617, allocations: 0 / 0.6432 GB, free: 8.324 MB / 0.6043 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.262e-05/0.006649, allocations: 11.92 kB / 0.6432 GB, free: 8.312 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.151e-06/0.006656, allocations: 4 kB / 0.6432 GB, free: 8.309 MB / 0.6043 GB Notification: Performance of sorting global known variables: time 1.82e-05/0.006674, allocations: 16.78 kB / 0.6432 GB, free: 8.289 MB / 0.6043 GB Notification: Performance of sort global known variables: time 8e-08/0.006674, allocations: 4 kB / 0.6432 GB, free: 8.285 MB / 0.6043 GB Notification: Performance of remove unused functions: time 0.0001496/0.006823, allocations: 24 kB / 0.6432 GB, free: 8.262 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,and1.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 0.0001065/0.00693, allocations: 92.47 kB / 0.6433 GB, free: 8.164 MB / 0.6043 GB Notification: Performance of simCode: created initialization part: time 0.0002115/0.007141, allocations: 259 kB / 0.6436 GB, free: 7.871 MB / 0.6043 GB Notification: Performance of simCode: created event and clocks part: time 3.957e-06/0.007145, allocations: 0 / 0.6436 GB, free: 7.871 MB / 0.6043 GB Notification: Performance of simCode: created simulation system equations: time 2.587e-05/0.007171, allocations: 20.84 kB / 0.6436 GB, free: 7.848 MB / 0.6043 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001311/0.007302, allocations: 15.98 kB / 0.6436 GB, free: 7.832 MB / 0.6043 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002455/0.007548, allocations: 149.2 kB / 0.6438 GB, free: 7.656 MB / 0.6043 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.401e-05/0.007592, allocations: 63.59 kB / 0.6438 GB, free: 7.574 MB / 0.6043 GB Notification: Performance of simCode: alias equations: time 2.54e-05/0.007617, allocations: 8 kB / 0.6438 GB, free: 7.566 MB / 0.6043 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001382/0.007755, allocations: 79.34 kB / 0.6439 GB, free: 7.488 MB / 0.6043 GB Notification: Performance of SimCode: time 7.31e-07/0.007756, allocations: 0 / 0.6439 GB, free: 7.488 MB / 0.6043 GB Notification: Performance of Templates: time 0.003595/0.01135, allocations: 2.213 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.And.makefile [Timeout 660] (rm -f AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.And.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.And.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.And.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.And.sim & ./AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.And -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.And.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.492015731986612]