Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Xor.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.04438/0.04438, allocations: 9.123 MB / 28.98 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.0009645/0.0009645, allocations: 95.2 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.001078/0.001078, allocations: 162.2 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.9449/0.9449, 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.004197/0.004197, allocations: 0.8258 MB / 276.5 MB, free: 0.75 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.712/1.712, allocations: 274.9 MB / 0.5419 GB, free: 0.6367 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.Xor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Xor") translateModel(AixLib.Controls.OBC.CDL.Logical.Validation.Xor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Xor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.405e-06/2.405e-06, allocations: 0 / 0.6379 GB, free: 14.09 MB / 0.6043 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.315e-05/2.556e-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.Xor): time 0.001405/0.00143, allocations: 0.7079 MB / 0.6386 GB, free: 13.38 MB / 0.6043 GB Notification: Performance of NFInst.instExpressions: time 0.001136/0.002566, allocations: 1.256 MB / 0.6398 GB, free: 12.11 MB / 0.6043 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.454e-05/0.002601, allocations: 0 / 0.6398 GB, free: 12.11 MB / 0.6043 GB Notification: Performance of NFTyping.typeComponents: time 2.506e-05/0.002626, allocations: 3.938 kB / 0.6398 GB, free: 12.11 MB / 0.6043 GB Notification: Performance of NFTyping.typeBindings: time 6.635e-05/0.002692, allocations: 19.91 kB / 0.6398 GB, free: 12.09 MB / 0.6043 GB Notification: Performance of NFTyping.typeClassSections: time 0.00039/0.003082, allocations: 207.4 kB / 0.64 GB, free: 11.89 MB / 0.6043 GB Notification: Performance of NFFlatten.flatten: time 0.0001545/0.003236, allocations: 175.7 kB / 0.6402 GB, free: 11.71 MB / 0.6043 GB Notification: Performance of NFFlatten.resolveConnections: time 6.54e-05/0.003302, allocations: 7.984 kB / 0.6402 GB, free: 11.71 MB / 0.6043 GB Notification: Performance of NFEvalConstants.evaluate: time 9.963e-05/0.003402, allocations: 95.86 kB / 0.6403 GB, free: 11.61 MB / 0.6043 GB Notification: Performance of NFSimplifyModel.simplify: time 9.532e-05/0.003497, allocations: 51.91 kB / 0.6404 GB, free: 11.56 MB / 0.6043 GB Notification: Performance of NFPackage.collectConstants: time 2.65e-05/0.003523, allocations: 16 kB / 0.6404 GB, free: 11.55 MB / 0.6043 GB Notification: Performance of NFFlatten.collectFunctions: time 6.676e-05/0.00359, allocations: 24 kB / 0.6404 GB, free: 11.52 MB / 0.6043 GB Notification: Performance of NFScalarize.scalarize: time 1.86e-05/0.003609, allocations: 15.91 kB / 0.6404 GB, free: 11.51 MB / 0.6043 GB Notification: Performance of NFVerifyModel.verify: time 4.707e-05/0.003656, allocations: 51.95 kB / 0.6405 GB, free: 11.46 MB / 0.6043 GB Notification: Performance of NFConvertDAE.convert: time 0.000162/0.003818, allocations: 135.6 kB / 0.6406 GB, free: 11.32 MB / 0.6043 GB Notification: Performance of FrontEnd - DAE generated: time 2.946e-06/0.003821, allocations: 0 / 0.6406 GB, free: 11.32 MB / 0.6043 GB Notification: Performance of FrontEnd: time 9.72e-07/0.003822, allocations: 8 kB / 0.6406 GB, free: 11.32 MB / 0.6043 GB Notification: Performance of Transformations before backend: time 4.128e-06/0.003826, allocations: 0 / 0.6406 GB, free: 11.32 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.0003208/0.004147, allocations: 331.8 kB / 0.6409 GB, free: 10.95 MB / 0.6043 GB Notification: Performance of prepare preOptimizeDAE: time 3.076e-05/0.004177, allocations: 11.98 kB / 0.6409 GB, free: 10.94 MB / 0.6043 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.368e-05/0.004211, allocations: 12.92 kB / 0.6409 GB, free: 10.93 MB / 0.6043 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.954e-05/0.004281, allocations: 117.7 kB / 0.641 GB, free: 10.79 MB / 0.6043 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.156e-05/0.004292, allocations: 8.375 kB / 0.6411 GB, free: 10.78 MB / 0.6043 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.772e-05/0.00431, allocations: 8.375 kB / 0.6411 GB, free: 10.77 MB / 0.6043 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.828e-05/0.004368, allocations: 46.23 kB / 0.6411 GB, free: 10.72 MB / 0.6043 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.352e-06/0.004374, allocations: 192 / 0.6411 GB, free: 10.72 MB / 0.6043 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.53e-06/0.00438, allocations: 384 / 0.6411 GB, free: 10.72 MB / 0.6043 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.16e-06/0.004385, allocations: 4.375 kB / 0.6411 GB, free: 10.72 MB / 0.6043 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.66e-05/0.004402, allocations: 11.92 kB / 0.6411 GB, free: 10.71 MB / 0.6043 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002228/0.004625, allocations: 184.2 kB / 0.6413 GB, free: 10.51 MB / 0.6043 GB Notification: Performance of preOpt comSubExp (simulation): time 5.589e-05/0.00468, allocations: 26.56 kB / 0.6413 GB, free: 10.48 MB / 0.6043 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.291e-05/0.004693, allocations: 8.859 kB / 0.6413 GB, free: 10.46 MB / 0.6043 GB Notification: Performance of preOpt evalFunc (simulation): time 6.222e-06/0.0047, allocations: 4 kB / 0.6413 GB, free: 10.46 MB / 0.6043 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.256e-05/0.004782, allocations: 87.38 kB / 0.6414 GB, free: 10.36 MB / 0.6043 GB Notification: Performance of pre-optimization done (n=7): time 1.062e-06/0.004783, allocations: 0 / 0.6414 GB, free: 10.36 MB / 0.6043 GB Notification: Performance of matching and sorting (n=7): time 0.0001071/0.00489, allocations: 69.61 kB / 0.6415 GB, free: 10.29 MB / 0.6043 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.723e-05/0.004918, allocations: 63.39 kB / 0.6415 GB, free: 10.21 MB / 0.6043 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.505e-05/0.004973, allocations: 126.6 kB / 0.6417 GB, free: 10.08 MB / 0.6043 GB Notification: Performance of collectPreVariables (initialization): time 1.802e-05/0.004991, allocations: 33.64 kB / 0.6417 GB, free: 10.04 MB / 0.6043 GB Notification: Performance of collectInitialEqns (initialization): time 2.951e-05/0.00502, allocations: 88.12 kB / 0.6418 GB, free: 9.949 MB / 0.6043 GB Notification: Performance of collectInitialBindings (initialization): time 1.296e-05/0.005033, allocations: 19.89 kB / 0.6418 GB, free: 9.93 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.065e-05/0.005084, allocations: 41.67 kB / 0.6418 GB, free: 9.883 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 6.015e-05/0.005144, allocations: 318.8 kB / 0.6421 GB, free: 9.562 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.784e-05/0.005212, allocations: 99.31 kB / 0.6422 GB, free: 9.453 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.335e-05/0.005285, allocations: 139.6 kB / 0.6424 GB, free: 9.289 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.454e-05/0.00537, allocations: 139.6 kB / 0.6425 GB, free: 9.125 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.005372, allocations: 0 / 0.6425 GB, free: 9.125 MB / 0.6043 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001652/0.005537, allocations: 252.3 kB / 0.6427 GB, free: 8.848 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 3.715e-05/0.005574, allocations: 67.39 kB / 0.6428 GB, free: 8.77 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.051e-06/0.00558, allocations: 7.938 kB / 0.6428 GB, free: 8.762 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.09e-05/0.005591, allocations: 0 / 0.6428 GB, free: 8.762 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.641e-05/0.005608, allocations: 7.984 kB / 0.6428 GB, free: 8.754 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.038e-06/0.005612, allocations: 4.062 kB / 0.6428 GB, free: 8.75 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001284/0.00574, allocations: 43.92 kB / 0.6429 GB, free: 8.707 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.839e-05/0.005758, allocations: 11.98 kB / 0.6429 GB, free: 8.695 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,xor1.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 5.779e-05/0.005816, allocations: 117.8 kB / 0.643 GB, free: 8.57 MB / 0.6043 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.997e-06/0.005825, allocations: 11.98 kB / 0.643 GB, free: 8.559 MB / 0.6043 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.985e-05/0.005845, allocations: 12.38 kB / 0.643 GB, free: 8.543 MB / 0.6043 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.005847, allocations: 0 / 0.643 GB, free: 8.543 MB / 0.6043 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.172e-06/0.005848, allocations: 0 / 0.643 GB, free: 8.543 MB / 0.6043 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.005852, allocations: 7.984 kB / 0.643 GB, free: 8.535 MB / 0.6043 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.364e-05/0.005906, allocations: 81.88 kB / 0.6431 GB, free: 8.438 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.31e-07/0.005906, allocations: 0 / 0.6431 GB, free: 8.438 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.35e-06/0.005911, allocations: 0 / 0.6431 GB, free: 8.438 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.472e-06/0.005913, allocations: 0 / 0.6431 GB, free: 8.438 MB / 0.6043 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.689e-06/0.005918, allocations: 4 kB / 0.6431 GB, free: 8.434 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.005919, allocations: 3.984 kB / 0.6431 GB, free: 8.43 MB / 0.6043 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.946e-06/0.005922, allocations: 7.875 kB / 0.6431 GB, free: 8.422 MB / 0.6043 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.776e-05/0.00598, allocations: 81.09 kB / 0.6432 GB, free: 8.324 MB / 0.6043 GB Notification: Performance of postOpt removeConstants (simulation): time 5.761e-06/0.005985, allocations: 3.953 kB / 0.6432 GB, free: 8.32 MB / 0.6043 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.009e-05/0.005996, allocations: 8 kB / 0.6432 GB, free: 8.312 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.738e-06/0.006005, allocations: 4 kB / 0.6432 GB, free: 8.309 MB / 0.6043 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.844e-05/0.006034, allocations: 11.92 kB / 0.6432 GB, free: 8.297 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.096e-06/0.006037, allocations: 0 / 0.6432 GB, free: 8.297 MB / 0.6043 GB Notification: Performance of sorting global known variables: time 1.334e-05/0.00605, allocations: 24.77 kB / 0.6432 GB, free: 8.27 MB / 0.6043 GB Notification: Performance of sort global known variables: time 6e-08/0.00605, allocations: 0 / 0.6432 GB, free: 8.27 MB / 0.6043 GB Notification: Performance of remove unused functions: time 0.0001221/0.006172, allocations: 32 kB / 0.6433 GB, free: 8.238 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,xor1.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.857e-05/0.006261, allocations: 84.34 kB / 0.6434 GB, free: 8.148 MB / 0.6043 GB Notification: Performance of simCode: created initialization part: time 0.0001604/0.006421, allocations: 251 kB / 0.6436 GB, free: 7.863 MB / 0.6043 GB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.006424, allocations: 8.25 kB / 0.6436 GB, free: 7.855 MB / 0.6043 GB Notification: Performance of simCode: created simulation system equations: time 2.145e-05/0.006446, allocations: 24.83 kB / 0.6436 GB, free: 7.828 MB / 0.6043 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.845e-05/0.006544, allocations: 20.17 kB / 0.6437 GB, free: 7.809 MB / 0.6043 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001911/0.006735, allocations: 141.2 kB / 0.6438 GB, free: 7.641 MB / 0.6043 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.294e-05/0.006758, allocations: 59.34 kB / 0.6438 GB, free: 7.562 MB / 0.6043 GB Notification: Performance of simCode: alias equations: time 1.6e-05/0.006774, allocations: 4 kB / 0.6438 GB, free: 7.559 MB / 0.6043 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.781e-05/0.006862, allocations: 83.28 kB / 0.6439 GB, free: 7.477 MB / 0.6043 GB Notification: Performance of SimCode: time 4.31e-07/0.006862, allocations: 4 kB / 0.6439 GB, free: 7.473 MB / 0.6043 GB Notification: Performance of Templates: time 0.002958/0.009821, allocations: 2.24 MB / 0.6461 GB, free: 5.23 MB / 0.6043 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Xor.makefile [Timeout 660] (rm -f AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Xor.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Xor.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Xor.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Xor.sim & ./AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Xor -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Xor.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.502231644932181]