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/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.001001/0.001001, allocations: 79.69 kB / 20.03 MB, free: 4.488 MB / 18.57 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.000804/0.000804, allocations: 165.3 kB / 23.33 MB, free: 1.188 MB / 18.57 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.8565/0.8565, allocations: 177.1 MB / 203.6 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] 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.03709/0.03709, allocations: 9.13 MB / 269.2 MB, free: 4.445 MB / 250.7 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/SDF master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo): time 0.0003762/0.0003762, allocations: 19.97 kB / 328.7 MB, free: 5.801 MB / 298.7 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/AixLib 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.0/package.mo): time 1.495/1.495, allocations: 274.9 MB / 0.6476 GB, free: 2.852 MB / 0.4949 GB [/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 178] Using package AixLib with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.0/package.mo) Using package SDF with version 0.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/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) 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) 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 1.724e-06/1.724e-06, allocations: 3.938 kB / 0.9295 GB, free: 20.89 MB / 0.7293 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.83e-05/2.002e-05, allocations: 2.281 kB / 0.9295 GB, free: 20.89 MB / 0.7293 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Logical.Validation.Xor): time 0.001066/0.001086, allocations: 0.6262 MB / 0.9301 GB, free: 20.51 MB / 0.7293 GB Notification: Performance of NFInst.instExpressions: time 0.0009986/0.002084, allocations: 1.23 MB / 0.9313 GB, free: 19.62 MB / 0.7293 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.337e-05/0.002128, allocations: 0 / 0.9313 GB, free: 19.62 MB / 0.7293 GB Notification: Performance of NFTyping.typeComponents: time 2.395e-05/0.002152, allocations: 7.938 kB / 0.9313 GB, free: 19.61 MB / 0.7293 GB Notification: Performance of NFTyping.typeBindings: time 7.044e-05/0.002222, allocations: 12.11 kB / 0.9313 GB, free: 19.61 MB / 0.7293 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004653/0.002687, allocations: 221.3 kB / 0.9315 GB, free: 19.5 MB / 0.7293 GB Notification: Performance of NFFlatten.flatten: time 0.0001865/0.002874, allocations: 178.6 kB / 0.9317 GB, free: 19.42 MB / 0.7293 GB Notification: Performance of NFFlatten.resolveConnections: time 8.596e-05/0.00296, allocations: 5.391 kB / 0.9317 GB, free: 19.42 MB / 0.7293 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001071/0.003067, allocations: 94.2 kB / 0.9318 GB, free: 19.38 MB / 0.7293 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001109/0.003178, allocations: 58.22 kB / 0.9318 GB, free: 19.36 MB / 0.7293 GB Notification: Performance of NFPackage.collectConstants: time 2.951e-05/0.003207, allocations: 15.16 kB / 0.9319 GB, free: 19.36 MB / 0.7293 GB Notification: Performance of NFFlatten.collectFunctions: time 6.314e-05/0.00327, allocations: 27.16 kB / 0.9319 GB, free: 19.36 MB / 0.7293 GB Notification: Performance of NFScalarize.scalarize: time 2.158e-05/0.003292, allocations: 9.781 kB / 0.9319 GB, free: 19.35 MB / 0.7293 GB Notification: Performance of NFVerifyModel.verify: time 6.219e-05/0.003354, allocations: 56.2 kB / 0.9319 GB, free: 19.32 MB / 0.7293 GB Notification: Performance of NFConvertDAE.convert: time 0.0002114/0.003566, allocations: 179 kB / 0.9321 GB, free: 19.26 MB / 0.7293 GB Notification: Performance of FrontEnd - DAE generated: time 2.585e-06/0.003568, allocations: 1.891 kB / 0.9321 GB, free: 19.26 MB / 0.7293 GB Notification: Performance of FrontEnd: time 8.51e-07/0.003569, allocations: 0 / 0.9321 GB, free: 19.26 MB / 0.7293 GB Notification: Performance of Transformations before backend: time 4.849e-06/0.003574, allocations: 3.938 kB / 0.9321 GB, free: 19.26 MB / 0.7293 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.0003574/0.003931, allocations: 362 kB / 0.9325 GB, free: 18.91 MB / 0.7293 GB Notification: Performance of prepare preOptimizeDAE: time 3.444e-05/0.003966, allocations: 16.52 kB / 0.9325 GB, free: 18.9 MB / 0.7293 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.438e-05/0.00401, allocations: 13.09 kB / 0.9325 GB, free: 18.89 MB / 0.7293 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.455e-05/0.004065, allocations: 118.2 kB / 0.9326 GB, free: 18.76 MB / 0.7293 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.161e-05/0.004076, allocations: 6.234 kB / 0.9326 GB, free: 18.76 MB / 0.7293 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.278e-05/0.004099, allocations: 9.359 kB / 0.9326 GB, free: 18.76 MB / 0.7293 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.587e-05/0.004185, allocations: 53.91 kB / 0.9327 GB, free: 18.71 MB / 0.7293 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.383e-06/0.004192, allocations: 1.688 kB / 0.9327 GB, free: 18.71 MB / 0.7293 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.957e-06/0.004201, allocations: 1.031 kB / 0.9327 GB, free: 18.71 MB / 0.7293 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.098e-06/0.004205, allocations: 384 / 0.9327 GB, free: 18.71 MB / 0.7293 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.54e-05/0.004241, allocations: 23.78 kB / 0.9327 GB, free: 18.7 MB / 0.7293 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002994/0.00454, allocations: 271.3 kB / 0.933 GB, free: 18.47 MB / 0.7293 GB Notification: Performance of preOpt comSubExp (simulation): time 5.604e-05/0.004596, allocations: 37.92 kB / 0.933 GB, free: 18.44 MB / 0.7293 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.072e-05/0.004617, allocations: 17.11 kB / 0.933 GB, free: 18.43 MB / 0.7293 GB Notification: Performance of preOpt evalFunc (simulation): time 9.117e-06/0.004626, allocations: 0 / 0.933 GB, free: 18.43 MB / 0.7293 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001047/0.004731, allocations: 91.3 kB / 0.9331 GB, free: 18.36 MB / 0.7293 GB Notification: Performance of pre-optimization done (n=7): time 8.12e-07/0.004731, allocations: 0 / 0.9331 GB, free: 18.36 MB / 0.7293 GB Notification: Performance of matching and sorting (n=7): time 0.000221/0.004952, allocations: 106.3 kB / 0.9332 GB, free: 18.3 MB / 0.7293 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.627e-05/0.004969, allocations: 52.62 kB / 0.9332 GB, free: 18.24 MB / 0.7293 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.672e-05/0.005025, allocations: 117.5 kB / 0.9334 GB, free: 18.14 MB / 0.7293 GB Notification: Performance of collectPreVariables (initialization): time 1.99e-05/0.005045, allocations: 33.23 kB / 0.9334 GB, free: 18.1 MB / 0.7293 GB Notification: Performance of collectInitialEqns (initialization): time 3.28e-05/0.005078, allocations: 90.81 kB / 0.9335 GB, free: 18.02 MB / 0.7293 GB Notification: Performance of collectInitialBindings (initialization): time 1.111e-05/0.005089, allocations: 20.12 kB / 0.9335 GB, free: 18 MB / 0.7293 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.225e-05/0.005151, allocations: 48.56 kB / 0.9335 GB, free: 17.98 MB / 0.7293 GB Notification: Performance of setup shared object (initialization): time 2.664e-05/0.005178, allocations: 319.2 kB / 0.9338 GB, free: 17.66 MB / 0.7293 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000106/0.005284, allocations: 125.1 kB / 0.934 GB, free: 17.57 MB / 0.7293 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001098/0.005394, allocations: 150.5 kB / 0.9341 GB, free: 17.45 MB / 0.7293 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001103/0.005504, allocations: 163.5 kB / 0.9343 GB, free: 17.3 MB / 0.7293 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/0.005507, allocations: 1.312 kB / 0.9343 GB, free: 17.3 MB / 0.7293 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002752/0.005782, allocations: 333.7 kB / 0.9346 GB, free: 17.08 MB / 0.7293 GB Notification: Performance of prepare postOptimizeDAE: time 2.86e-05/0.00581, allocations: 68.34 kB / 0.9346 GB, free: 17.01 MB / 0.7293 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.005815, allocations: 0 / 0.9346 GB, free: 17.01 MB / 0.7293 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.19e-05/0.005827, allocations: 3.547 kB / 0.9347 GB, free: 17.01 MB / 0.7293 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.612e-05/0.005843, allocations: 2.312 kB / 0.9347 GB, free: 17.01 MB / 0.7293 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.325e-06/0.005851, allocations: 9.438 kB / 0.9347 GB, free: 17 MB / 0.7293 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001997/0.006051, allocations: 64.3 kB / 0.9347 GB, free: 16.99 MB / 0.7293 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.22e-05/0.006073, allocations: 11.88 kB / 0.9347 GB, free: 16.99 MB / 0.7293 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 4.987e-05/0.006123, allocations: 122.3 kB / 0.9349 GB, free: 16.87 MB / 0.7293 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.905e-06/0.006131, allocations: 8.062 kB / 0.9349 GB, free: 16.87 MB / 0.7293 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.106e-05/0.006152, allocations: 14.88 kB / 0.9349 GB, free: 16.85 MB / 0.7293 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.006156, allocations: 0.6094 kB / 0.9349 GB, free: 16.85 MB / 0.7293 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.11e-07/0.006156, allocations: 0 / 0.9349 GB, free: 16.85 MB / 0.7293 GB Notification: Performance of postOpt removeConstants (simulation): time 7.143e-06/0.006163, allocations: 6.844 kB / 0.9349 GB, free: 16.85 MB / 0.7293 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.092e-05/0.006174, allocations: 2 kB / 0.9349 GB, free: 16.85 MB / 0.7293 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.086e-05/0.006185, allocations: 1.984 kB / 0.9349 GB, free: 16.85 MB / 0.7293 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.038e-05/0.006225, allocations: 15.06 kB / 0.9349 GB, free: 16.84 MB / 0.7293 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 9.146e-05/0.006317, allocations: 158.2 kB / 0.9351 GB, free: 16.71 MB / 0.7293 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 8.934e-05/0.006406, allocations: 258.9 kB / 0.9353 GB, free: 16.49 MB / 0.7293 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 2.872e-05/0.006435, allocations: 16.78 kB / 0.9353 GB, free: 16.48 MB / 0.7293 GB Notification: Performance of sorting global known variables: time 2.1e-05/0.006456, allocations: 89.61 kB / 0.9354 GB, free: 16.41 MB / 0.7293 GB Notification: Performance of Backend: time 1.3e-07/0.006456, allocations: 0 / 0.9354 GB, free: 16.41 MB / 0.7293 GB Notification: Performance of simCode: created initialization part: time 0.0003932/0.006849, allocations: 340.5 kB / 0.9357 GB, free: 16.12 MB / 0.7293 GB Notification: Performance of SimCode: time 0.000331/0.00718, allocations: 0.6105 MB / 0.9363 GB, free: 15.5 MB / 0.7293 GB Notification: Performance of Templates: time 0.003428/0.01061, allocations: 2.139 MB / 0.9384 GB, free: 15.27 MB / 0.7293 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=480 -lv LOG_STATS > AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Xor.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.6971101658418775] Failed to read output from testmodel.py, exit status != 0: 0.014607340097427368 0.022353113 0.017194605 Calling exit ...