Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Controls.OBC.CDL.Integers.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.06882/0.06882, allocations: 9.127 MB / 28.99 MB, free: 0.8125 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.0013/0.0013, allocations: 98.95 kB / 35.33 MB, free: 1.07 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.001532/0.001532, allocations: 168.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.9469/0.9469, allocations: 177.2 MB / 219.2 MB, free: 10.11 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.004592/0.004592, allocations: 0.8223 MB / 276.5 MB, free: 0.7383 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.637/1.637, 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.Integers.Validation.Switch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.Switch") translateModel(AixLib.Controls.OBC.CDL.Integers.Validation.Switch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.Switch") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.463e-06/1.463e-06, allocations: 0 / 0.6379 GB, free: 14.06 MB / 0.6043 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.473e-05/1.619e-05, allocations: 2.312 kB / 0.6379 GB, free: 14.05 MB / 0.6043 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Integers.Validation.Switch): time 0.008085/0.008101, allocations: 0.8603 MB / 0.6387 GB, free: 13.2 MB / 0.6043 GB Notification: Performance of NFInst.instExpressions: time 0.004391/0.01249, allocations: 1.365 MB / 0.6401 GB, free: 11.82 MB / 0.6043 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.99e-05/0.01255, allocations: 4 kB / 0.6401 GB, free: 11.81 MB / 0.6043 GB Notification: Performance of NFTyping.typeComponents: time 3.658e-05/0.01259, allocations: 15.8 kB / 0.6401 GB, free: 11.8 MB / 0.6043 GB Notification: Performance of NFTyping.typeBindings: time 8.933e-05/0.01268, allocations: 27.73 kB / 0.6401 GB, free: 11.77 MB / 0.6043 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005885/0.01327, allocations: 303.3 kB / 0.6404 GB, free: 11.47 MB / 0.6043 GB Notification: Performance of NFFlatten.flatten: time 0.0002904/0.01356, allocations: 295.5 kB / 0.6407 GB, free: 11.18 MB / 0.6043 GB Notification: Performance of NFFlatten.resolveConnections: time 9.125e-05/0.01365, allocations: 30.22 kB / 0.6407 GB, free: 11.15 MB / 0.6043 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001756/0.01382, allocations: 167.7 kB / 0.6409 GB, free: 10.98 MB / 0.6043 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00015/0.01397, allocations: 87.8 kB / 0.641 GB, free: 10.9 MB / 0.6043 GB Notification: Performance of NFPackage.collectConstants: time 3.834e-05/0.01401, allocations: 24 kB / 0.641 GB, free: 10.88 MB / 0.6043 GB Notification: Performance of NFFlatten.collectFunctions: time 8.101e-05/0.01409, allocations: 39.98 kB / 0.641 GB, free: 10.84 MB / 0.6043 GB Notification: Performance of NFScalarize.scalarize: time 2.71e-05/0.01412, allocations: 23.91 kB / 0.641 GB, free: 10.81 MB / 0.6043 GB Notification: Performance of NFVerifyModel.verify: time 7.925e-05/0.0142, allocations: 87.8 kB / 0.6411 GB, free: 10.73 MB / 0.6043 GB Notification: Performance of NFConvertDAE.convert: time 0.000218/0.01442, allocations: 215.5 kB / 0.6413 GB, free: 10.52 MB / 0.6043 GB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.01442, allocations: 4 kB / 0.6413 GB, free: 10.51 MB / 0.6043 GB Notification: Performance of FrontEnd: time 7.21e-07/0.01442, allocations: 4 kB / 0.6413 GB, free: 10.51 MB / 0.6043 GB Notification: Performance of Transformations before backend: time 4.569e-06/0.01443, allocations: 3.938 kB / 0.6413 GB, free: 10.5 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0004229/0.01485, allocations: 429.1 kB / 0.6417 GB, free: 10.04 MB / 0.6043 GB Notification: Performance of prepare preOptimizeDAE: time 3.219e-05/0.01488, allocations: 15.98 kB / 0.6418 GB, free: 10.03 MB / 0.6043 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.158e-05/0.01493, allocations: 28.91 kB / 0.6418 GB, free: 10 MB / 0.6043 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000173/0.01511, allocations: 150.1 kB / 0.6419 GB, free: 9.828 MB / 0.6043 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.221e-05/0.01513, allocations: 12.38 kB / 0.6419 GB, free: 9.816 MB / 0.6043 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.228e-05/0.01516, allocations: 20.38 kB / 0.642 GB, free: 9.797 MB / 0.6043 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001018/0.01526, allocations: 86.27 kB / 0.642 GB, free: 9.703 MB / 0.6043 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.975e-06/0.01527, allocations: 4 kB / 0.6421 GB, free: 9.699 MB / 0.6043 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.698e-06/0.01528, allocations: 11.98 kB / 0.6421 GB, free: 9.688 MB / 0.6043 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.12e-06/0.01529, allocations: 0 / 0.6421 GB, free: 9.688 MB / 0.6043 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.67e-05/0.01532, allocations: 19.94 kB / 0.6421 GB, free: 9.668 MB / 0.6043 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003511/0.01567, allocations: 263.9 kB / 0.6423 GB, free: 9.395 MB / 0.6043 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001145/0.01579, allocations: 38.56 kB / 0.6424 GB, free: 9.348 MB / 0.6043 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.391e-05/0.01581, allocations: 20.84 kB / 0.6424 GB, free: 9.324 MB / 0.6043 GB Notification: Performance of preOpt evalFunc (simulation): time 6.482e-06/0.01582, allocations: 4 kB / 0.6424 GB, free: 9.32 MB / 0.6043 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001082/0.01593, allocations: 95.25 kB / 0.6425 GB, free: 9.215 MB / 0.6043 GB Notification: Performance of pre-optimization done (n=14): time 1.052e-06/0.01593, allocations: 0 / 0.6425 GB, free: 9.215 MB / 0.6043 GB Notification: Performance of matching and sorting (n=14): time 0.0001623/0.01609, allocations: 118 kB / 0.6426 GB, free: 9.094 MB / 0.6043 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.84e-05/0.01612, allocations: 55.41 kB / 0.6427 GB, free: 9.027 MB / 0.6043 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.684e-05/0.01621, allocations: 162.6 kB / 0.6428 GB, free: 8.855 MB / 0.6043 GB Notification: Performance of collectPreVariables (initialization): time 2.634e-05/0.01623, allocations: 33.7 kB / 0.6428 GB, free: 8.816 MB / 0.6043 GB Notification: Performance of collectInitialEqns (initialization): time 5.313e-05/0.01629, allocations: 108.5 kB / 0.6429 GB, free: 8.703 MB / 0.6043 GB Notification: Performance of collectInitialBindings (initialization): time 2.212e-05/0.01631, allocations: 27.8 kB / 0.643 GB, free: 8.676 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001002/0.01641, allocations: 69.62 kB / 0.643 GB, free: 8.602 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 7.914e-05/0.01649, allocations: 326.8 kB / 0.6433 GB, free: 8.273 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001195/0.01661, allocations: 145.1 kB / 0.6435 GB, free: 8.113 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001438/0.01675, allocations: 203 kB / 0.6437 GB, free: 7.875 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001659/0.01692, allocations: 214.9 kB / 0.6439 GB, free: 7.625 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.01692, allocations: 0 / 0.6439 GB, free: 7.625 MB / 0.6043 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0003176/0.01724, allocations: 383.5 kB / 0.6442 GB, free: 7.207 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 5.24e-05/0.01729, allocations: 105.4 kB / 0.6444 GB, free: 7.086 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.639e-06/0.01729, allocations: 4 kB / 0.6444 GB, free: 7.082 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.334e-05/0.01732, allocations: 7.938 kB / 0.6444 GB, free: 7.074 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.758e-05/0.01737, allocations: 8 kB / 0.6444 GB, free: 7.066 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.133e-06/0.01738, allocations: 4 kB / 0.6444 GB, free: 7.062 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002561/0.01764, allocations: 71.83 kB / 0.6444 GB, free: 6.992 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.732e-05/0.01767, allocations: 11.98 kB / 0.6445 GB, free: 6.98 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: 17 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booToInt1.y,booToInt.y,booPul3.y,$PRE.booPul3.y,booPul2.y,$PRE.booPul2.y,booPul1.y,$PRE.booPul1.y,integerSwitch.y,integerSwitch.u3,integerSwitch.u1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 14 * 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 0.0001028/0.01778, allocations: 133.8 kB / 0.6446 GB, free: 6.84 MB / 0.6043 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.396e-05/0.0178, allocations: 11.98 kB / 0.6446 GB, free: 6.828 MB / 0.6043 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.974e-05/0.01783, allocations: 12.77 kB / 0.6446 GB, free: 6.816 MB / 0.6043 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.777e-06/0.01783, allocations: 7.938 kB / 0.6446 GB, free: 6.809 MB / 0.6043 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.453e-06/0.01784, allocations: 0 / 0.6446 GB, free: 6.809 MB / 0.6043 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.01784, allocations: 0 / 0.6446 GB, free: 6.809 MB / 0.6043 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001166/0.01796, allocations: 101.8 kB / 0.6447 GB, free: 6.691 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.448e-06/0.01796, allocations: 7.984 kB / 0.6447 GB, free: 6.684 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.537e-05/0.01801, allocations: 11.94 kB / 0.6447 GB, free: 6.672 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.01801, allocations: 0 / 0.6447 GB, free: 6.672 MB / 0.6043 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.668e-06/0.01802, allocations: 8 kB / 0.6447 GB, free: 6.664 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.01802, allocations: 0 / 0.6447 GB, free: 6.664 MB / 0.6043 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.01802, allocations: 0 / 0.6447 GB, free: 6.664 MB / 0.6043 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001611/0.01818, allocations: 113.1 kB / 0.6448 GB, free: 6.535 MB / 0.6043 GB Notification: Performance of postOpt removeConstants (simulation): time 1.59e-05/0.0182, allocations: 11.91 kB / 0.6449 GB, free: 6.523 MB / 0.6043 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.751e-05/0.01821, allocations: 4 kB / 0.6449 GB, free: 6.52 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.839e-05/0.01824, allocations: 4 kB / 0.6449 GB, free: 6.516 MB / 0.6043 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.543e-05/0.01828, allocations: 15.97 kB / 0.6449 GB, free: 6.5 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.217e-06/0.01829, allocations: 7.938 kB / 0.6449 GB, free: 6.492 MB / 0.6043 GB Notification: Performance of sorting global known variables: time 3.128e-05/0.01832, allocations: 29.58 kB / 0.6449 GB, free: 6.461 MB / 0.6043 GB Notification: Performance of sort global known variables: time 8e-08/0.01832, allocations: 0 / 0.6449 GB, free: 6.461 MB / 0.6043 GB Notification: Performance of remove unused functions: time 0.0002357/0.01855, allocations: 52 kB / 0.645 GB, free: 6.41 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: 14 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,integerSwitch.u1,integerSwitch.u3,integerSwitch.y,booPul1.y,booPul2.y,booPul3.y,booToInt.y,booToInt1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 11 * 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.000116/0.01867, allocations: 92.28 kB / 0.6451 GB, free: 6.312 MB / 0.6043 GB Notification: Performance of simCode: created initialization part: time 0.0003796/0.01905, allocations: 392 kB / 0.6454 GB, free: 5.871 MB / 0.6043 GB Notification: Performance of simCode: created event and clocks part: time 3.887e-06/0.01905, allocations: 0 / 0.6454 GB, free: 5.871 MB / 0.6043 GB Notification: Performance of simCode: created simulation system equations: time 6.494e-05/0.01912, allocations: 40.72 kB / 0.6455 GB, free: 5.828 MB / 0.6043 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001817/0.0193, allocations: 36.19 kB / 0.6455 GB, free: 5.793 MB / 0.6043 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003722/0.01967, allocations: 229.3 kB / 0.6457 GB, free: 5.543 MB / 0.6043 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.427e-05/0.01972, allocations: 67.34 kB / 0.6458 GB, free: 5.457 MB / 0.6043 GB Notification: Performance of simCode: alias equations: time 4.043e-05/0.01976, allocations: 12.97 kB / 0.6458 GB, free: 5.445 MB / 0.6043 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000184/0.01994, allocations: 95.33 kB / 0.6459 GB, free: 5.352 MB / 0.6043 GB Notification: Performance of SimCode: time 7.41e-07/0.01994, allocations: 0 / 0.6459 GB, free: 5.352 MB / 0.6043 GB Notification: Performance of Templates: time 0.006384/0.02633, allocations: 3.281 MB / 0.6491 GB, free: 2.062 MB / 0.6043 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.Switch.makefile [Timeout 660] (rm -f AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.Switch.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.Switch.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.Switch.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.Switch.sim & ./AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.Switch -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.Switch.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.444635835010558]