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.04194/0.04194, allocations: 9.127 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.0009636/0.0009636, 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.001279/0.001279, allocations: 164.5 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.9513/0.9513, allocations: 177.1 MB / 219.2 MB, free: 10.1 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.003869/0.003869, allocations: 0.8182 MB / 276.5 MB, free: 0.7188 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.643/1.643, allocations: 274.9 MB / 0.5419 GB, free: 0.6406 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 2.274e-06/2.274e-06, allocations: 0 / 0.6379 GB, free: 14.14 MB / 0.6043 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.173e-05/2.401e-05, allocations: 2.312 kB / 0.6379 GB, free: 14.14 MB / 0.6043 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Logical.Validation.Switch): time 0.001309/0.001333, allocations: 0.696 MB / 0.6385 GB, free: 13.44 MB / 0.6043 GB Notification: Performance of NFInst.instExpressions: time 0.00137/0.002703, allocations: 1.33 MB / 0.6398 GB, free: 12.1 MB / 0.6043 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.654e-05/0.002759, allocations: 0 / 0.6398 GB, free: 12.1 MB / 0.6043 GB Notification: Performance of NFTyping.typeComponents: time 3.385e-05/0.002793, allocations: 7.938 kB / 0.6398 GB, free: 12.09 MB / 0.6043 GB Notification: Performance of NFTyping.typeBindings: time 9.719e-05/0.00289, allocations: 27.78 kB / 0.6399 GB, free: 12.06 MB / 0.6043 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006479/0.003538, allocations: 295.3 kB / 0.6402 GB, free: 11.77 MB / 0.6043 GB Notification: Performance of NFFlatten.flatten: time 0.0002589/0.003797, allocations: 263.5 kB / 0.6404 GB, free: 11.52 MB / 0.6043 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001012/0.003898, allocations: 16.16 kB / 0.6404 GB, free: 11.5 MB / 0.6043 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001603/0.004058, allocations: 143.8 kB / 0.6406 GB, free: 11.36 MB / 0.6043 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000151/0.004209, allocations: 71.86 kB / 0.6406 GB, free: 11.29 MB / 0.6043 GB Notification: Performance of NFPackage.collectConstants: time 3.717e-05/0.004247, allocations: 20 kB / 0.6406 GB, free: 11.27 MB / 0.6043 GB Notification: Performance of NFFlatten.collectFunctions: time 9.22e-05/0.004339, allocations: 39.98 kB / 0.6407 GB, free: 11.23 MB / 0.6043 GB Notification: Performance of NFScalarize.scalarize: time 2.861e-05/0.004367, allocations: 15.92 kB / 0.6407 GB, free: 11.21 MB / 0.6043 GB Notification: Performance of NFVerifyModel.verify: time 7.199e-05/0.004439, allocations: 71.88 kB / 0.6408 GB, free: 11.14 MB / 0.6043 GB Notification: Performance of NFConvertDAE.convert: time 0.000255/0.004694, allocations: 199.5 kB / 0.641 GB, free: 10.95 MB / 0.6043 GB Notification: Performance of FrontEnd - DAE generated: time 5.06e-06/0.0047, allocations: 4 kB / 0.641 GB, free: 10.94 MB / 0.6043 GB Notification: Performance of FrontEnd: time 1.723e-06/0.004701, allocations: 3.938 kB / 0.641 GB, free: 10.94 MB / 0.6043 GB Notification: Performance of Transformations before backend: time 4.969e-06/0.004706, allocations: 0 / 0.641 GB, free: 10.94 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.0004581/0.005164, allocations: 389.3 kB / 0.6413 GB, free: 10.52 MB / 0.6043 GB Notification: Performance of prepare preOptimizeDAE: time 4.125e-05/0.005206, allocations: 11.98 kB / 0.6413 GB, free: 10.5 MB / 0.6043 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.029e-05/0.005256, allocations: 20.91 kB / 0.6414 GB, free: 10.48 MB / 0.6043 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001006/0.005356, allocations: 121.7 kB / 0.6415 GB, free: 10.34 MB / 0.6043 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.238e-05/0.005379, allocations: 8.375 kB / 0.6415 GB, free: 10.33 MB / 0.6043 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.898e-05/0.005408, allocations: 16.38 kB / 0.6415 GB, free: 10.32 MB / 0.6043 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.451e-05/0.005502, allocations: 62.92 kB / 0.6416 GB, free: 10.25 MB / 0.6043 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.875e-06/0.00551, allocations: 192 / 0.6416 GB, free: 10.25 MB / 0.6043 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.567e-06/0.005519, allocations: 384 / 0.6416 GB, free: 10.25 MB / 0.6043 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.955e-06/0.005527, allocations: 8.125 kB / 0.6416 GB, free: 10.24 MB / 0.6043 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.126e-05/0.005548, allocations: 15.92 kB / 0.6416 GB, free: 10.22 MB / 0.6043 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003369/0.005885, allocations: 204.2 kB / 0.6418 GB, free: 10.01 MB / 0.6043 GB Notification: Performance of preOpt comSubExp (simulation): time 4.937e-05/0.005934, allocations: 26.58 kB / 0.6418 GB, free: 9.973 MB / 0.6043 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.792e-05/0.005952, allocations: 8.859 kB / 0.6418 GB, free: 9.961 MB / 0.6043 GB Notification: Performance of preOpt evalFunc (simulation): time 8.396e-06/0.005961, allocations: 0 / 0.6418 GB, free: 9.961 MB / 0.6043 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001301/0.006091, allocations: 99.42 kB / 0.6419 GB, free: 9.852 MB / 0.6043 GB Notification: Performance of pre-optimization done (n=10): time 1.462e-06/0.006092, allocations: 0 / 0.6419 GB, free: 9.852 MB / 0.6043 GB Notification: Performance of matching and sorting (n=10): time 0.0001762/0.006268, allocations: 93.47 kB / 0.642 GB, free: 9.754 MB / 0.6043 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.962e-05/0.006318, allocations: 59.39 kB / 0.6421 GB, free: 9.684 MB / 0.6043 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001134/0.006431, allocations: 138.6 kB / 0.6422 GB, free: 9.535 MB / 0.6043 GB Notification: Performance of collectPreVariables (initialization): time 3.942e-05/0.006471, allocations: 33.7 kB / 0.6422 GB, free: 9.496 MB / 0.6043 GB Notification: Performance of collectInitialEqns (initialization): time 5.763e-05/0.006528, allocations: 96.12 kB / 0.6423 GB, free: 9.398 MB / 0.6043 GB Notification: Performance of collectInitialBindings (initialization): time 1.991e-05/0.006548, allocations: 23.78 kB / 0.6423 GB, free: 9.375 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.783e-05/0.006626, allocations: 61.64 kB / 0.6424 GB, free: 9.309 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 9.188e-05/0.006718, allocations: 322.8 kB / 0.6427 GB, free: 8.984 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002206/0.006939, allocations: 141.1 kB / 0.6428 GB, free: 8.828 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001335/0.007072, allocations: 191 kB / 0.643 GB, free: 8.602 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001539/0.007226, allocations: 215.1 kB / 0.6432 GB, free: 8.352 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.007229, allocations: 0 / 0.6432 GB, free: 8.352 MB / 0.6043 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002857/0.007515, allocations: 375.6 kB / 0.6436 GB, free: 7.941 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 6.01e-05/0.007575, allocations: 101 kB / 0.6437 GB, free: 7.824 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.026e-06/0.007583, allocations: 7.938 kB / 0.6437 GB, free: 7.816 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.467e-05/0.007598, allocations: 0 / 0.6437 GB, free: 7.816 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.423e-05/0.007622, allocations: 8.188 kB / 0.6437 GB, free: 7.809 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.581e-06/0.007628, allocations: 8 kB / 0.6437 GB, free: 7.801 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002101/0.007838, allocations: 55.89 kB / 0.6438 GB, free: 7.746 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.725e-05/0.007865, allocations: 19.98 kB / 0.6438 GB, free: 7.727 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 9.955e-05/0.007965, allocations: 125.7 kB / 0.6439 GB, free: 7.594 MB / 0.6043 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.531e-05/0.00798, allocations: 11.98 kB / 0.6439 GB, free: 7.582 MB / 0.6043 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.986e-05/0.00801, allocations: 12.38 kB / 0.6439 GB, free: 7.566 MB / 0.6043 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.008012, allocations: 8 kB / 0.6439 GB, free: 7.559 MB / 0.6043 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.924e-06/0.008014, allocations: 0 / 0.6439 GB, free: 7.559 MB / 0.6043 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.142e-06/0.00802, allocations: 7.984 kB / 0.6439 GB, free: 7.551 MB / 0.6043 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.233e-05/0.008113, allocations: 77.88 kB / 0.644 GB, free: 7.457 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.008114, allocations: 0 / 0.644 GB, free: 7.457 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.003e-06/0.008121, allocations: 4 kB / 0.644 GB, free: 7.453 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.453e-06/0.008123, allocations: 0 / 0.644 GB, free: 7.453 MB / 0.6043 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.772e-06/0.008129, allocations: 4 kB / 0.644 GB, free: 7.449 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.813e-06/0.008131, allocations: 0 / 0.644 GB, free: 7.449 MB / 0.6043 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.667e-06/0.008135, allocations: 11.88 kB / 0.644 GB, free: 7.438 MB / 0.6043 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001084/0.008243, allocations: 93.08 kB / 0.6441 GB, free: 7.328 MB / 0.6043 GB Notification: Performance of postOpt removeConstants (simulation): time 1.109e-05/0.008254, allocations: 7.953 kB / 0.6441 GB, free: 7.32 MB / 0.6043 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.067e-05/0.008265, allocations: 8 kB / 0.6441 GB, free: 7.312 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.818e-05/0.008283, allocations: 3.984 kB / 0.6441 GB, free: 7.309 MB / 0.6043 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.461e-05/0.008318, allocations: 15.86 kB / 0.6441 GB, free: 7.293 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.481e-06/0.008323, allocations: 4 kB / 0.6442 GB, free: 7.289 MB / 0.6043 GB Notification: Performance of sorting global known variables: time 2.375e-05/0.008347, allocations: 20.84 kB / 0.6442 GB, free: 7.266 MB / 0.6043 GB Notification: Performance of sort global known variables: time 5e-08/0.008347, allocations: 0 / 0.6442 GB, free: 7.266 MB / 0.6043 GB Notification: Performance of remove unused functions: time 0.0001576/0.008505, allocations: 44 kB / 0.6442 GB, free: 7.223 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.000155/0.00866, allocations: 88.31 kB / 0.6443 GB, free: 7.129 MB / 0.6043 GB Notification: Performance of simCode: created initialization part: time 0.0002923/0.008952, allocations: 380 kB / 0.6447 GB, free: 6.699 MB / 0.6043 GB Notification: Performance of simCode: created event and clocks part: time 5.029e-06/0.008957, allocations: 4 kB / 0.6447 GB, free: 6.695 MB / 0.6043 GB Notification: Performance of simCode: created simulation system equations: time 3.317e-05/0.00899, allocations: 24.84 kB / 0.6447 GB, free: 6.668 MB / 0.6043 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001692/0.009159, allocations: 23.97 kB / 0.6447 GB, free: 6.645 MB / 0.6043 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003193/0.009479, allocations: 181.5 kB / 0.6449 GB, free: 6.434 MB / 0.6043 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.862e-05/0.009517, allocations: 67.34 kB / 0.6449 GB, free: 6.348 MB / 0.6043 GB Notification: Performance of simCode: alias equations: time 2.838e-05/0.009546, allocations: 20.41 kB / 0.645 GB, free: 6.328 MB / 0.6043 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001312/0.009677, allocations: 87.34 kB / 0.6451 GB, free: 6.242 MB / 0.6043 GB Notification: Performance of SimCode: time 9.42e-07/0.009678, allocations: 0 / 0.6451 GB, free: 6.242 MB / 0.6043 GB Notification: Performance of Templates: time 0.005082/0.01476, allocations: 3.165 MB / 0.6481 GB, free: 3.07 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 -lv LOG_STATS > AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Switch.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.339164609089494]