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.04043/0.04043, allocations: 9.131 MB / 28.99 MB, free: 0.8242 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.001127/0.001127, allocations: 99.08 kB / 35.33 MB, free: 1.078 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.001133/0.001133, allocations: 166.1 kB / 38.73 MB, free: 2.52 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.9257/0.9257, allocations: 177.2 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.004299/0.004299, allocations: 0.8209 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.63/1.63, allocations: 274.9 MB / 0.5419 GB, free: 0.6094 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.062e-06/1.062e-06, allocations: 0 / 0.6379 GB, free: 14.11 MB / 0.6043 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.067e-05/1.173e-05, allocations: 2.312 kB / 0.6379 GB, free: 14.11 MB / 0.6043 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Integers.Validation.Switch): time 0.001205/0.001216, allocations: 0.8172 MB / 0.6387 GB, free: 13.29 MB / 0.6043 GB Notification: Performance of NFInst.instExpressions: time 0.001193/0.002409, allocations: 1.365 MB / 0.64 GB, free: 11.91 MB / 0.6043 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.047e-05/0.00246, allocations: 4 kB / 0.64 GB, free: 11.91 MB / 0.6043 GB Notification: Performance of NFTyping.typeComponents: time 3.416e-05/0.002494, allocations: 11.81 kB / 0.64 GB, free: 11.89 MB / 0.6043 GB Notification: Performance of NFTyping.typeBindings: time 8.197e-05/0.002576, allocations: 19.8 kB / 0.64 GB, free: 11.88 MB / 0.6043 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005368/0.003113, allocations: 311.2 kB / 0.6403 GB, free: 11.57 MB / 0.6043 GB Notification: Performance of NFFlatten.flatten: time 0.0002359/0.003348, allocations: 295.5 kB / 0.6406 GB, free: 11.28 MB / 0.6043 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001019/0.00345, allocations: 38.2 kB / 0.6406 GB, free: 11.24 MB / 0.6043 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001402/0.003591, allocations: 159.8 kB / 0.6408 GB, free: 11.08 MB / 0.6043 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001272/0.003718, allocations: 91.72 kB / 0.6409 GB, free: 10.99 MB / 0.6043 GB Notification: Performance of NFPackage.collectConstants: time 3.1e-05/0.003749, allocations: 24 kB / 0.6409 GB, free: 10.97 MB / 0.6043 GB Notification: Performance of NFFlatten.collectFunctions: time 6.074e-05/0.003809, allocations: 39.92 kB / 0.6409 GB, free: 10.93 MB / 0.6043 GB Notification: Performance of NFScalarize.scalarize: time 2.517e-05/0.003835, allocations: 27.91 kB / 0.641 GB, free: 10.9 MB / 0.6043 GB Notification: Performance of NFVerifyModel.verify: time 6.489e-05/0.0039, allocations: 87.86 kB / 0.6411 GB, free: 10.82 MB / 0.6043 GB Notification: Performance of NFConvertDAE.convert: time 0.0002026/0.004102, allocations: 219.4 kB / 0.6413 GB, free: 10.6 MB / 0.6043 GB Notification: Performance of FrontEnd - DAE generated: time 1.804e-06/0.004104, allocations: 0 / 0.6413 GB, free: 10.6 MB / 0.6043 GB Notification: Performance of FrontEnd: time 3.71e-07/0.004104, allocations: 0 / 0.6413 GB, free: 10.6 MB / 0.6043 GB Notification: Performance of Transformations before backend: time 2.705e-06/0.004107, allocations: 4 kB / 0.6413 GB, free: 10.6 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.0003944/0.004501, allocations: 429.1 kB / 0.6417 GB, free: 10.14 MB / 0.6043 GB Notification: Performance of prepare preOptimizeDAE: time 3.942e-05/0.004541, allocations: 11.98 kB / 0.6417 GB, free: 10.12 MB / 0.6043 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.895e-05/0.00459, allocations: 32.91 kB / 0.6417 GB, free: 10.09 MB / 0.6043 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001453/0.004735, allocations: 146.2 kB / 0.6419 GB, free: 9.926 MB / 0.6043 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.621e-05/0.004751, allocations: 8.375 kB / 0.6419 GB, free: 9.918 MB / 0.6043 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.713e-05/0.004778, allocations: 24.31 kB / 0.6419 GB, free: 9.895 MB / 0.6043 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.358e-05/0.004862, allocations: 86.28 kB / 0.642 GB, free: 9.801 MB / 0.6043 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.4e-06/0.004867, allocations: 0 / 0.642 GB, free: 9.801 MB / 0.6043 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.083e-06/0.004874, allocations: 0 / 0.642 GB, free: 9.801 MB / 0.6043 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.677e-06/0.004878, allocations: 4 kB / 0.642 GB, free: 9.797 MB / 0.6043 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.761e-05/0.004906, allocations: 23.98 kB / 0.642 GB, free: 9.773 MB / 0.6043 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002911/0.005197, allocations: 259.9 kB / 0.6422 GB, free: 9.504 MB / 0.6043 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001212/0.005318, allocations: 54.48 kB / 0.6423 GB, free: 9.441 MB / 0.6043 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.34e-05/0.005341, allocations: 12.86 kB / 0.6423 GB, free: 9.426 MB / 0.6043 GB Notification: Performance of preOpt evalFunc (simulation): time 9.708e-06/0.005351, allocations: 7.984 kB / 0.6423 GB, free: 9.418 MB / 0.6043 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.685e-05/0.005438, allocations: 91.33 kB / 0.6424 GB, free: 9.316 MB / 0.6043 GB Notification: Performance of pre-optimization done (n=14): time 1.292e-06/0.005439, allocations: 0 / 0.6424 GB, free: 9.316 MB / 0.6043 GB Notification: Performance of matching and sorting (n=14): time 0.0001364/0.005576, allocations: 113.6 kB / 0.6425 GB, free: 9.199 MB / 0.6043 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.717e-05/0.005603, allocations: 59.41 kB / 0.6426 GB, free: 9.129 MB / 0.6043 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.034e-05/0.005683, allocations: 162.5 kB / 0.6427 GB, free: 8.957 MB / 0.6043 GB Notification: Performance of collectPreVariables (initialization): time 3.02e-05/0.005713, allocations: 37.7 kB / 0.6428 GB, free: 8.914 MB / 0.6043 GB Notification: Performance of collectInitialEqns (initialization): time 4.698e-05/0.00576, allocations: 104.5 kB / 0.6429 GB, free: 8.805 MB / 0.6043 GB Notification: Performance of collectInitialBindings (initialization): time 1.798e-05/0.005778, allocations: 31.8 kB / 0.6429 GB, free: 8.773 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.286e-05/0.005851, allocations: 73.56 kB / 0.643 GB, free: 8.695 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 0.0005182/0.006369, allocations: 330.8 kB / 0.6433 GB, free: 8.363 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.641e-05/0.006466, allocations: 145.1 kB / 0.6434 GB, free: 8.203 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000116/0.006582, allocations: 187.1 kB / 0.6436 GB, free: 7.98 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001429/0.006725, allocations: 226.8 kB / 0.6438 GB, free: 7.719 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.006727, allocations: 0 / 0.6438 GB, free: 7.719 MB / 0.6043 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0002572/0.006984, allocations: 379.6 kB / 0.6442 GB, free: 7.305 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 4.189e-05/0.007026, allocations: 93.09 kB / 0.6443 GB, free: 7.195 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.007031, allocations: 4 kB / 0.6443 GB, free: 7.191 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.001e-05/0.007041, allocations: 16.05 kB / 0.6443 GB, free: 7.176 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.3e-05/0.007074, allocations: 12 kB / 0.6443 GB, free: 7.164 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.156e-06/0.007077, allocations: 0 / 0.6443 GB, free: 7.164 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001697/0.007247, allocations: 67.83 kB / 0.6444 GB, free: 7.098 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.014e-05/0.007267, allocations: 11.98 kB / 0.6444 GB, free: 7.086 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 7.001e-05/0.007337, allocations: 129.8 kB / 0.6445 GB, free: 6.949 MB / 0.6043 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.193e-05/0.007349, allocations: 15.98 kB / 0.6445 GB, free: 6.934 MB / 0.6043 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.327e-05/0.007372, allocations: 20.77 kB / 0.6445 GB, free: 6.914 MB / 0.6043 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.876e-06/0.007375, allocations: 3.938 kB / 0.6445 GB, free: 6.91 MB / 0.6043 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.573e-06/0.007376, allocations: 0 / 0.6445 GB, free: 6.91 MB / 0.6043 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.4e-06/0.007382, allocations: 7.984 kB / 0.6445 GB, free: 6.902 MB / 0.6043 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.687e-05/0.007459, allocations: 97.8 kB / 0.6446 GB, free: 6.789 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.00746, allocations: 0 / 0.6446 GB, free: 6.789 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.103e-05/0.007481, allocations: 11.98 kB / 0.6446 GB, free: 6.777 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.007483, allocations: 0 / 0.6446 GB, free: 6.777 MB / 0.6043 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.751e-06/0.007488, allocations: 4 kB / 0.6446 GB, free: 6.773 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.502e-06/0.00749, allocations: 0 / 0.6446 GB, free: 6.773 MB / 0.6043 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.397e-06/0.007493, allocations: 11.94 kB / 0.6447 GB, free: 6.762 MB / 0.6043 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.906e-05/0.007592, allocations: 109.5 kB / 0.6448 GB, free: 6.637 MB / 0.6043 GB Notification: Performance of postOpt removeConstants (simulation): time 1.146e-05/0.007604, allocations: 19.89 kB / 0.6448 GB, free: 6.617 MB / 0.6043 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.758e-06/0.007614, allocations: 0 / 0.6448 GB, free: 6.617 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.429e-05/0.007628, allocations: 7.938 kB / 0.6448 GB, free: 6.609 MB / 0.6043 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.491e-05/0.007653, allocations: 15.98 kB / 0.6448 GB, free: 6.594 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.952e-06/0.007659, allocations: 7.922 kB / 0.6448 GB, free: 6.586 MB / 0.6043 GB Notification: Performance of sorting global known variables: time 2.184e-05/0.00768, allocations: 32.83 kB / 0.6448 GB, free: 6.551 MB / 0.6043 GB Notification: Performance of sort global known variables: time 4e-08/0.007681, allocations: 0 / 0.6448 GB, free: 6.551 MB / 0.6043 GB Notification: Performance of remove unused functions: time 0.0001395/0.00782, allocations: 48 kB / 0.6449 GB, free: 6.504 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 8.155e-05/0.007902, allocations: 92.28 kB / 0.645 GB, free: 6.406 MB / 0.6043 GB Notification: Performance of simCode: created initialization part: time 0.000238/0.00814, allocations: 392.1 kB / 0.6454 GB, free: 5.965 MB / 0.6043 GB Notification: Performance of simCode: created event and clocks part: time 2.514e-06/0.008142, allocations: 0 / 0.6454 GB, free: 5.965 MB / 0.6043 GB Notification: Performance of simCode: created simulation system equations: time 3.899e-05/0.008181, allocations: 40.77 kB / 0.6454 GB, free: 5.922 MB / 0.6043 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001116/0.008293, allocations: 32.3 kB / 0.6454 GB, free: 5.891 MB / 0.6043 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002546/0.008547, allocations: 233.3 kB / 0.6456 GB, free: 5.637 MB / 0.6043 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.822e-05/0.008575, allocations: 67.34 kB / 0.6457 GB, free: 5.551 MB / 0.6043 GB Notification: Performance of simCode: alias equations: time 2.456e-05/0.0086, allocations: 12.97 kB / 0.6457 GB, free: 5.539 MB / 0.6043 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001158/0.008716, allocations: 91.33 kB / 0.6458 GB, free: 5.449 MB / 0.6043 GB Notification: Performance of SimCode: time 7.31e-07/0.008717, allocations: 0 / 0.6458 GB, free: 5.449 MB / 0.6043 GB Notification: Performance of Templates: time 0.004134/0.01285, allocations: 3.27 MB / 0.649 GB, free: 2.168 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 -lv LOG_STATS > AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.Switch.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.395737502258271]