Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Controls.OBC.CDL.Reals.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.04427/0.04427, allocations: 9.127 MB / 28.99 MB, free: 332 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.0009818/0.0009818, allocations: 99.02 kB / 35.33 MB, free: 0.9258 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.001179/0.001179, allocations: 173.6 kB / 38.73 MB, free: 2.398 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.9949/0.9949, allocations: 177.2 MB / 219.2 MB, free: 10.08 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.00427/0.00427, allocations: 0.8289 MB / 276.5 MB, free: 0.7031 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.741/1.741, allocations: 274.9 MB / 0.5419 GB, free: 0.6133 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.Reals.Validation.Switch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Switch") translateModel(AixLib.Controls.OBC.CDL.Reals.Validation.Switch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Switch") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.365e-06/2.365e-06, allocations: 0 / 0.638 GB, free: 14.01 MB / 0.6043 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.212e-05/2.449e-05, allocations: 2.312 kB / 0.638 GB, free: 14.01 MB / 0.6043 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Reals.Validation.Switch): time 0.001644/0.001669, allocations: 0.8355 MB / 0.6388 GB, free: 13.17 MB / 0.6043 GB Notification: Performance of NFInst.instExpressions: time 0.00124/0.002909, allocations: 1.209 MB / 0.64 GB, free: 11.95 MB / 0.6043 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.894e-05/0.002958, allocations: 4 kB / 0.64 GB, free: 11.95 MB / 0.6043 GB Notification: Performance of NFTyping.typeComponents: time 2.695e-05/0.002985, allocations: 3.938 kB / 0.64 GB, free: 11.94 MB / 0.6043 GB Notification: Performance of NFTyping.typeBindings: time 8.124e-05/0.003066, allocations: 23.8 kB / 0.64 GB, free: 11.92 MB / 0.6043 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004207/0.003487, allocations: 127.6 kB / 0.6401 GB, free: 11.79 MB / 0.6043 GB Notification: Performance of NFFlatten.flatten: time 0.0001569/0.003644, allocations: 135.7 kB / 0.6402 GB, free: 11.66 MB / 0.6043 GB Notification: Performance of NFFlatten.resolveConnections: time 7.139e-05/0.003715, allocations: 11.95 kB / 0.6402 GB, free: 11.65 MB / 0.6043 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001107/0.003826, allocations: 67.88 kB / 0.6403 GB, free: 11.58 MB / 0.6043 GB Notification: Performance of NFSimplifyModel.simplify: time 8.193e-05/0.003908, allocations: 51.86 kB / 0.6404 GB, free: 11.53 MB / 0.6043 GB Notification: Performance of NFPackage.collectConstants: time 2.164e-05/0.00393, allocations: 19.94 kB / 0.6404 GB, free: 11.51 MB / 0.6043 GB Notification: Performance of NFFlatten.collectFunctions: time 7.088e-05/0.004, allocations: 16 kB / 0.6404 GB, free: 11.5 MB / 0.6043 GB Notification: Performance of NFScalarize.scalarize: time 2.028e-05/0.004021, allocations: 15.97 kB / 0.6404 GB, free: 11.48 MB / 0.6043 GB Notification: Performance of NFVerifyModel.verify: time 4.183e-05/0.004063, allocations: 39.91 kB / 0.6405 GB, free: 11.44 MB / 0.6043 GB Notification: Performance of NFConvertDAE.convert: time 0.0001362/0.004199, allocations: 95.75 kB / 0.6405 GB, free: 11.35 MB / 0.6043 GB Notification: Performance of FrontEnd - DAE generated: time 2.034e-06/0.004201, allocations: 0 / 0.6405 GB, free: 11.35 MB / 0.6043 GB Notification: Performance of FrontEnd: time 7.12e-07/0.004202, allocations: 0 / 0.6405 GB, free: 11.35 MB / 0.6043 GB Notification: Performance of Transformations before backend: time 3.527e-06/0.004205, allocations: 0 / 0.6405 GB, free: 11.35 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.0003845/0.00459, allocations: 310.1 kB / 0.6408 GB, free: 11.01 MB / 0.6043 GB Notification: Performance of prepare preOptimizeDAE: time 3.407e-05/0.004624, allocations: 15.98 kB / 0.6409 GB, free: 11 MB / 0.6043 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.437e-05/0.004658, allocations: 12.92 kB / 0.6409 GB, free: 10.98 MB / 0.6043 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.293e-05/0.004751, allocations: 125.6 kB / 0.641 GB, free: 10.84 MB / 0.6043 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.022e-05/0.004761, allocations: 384 / 0.641 GB, free: 10.84 MB / 0.6043 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.408e-05/0.004775, allocations: 8.375 kB / 0.641 GB, free: 10.83 MB / 0.6043 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001149/0.00489, allocations: 78.91 kB / 0.6411 GB, free: 10.74 MB / 0.6043 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.671e-06/0.004896, allocations: 192 / 0.6411 GB, free: 10.74 MB / 0.6043 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.883e-06/0.004903, allocations: 384 / 0.6411 GB, free: 10.74 MB / 0.6043 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.038e-06/0.004907, allocations: 384 / 0.6411 GB, free: 10.74 MB / 0.6043 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.483e-05/0.004932, allocations: 11.94 kB / 0.6411 GB, free: 10.73 MB / 0.6043 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002461/0.005178, allocations: 188.2 kB / 0.6413 GB, free: 10.53 MB / 0.6043 GB Notification: Performance of preOpt comSubExp (simulation): time 3.866e-05/0.005216, allocations: 26.58 kB / 0.6413 GB, free: 10.5 MB / 0.6043 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.171e-05/0.005238, allocations: 12.84 kB / 0.6413 GB, free: 10.48 MB / 0.6043 GB Notification: Performance of preOpt evalFunc (simulation): time 1.467e-05/0.005253, allocations: 0 / 0.6413 GB, free: 10.48 MB / 0.6043 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.488e-05/0.005338, allocations: 71.47 kB / 0.6414 GB, free: 10.4 MB / 0.6043 GB Notification: Performance of pre-optimization done (n=6): time 8.12e-07/0.005339, allocations: 0 / 0.6414 GB, free: 10.4 MB / 0.6043 GB Notification: Performance of matching and sorting (n=6): time 0.0003893/0.005728, allocations: 61.61 kB / 0.6414 GB, free: 10.33 MB / 0.6043 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.712e-05/0.005755, allocations: 55.41 kB / 0.6415 GB, free: 10.27 MB / 0.6043 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.574e-05/0.005821, allocations: 134.6 kB / 0.6416 GB, free: 10.12 MB / 0.6043 GB Notification: Performance of collectPreVariables (initialization): time 1.476e-05/0.005835, allocations: 29.64 kB / 0.6416 GB, free: 10.09 MB / 0.6043 GB Notification: Performance of collectInitialEqns (initialization): time 3.306e-05/0.005869, allocations: 88.12 kB / 0.6417 GB, free: 9.996 MB / 0.6043 GB Notification: Performance of collectInitialBindings (initialization): time 1.679e-05/0.005885, allocations: 19.86 kB / 0.6417 GB, free: 9.977 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.65e-05/0.005932, allocations: 37.67 kB / 0.6418 GB, free: 9.934 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 7.288e-05/0.006005, allocations: 314.8 kB / 0.6421 GB, free: 9.617 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.146e-05/0.006056, allocations: 53.69 kB / 0.6421 GB, free: 9.559 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.167e-05/0.006108, allocations: 72.19 kB / 0.6422 GB, free: 9.473 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.292e-05/0.006181, allocations: 80.23 kB / 0.6423 GB, free: 9.379 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.001e-06/0.006187, allocations: 0 / 0.6423 GB, free: 9.379 MB / 0.6043 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001336/0.00632, allocations: 153 kB / 0.6424 GB, free: 9.211 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 2.764e-05/0.006348, allocations: 37.77 kB / 0.6425 GB, free: 9.168 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.011e-06/0.006354, allocations: 3.938 kB / 0.6425 GB, free: 9.164 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.137e-05/0.006365, allocations: 3.984 kB / 0.6425 GB, free: 9.16 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.301e-05/0.006438, allocations: 19.94 kB / 0.6425 GB, free: 9.141 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.424e-06/0.006441, allocations: 0 / 0.6425 GB, free: 9.141 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.412e-05/0.006525, allocations: 24.28 kB / 0.6425 GB, free: 9.117 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.298e-05/0.006538, allocations: 4 kB / 0.6425 GB, free: 9.113 MB / 0.6043 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,$whenCondition2,booPul.y,$PRE.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 1 * 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.303e-05/0.006601, allocations: 121.8 kB / 0.6426 GB, free: 8.984 MB / 0.6043 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.094e-05/0.006612, allocations: 8 kB / 0.6426 GB, free: 8.977 MB / 0.6043 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.461e-05/0.006637, allocations: 16.38 kB / 0.6426 GB, free: 8.961 MB / 0.6043 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.045e-06/0.00664, allocations: 4 kB / 0.6426 GB, free: 8.957 MB / 0.6043 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.613e-06/0.006641, allocations: 0 / 0.6426 GB, free: 8.957 MB / 0.6043 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.519e-06/0.006646, allocations: 3.984 kB / 0.6427 GB, free: 8.953 MB / 0.6043 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.884e-05/0.006715, allocations: 77.88 kB / 0.6427 GB, free: 8.859 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.213e-06/0.006716, allocations: 0 / 0.6427 GB, free: 8.859 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.493e-05/0.006751, allocations: 8 kB / 0.6427 GB, free: 8.852 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.473e-06/0.006752, allocations: 0 / 0.6427 GB, free: 8.852 MB / 0.6043 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.709e-06/0.006757, allocations: 3.938 kB / 0.6427 GB, free: 8.848 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.646e-06/0.00676, allocations: 7.984 kB / 0.6427 GB, free: 8.84 MB / 0.6043 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.033e-06/0.006763, allocations: 7.938 kB / 0.6428 GB, free: 8.832 MB / 0.6043 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.831e-05/0.006841, allocations: 77.11 kB / 0.6428 GB, free: 8.738 MB / 0.6043 GB Notification: Performance of postOpt removeConstants (simulation): time 1.104e-05/0.006852, allocations: 7.938 kB / 0.6428 GB, free: 8.73 MB / 0.6043 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.776e-06/0.006861, allocations: 4 kB / 0.6428 GB, free: 8.727 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.197e-05/0.006883, allocations: 4 kB / 0.6428 GB, free: 8.723 MB / 0.6043 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.206e-05/0.006915, allocations: 11.92 kB / 0.6429 GB, free: 8.711 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.829e-06/0.00692, allocations: 7.938 kB / 0.6429 GB, free: 8.703 MB / 0.6043 GB Notification: Performance of sorting global known variables: time 1.772e-05/0.006937, allocations: 16.84 kB / 0.6429 GB, free: 8.684 MB / 0.6043 GB Notification: Performance of sort global known variables: time 5.1e-08/0.006937, allocations: 0 / 0.6429 GB, free: 8.684 MB / 0.6043 GB Notification: Performance of remove unused functions: time 0.00013/0.007067, allocations: 24 kB / 0.6429 GB, free: 8.66 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: 3 ($whenCondition1,$whenCondition2,booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0001194/0.007187, allocations: 88.34 kB / 0.643 GB, free: 8.566 MB / 0.6043 GB Notification: Performance of simCode: created initialization part: time 0.0001413/0.007328, allocations: 137.9 kB / 0.6431 GB, free: 8.41 MB / 0.6043 GB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.00733, allocations: 0 / 0.6431 GB, free: 8.41 MB / 0.6043 GB Notification: Performance of simCode: created simulation system equations: time 3.083e-05/0.007361, allocations: 24.8 kB / 0.6431 GB, free: 8.383 MB / 0.6043 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001102/0.007471, allocations: 12.3 kB / 0.6432 GB, free: 8.371 MB / 0.6043 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002561/0.007728, allocations: 168.5 kB / 0.6433 GB, free: 8.18 MB / 0.6043 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.896e-05/0.007757, allocations: 59.34 kB / 0.6434 GB, free: 8.102 MB / 0.6043 GB Notification: Performance of simCode: alias equations: time 2.689e-05/0.007783, allocations: 4 kB / 0.6434 GB, free: 8.098 MB / 0.6043 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.492e-05/0.007868, allocations: 75.33 kB / 0.6434 GB, free: 8.023 MB / 0.6043 GB Notification: Performance of SimCode: time 8.52e-07/0.007869, allocations: 0 / 0.6434 GB, free: 8.023 MB / 0.6043 GB Notification: Performance of Templates: time 0.003315/0.01118, allocations: 1.747 MB / 0.6452 GB, free: 6.277 MB / 0.6043 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Switch.makefile [Timeout 660] (rm -f AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Switch.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Switch.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Switch.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Switch.sim & ./AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Switch -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Switch.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.566195834893733]