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/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.000764/0.000764, allocations: 79.69 kB / 20.03 MB, free: 4.492 MB / 18.57 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.000806/0.000806, allocations: 165.3 kB / 23.33 MB, free: 1.191 MB / 18.57 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.8486/0.8486, allocations: 177.1 MB / 203.6 MB, free: 5.719 MB / 186.7 MB " [Timeout remaining time 179] 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.0338/0.0338, allocations: 9.112 MB / 269.2 MB, free: 4.449 MB / 250.7 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/SDF master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo): time 0.0003893/0.0003893, allocations: 23.97 kB / 328.7 MB, free: 20.6 MB / 266.7 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/AixLib 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.0/package.mo): time 1.487/1.487, allocations: 275 MB / 0.6476 GB, free: 2.469 MB / 0.4949 GB [/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 178] Using package AixLib with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.0/package.mo) Using package SDF with version 0.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/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) 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) 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 1.623e-06/1.623e-06, allocations: 0 / 0.9295 GB, free: 7.91 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.774e-05/1.937e-05, allocations: 4.578 kB / 0.9295 GB, free: 7.906 MB / 0.698 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Reals.Validation.Switch): time 0.001168/0.001187, allocations: 0.7602 MB / 0.9303 GB, free: 7.172 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001019/0.002206, allocations: 1.187 MB / 0.9314 GB, free: 5.973 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.103e-05/0.002247, allocations: 1.062 kB / 0.9314 GB, free: 5.973 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 2.649e-05/0.002274, allocations: 7.875 kB / 0.9314 GB, free: 5.965 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 6.583e-05/0.002339, allocations: 12.61 kB / 0.9315 GB, free: 5.953 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.000363/0.002702, allocations: 136.8 kB / 0.9316 GB, free: 5.824 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0001375/0.00284, allocations: 135.6 kB / 0.9317 GB, free: 5.691 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 8.488e-05/0.002925, allocations: 15.97 kB / 0.9317 GB, free: 5.676 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001014/0.003026, allocations: 71.88 kB / 0.9318 GB, free: 5.605 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 7.349e-05/0.0031, allocations: 39.94 kB / 0.9318 GB, free: 5.566 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 2.226e-05/0.003122, allocations: 12.5 kB / 0.9318 GB, free: 5.555 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 5.117e-05/0.003173, allocations: 23.98 kB / 0.9319 GB, free: 5.531 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 2.019e-05/0.003193, allocations: 13.02 kB / 0.9319 GB, free: 5.52 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 4.444e-05/0.003238, allocations: 35.97 kB / 0.9319 GB, free: 5.484 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001514/0.003389, allocations: 136.7 kB / 0.932 GB, free: 5.352 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 2.004e-06/0.003391, allocations: 0 / 0.932 GB, free: 5.352 MB / 0.698 GB Notification: Performance of FrontEnd: time 9.11e-07/0.003392, allocations: 0 / 0.932 GB, free: 5.352 MB / 0.698 GB Notification: Performance of Transformations before backend: time 3.226e-06/0.003395, allocations: 0.5 kB / 0.932 GB, free: 5.352 MB / 0.698 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.0004454/0.003841, allocations: 349.1 kB / 0.9324 GB, free: 4.973 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.411e-05/0.003875, allocations: 11.98 kB / 0.9324 GB, free: 4.961 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.959e-05/0.003914, allocations: 18 kB / 0.9324 GB, free: 4.945 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.124e-05/0.003986, allocations: 125.6 kB / 0.9325 GB, free: 4.797 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.073e-05/0.003996, allocations: 8.312 kB / 0.9325 GB, free: 4.789 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.751e-05/0.004014, allocations: 7.812 kB / 0.9325 GB, free: 4.785 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001609/0.004175, allocations: 82.2 kB / 0.9326 GB, free: 4.699 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.262e-06/0.004181, allocations: 192 / 0.9326 GB, free: 4.699 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.017e-06/0.00419, allocations: 384 / 0.9326 GB, free: 4.699 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.687e-06/0.004194, allocations: 384 / 0.9326 GB, free: 4.699 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001531/0.004347, allocations: 76.56 kB / 0.9327 GB, free: 4.625 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003089/0.004656, allocations: 258.1 kB / 0.9329 GB, free: 4.344 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001032/0.004759, allocations: 54.47 kB / 0.933 GB, free: 4.281 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.039e-05/0.004839, allocations: 47.44 kB / 0.933 GB, free: 4.234 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.643e-05/0.004856, allocations: 0 / 0.933 GB, free: 4.234 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001501/0.005006, allocations: 103.3 kB / 0.9331 GB, free: 4.121 MB / 0.698 GB Notification: Performance of pre-optimization done (n=6): time 7.41e-07/0.005007, allocations: 0 / 0.9331 GB, free: 4.121 MB / 0.698 GB Notification: Performance of matching and sorting (n=6): time 0.0003497/0.005356, allocations: 168 kB / 0.9333 GB, free: 3.953 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.214e-05/0.005378, allocations: 51.41 kB / 0.9333 GB, free: 3.891 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.802e-05/0.005446, allocations: 129.9 kB / 0.9335 GB, free: 3.754 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.658e-05/0.005463, allocations: 25.7 kB / 0.9335 GB, free: 3.723 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 4.087e-05/0.005504, allocations: 96.75 kB / 0.9336 GB, free: 3.625 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.79e-05/0.005522, allocations: 23.83 kB / 0.9336 GB, free: 3.602 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.386e-05/0.005566, allocations: 30.42 kB / 0.9336 GB, free: 3.566 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 6.817e-05/0.005634, allocations: 322.8 kB / 0.9339 GB, free: 3.242 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001305/0.005764, allocations: 92.7 kB / 0.934 GB, free: 3.148 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001258/0.00589, allocations: 108.2 kB / 0.9341 GB, free: 3.027 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001902/0.00608, allocations: 147.6 kB / 0.9343 GB, free: 2.871 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.006082, allocations: 0 / 0.9343 GB, free: 2.871 MB / 0.698 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002971/0.006379, allocations: 240.9 kB / 0.9345 GB, free: 2.617 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.759e-05/0.006407, allocations: 49.41 kB / 0.9346 GB, free: 2.566 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-06/0.006411, allocations: 0 / 0.9346 GB, free: 2.566 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.069e-05/0.006422, allocations: 0 / 0.9346 GB, free: 2.566 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.383e-05/0.006496, allocations: 15.98 kB / 0.9346 GB, free: 2.551 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.031e-06/0.006502, allocations: 0 / 0.9346 GB, free: 2.551 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001128/0.006615, allocations: 39.94 kB / 0.9346 GB, free: 2.512 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.505e-05/0.00663, allocations: 8 kB / 0.9346 GB, free: 2.504 MB / 0.698 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 0.0001491/0.006779, allocations: 122.6 kB / 0.9347 GB, free: 2.375 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.546e-06/0.006787, allocations: 11.95 kB / 0.9347 GB, free: 2.363 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.939e-05/0.006807, allocations: 16.36 kB / 0.9348 GB, free: 2.348 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.525e-06/0.006809, allocations: 0 / 0.9348 GB, free: 2.348 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.92e-07/0.00681, allocations: 0 / 0.9348 GB, free: 2.348 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 7.955e-06/0.006818, allocations: 11.95 kB / 0.9348 GB, free: 2.336 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.067e-05/0.006829, allocations: 0 / 0.9348 GB, free: 2.336 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.68e-05/0.006865, allocations: 11.98 kB / 0.9348 GB, free: 2.324 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.434e-05/0.0069, allocations: 3.984 kB / 0.9348 GB, free: 2.32 MB / 0.698 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002234/0.007123, allocations: 212.9 kB / 0.935 GB, free: 2.105 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002216/0.007345, allocations: 299 kB / 0.9353 GB, free: 1.797 MB / 0.698 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 8.663e-05/0.007431, allocations: 48.02 kB / 0.9353 GB, free: 1.75 MB / 0.698 GB Notification: Performance of sorting global known variables: time 3.332e-05/0.007465, allocations: 91.36 kB / 0.9354 GB, free: 1.66 MB / 0.698 GB Notification: Performance of Backend: time 2.41e-07/0.007465, allocations: 7.938 kB / 0.9354 GB, free: 1.652 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0004153/0.00788, allocations: 251.3 kB / 0.9357 GB, free: 1.383 MB / 0.698 GB Notification: Performance of SimCode: time 0.0004559/0.008336, allocations: 0.5925 MB / 0.9362 GB, free: 0.7422 MB / 0.698 GB Notification: Performance of Templates: time 0.003051/0.01139, allocations: 1.962 MB / 0.9381 GB, free: 14.84 MB / 0.7137 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=480 -lv LOG_STATS > AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Switch.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.6241341875866055] Failed to read output from testmodel.py, exit status != 0: 0.01577929500490427 0.024027832000000002 0.019010158000000003 Calling exit ...