Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Switch.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.08575/0.08575, allocations: 9.131 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.0009586/0.0009586, allocations: 87.28 kB / 35.32 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.00107/0.00107, allocations: 164.2 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.9464/0.9464, 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.004097/0.004097, allocations: 0.8139 MB / 276.5 MB, free: 0.7266 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.75/1.75, allocations: 274.9 MB / 0.5419 GB, free: 0.6289 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.Switch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Switch") translateModel(AixLib.Controls.OBC.CDL.Logical.Validation.Switch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Switch") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.874e-06/1.874e-06, allocations: 0 / 0.6379 GB, free: 14.09 MB / 0.6043 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.055e-05/2.242e-05, allocations: 6.312 kB / 0.6379 GB, free: 14.08 MB / 0.6043 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Logical.Validation.Switch): time 0.001486/0.001509, allocations: 0.743 MB / 0.6386 GB, free: 13.34 MB / 0.6043 GB Notification: Performance of NFInst.instExpressions: time 0.001285/0.002793, allocations: 1.326 MB / 0.6399 GB, free: 12 MB / 0.6043 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.895e-05/0.002832, allocations: 0 / 0.6399 GB, free: 12 MB / 0.6043 GB Notification: Performance of NFTyping.typeComponents: time 2.596e-05/0.002858, allocations: 7.875 kB / 0.6399 GB, free: 11.99 MB / 0.6043 GB Notification: Performance of NFTyping.typeBindings: time 7.892e-05/0.002937, allocations: 23.84 kB / 0.6399 GB, free: 11.97 MB / 0.6043 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005501/0.003487, allocations: 303.3 kB / 0.6402 GB, free: 11.67 MB / 0.6043 GB Notification: Performance of NFFlatten.flatten: time 0.0002244/0.003712, allocations: 259.5 kB / 0.6405 GB, free: 11.42 MB / 0.6043 GB Notification: Performance of NFFlatten.resolveConnections: time 6.711e-05/0.003779, allocations: 4.188 kB / 0.6405 GB, free: 11.41 MB / 0.6043 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001381/0.003917, allocations: 147.8 kB / 0.6406 GB, free: 11.27 MB / 0.6043 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000112/0.004029, allocations: 71.86 kB / 0.6407 GB, free: 11.2 MB / 0.6043 GB Notification: Performance of NFPackage.collectConstants: time 2.81e-05/0.004057, allocations: 20 kB / 0.6407 GB, free: 11.18 MB / 0.6043 GB Notification: Performance of NFFlatten.collectFunctions: time 8.555e-05/0.004143, allocations: 51.86 kB / 0.6408 GB, free: 11.12 MB / 0.6043 GB Notification: Performance of NFScalarize.scalarize: time 1.75e-05/0.00416, allocations: 8 kB / 0.6408 GB, free: 11.12 MB / 0.6043 GB Notification: Performance of NFVerifyModel.verify: time 6.923e-05/0.004229, allocations: 75.86 kB / 0.6408 GB, free: 11.04 MB / 0.6043 GB Notification: Performance of NFConvertDAE.convert: time 0.0001842/0.004414, allocations: 199.5 kB / 0.641 GB, free: 10.85 MB / 0.6043 GB Notification: Performance of FrontEnd - DAE generated: time 2.474e-06/0.004416, allocations: 4 kB / 0.641 GB, free: 10.84 MB / 0.6043 GB Notification: Performance of FrontEnd: time 8.92e-07/0.004417, allocations: 0 / 0.641 GB, free: 10.84 MB / 0.6043 GB Notification: Performance of Transformations before backend: time 3.396e-06/0.00442, allocations: 0 / 0.641 GB, free: 10.84 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000343/0.004763, allocations: 385.3 kB / 0.6414 GB, free: 10.43 MB / 0.6043 GB Notification: Performance of prepare preOptimizeDAE: time 3.118e-05/0.004795, allocations: 11.98 kB / 0.6414 GB, free: 10.41 MB / 0.6043 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.089e-05/0.004835, allocations: 20.91 kB / 0.6414 GB, free: 10.39 MB / 0.6043 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.461e-05/0.00492, allocations: 121.7 kB / 0.6416 GB, free: 10.25 MB / 0.6043 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.846e-05/0.004939, allocations: 12.38 kB / 0.6416 GB, free: 10.24 MB / 0.6043 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.264e-05/0.004961, allocations: 12.38 kB / 0.6416 GB, free: 10.23 MB / 0.6043 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.868e-05/0.00504, allocations: 70.84 kB / 0.6416 GB, free: 10.15 MB / 0.6043 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.434e-06/0.005047, allocations: 192 / 0.6416 GB, free: 10.15 MB / 0.6043 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.452e-06/0.005054, allocations: 384 / 0.6416 GB, free: 10.15 MB / 0.6043 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.264e-06/0.005061, allocations: 8.125 kB / 0.6417 GB, free: 10.14 MB / 0.6043 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.535e-05/0.005076, allocations: 4 kB / 0.6417 GB, free: 10.14 MB / 0.6043 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002822/0.005359, allocations: 208.2 kB / 0.6419 GB, free: 9.918 MB / 0.6043 GB Notification: Performance of preOpt comSubExp (simulation): time 5.217e-05/0.005411, allocations: 34.5 kB / 0.6419 GB, free: 9.875 MB / 0.6043 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.331e-05/0.005424, allocations: 8.859 kB / 0.6419 GB, free: 9.863 MB / 0.6043 GB Notification: Performance of preOpt evalFunc (simulation): time 5.451e-06/0.005429, allocations: 4 kB / 0.6419 GB, free: 9.859 MB / 0.6043 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.691e-05/0.005526, allocations: 91.5 kB / 0.642 GB, free: 9.758 MB / 0.6043 GB Notification: Performance of pre-optimization done (n=10): time 1.553e-06/0.005528, allocations: 0 / 0.642 GB, free: 9.758 MB / 0.6043 GB Notification: Performance of matching and sorting (n=10): time 0.000134/0.005662, allocations: 97.45 kB / 0.6421 GB, free: 9.656 MB / 0.6043 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.508e-05/0.005687, allocations: 55.41 kB / 0.6421 GB, free: 9.59 MB / 0.6043 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.971e-05/0.005757, allocations: 142.5 kB / 0.6423 GB, free: 9.438 MB / 0.6043 GB Notification: Performance of collectPreVariables (initialization): time 5.142e-05/0.005808, allocations: 33.64 kB / 0.6423 GB, free: 9.398 MB / 0.6043 GB Notification: Performance of collectInitialEqns (initialization): time 4.216e-05/0.00585, allocations: 104 kB / 0.6424 GB, free: 9.293 MB / 0.6043 GB Notification: Performance of collectInitialBindings (initialization): time 1.477e-05/0.005865, allocations: 23.78 kB / 0.6424 GB, free: 9.27 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.834e-05/0.005933, allocations: 57.66 kB / 0.6425 GB, free: 9.207 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 6.596e-05/0.005999, allocations: 326.8 kB / 0.6428 GB, free: 8.879 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.653e-05/0.006096, allocations: 141.1 kB / 0.6429 GB, free: 8.723 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001105/0.006206, allocations: 195.1 kB / 0.6431 GB, free: 8.492 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000195/0.006401, allocations: 207 kB / 0.6433 GB, free: 8.25 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.006404, allocations: 0 / 0.6433 GB, free: 8.25 MB / 0.6043 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002541/0.006658, allocations: 375.6 kB / 0.6437 GB, free: 7.84 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 4.983e-05/0.006708, allocations: 105 kB / 0.6438 GB, free: 7.719 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.006714, allocations: 4 kB / 0.6438 GB, free: 7.715 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.214e-05/0.006726, allocations: 0 / 0.6438 GB, free: 7.715 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.817e-05/0.006744, allocations: 7.938 kB / 0.6438 GB, free: 7.707 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.206e-06/0.006747, allocations: 4 kB / 0.6438 GB, free: 7.703 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001812/0.006929, allocations: 64.08 kB / 0.6438 GB, free: 7.641 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.397e-05/0.006953, allocations: 15.98 kB / 0.6439 GB, free: 7.625 MB / 0.6043 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,logicalSwitch.y,booPul3.y,$PRE.booPul3.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 (13): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 3 * 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.164e-05/0.007024, allocations: 129.8 kB / 0.644 GB, free: 7.488 MB / 0.6043 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.087e-05/0.007035, allocations: 7.984 kB / 0.644 GB, free: 7.48 MB / 0.6043 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.335e-05/0.007058, allocations: 16.38 kB / 0.644 GB, free: 7.461 MB / 0.6043 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.007061, allocations: 0 / 0.644 GB, free: 7.461 MB / 0.6043 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.024e-06/0.007063, allocations: 0 / 0.644 GB, free: 7.461 MB / 0.6043 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.007066, allocations: 0 / 0.644 GB, free: 7.461 MB / 0.6043 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.825e-05/0.007144, allocations: 81.88 kB / 0.6441 GB, free: 7.363 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.893e-06/0.007146, allocations: 8 kB / 0.6441 GB, free: 7.355 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.488e-06/0.007155, allocations: 11.92 kB / 0.6441 GB, free: 7.344 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.007157, allocations: 0 / 0.6441 GB, free: 7.344 MB / 0.6043 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.929e-06/0.007162, allocations: 4 kB / 0.6441 GB, free: 7.34 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.923e-06/0.007164, allocations: 0 / 0.6441 GB, free: 7.34 MB / 0.6043 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.007165, allocations: 3.938 kB / 0.6441 GB, free: 7.336 MB / 0.6043 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.361e-05/0.007249, allocations: 93.03 kB / 0.6442 GB, free: 7.227 MB / 0.6043 GB Notification: Performance of postOpt removeConstants (simulation): time 9.758e-06/0.007259, allocations: 11.94 kB / 0.6442 GB, free: 7.215 MB / 0.6043 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.688e-06/0.007268, allocations: 4 kB / 0.6442 GB, free: 7.211 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.265e-05/0.007281, allocations: 0 / 0.6442 GB, free: 7.211 MB / 0.6043 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.315e-05/0.007304, allocations: 11.92 kB / 0.6442 GB, free: 7.199 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.903e-06/0.007311, allocations: 15.98 kB / 0.6442 GB, free: 7.184 MB / 0.6043 GB Notification: Performance of sorting global known variables: time 1.594e-05/0.007327, allocations: 16.84 kB / 0.6443 GB, free: 7.164 MB / 0.6043 GB Notification: Performance of sort global known variables: time 5e-08/0.007327, allocations: 3.938 kB / 0.6443 GB, free: 7.16 MB / 0.6043 GB Notification: Performance of remove unused functions: time 0.0001449/0.007472, allocations: 44 kB / 0.6443 GB, free: 7.117 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: 10 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul1.y,booPul2.y,booPul3.y,logicalSwitch.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0001016/0.007574, allocations: 80.41 kB / 0.6444 GB, free: 7.031 MB / 0.6043 GB Notification: Performance of simCode: created initialization part: time 0.0003688/0.007942, allocations: 384 kB / 0.6447 GB, free: 6.598 MB / 0.6043 GB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.007946, allocations: 384 / 0.6447 GB, free: 6.598 MB / 0.6043 GB Notification: Performance of simCode: created simulation system equations: time 2.837e-05/0.007974, allocations: 32.84 kB / 0.6448 GB, free: 6.562 MB / 0.6043 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001425/0.008116, allocations: 23.91 kB / 0.6448 GB, free: 6.539 MB / 0.6043 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002397/0.008356, allocations: 181.2 kB / 0.645 GB, free: 6.328 MB / 0.6043 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.081e-05/0.008387, allocations: 63.34 kB / 0.645 GB, free: 6.246 MB / 0.6043 GB Notification: Performance of simCode: alias equations: time 2.293e-05/0.00841, allocations: 4.5 kB / 0.645 GB, free: 6.242 MB / 0.6043 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001304/0.00854, allocations: 95.33 kB / 0.6451 GB, free: 6.148 MB / 0.6043 GB Notification: Performance of SimCode: time 7.62e-07/0.008541, allocations: 4 kB / 0.6451 GB, free: 6.145 MB / 0.6043 GB Notification: Performance of Templates: time 0.004395/0.01294, allocations: 3.157 MB / 0.6482 GB, free: 2.98 MB / 0.6043 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Switch.makefile [Timeout 660] (rm -f AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Switch.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Switch.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Switch.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Switch.sim & ./AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Switch -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Switch.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.468874800018966]