Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.Add.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.0007559/0.0007559, 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.0008704/0.0008704, allocations: 165.7 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.8481/0.8481, allocations: 177.1 MB / 203.6 MB, free: 5.746 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.03428/0.03428, allocations: 9.119 MB / 269.2 MB, free: 4.469 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.0003656/0.0003656, allocations: 23.95 kB / 328.7 MB, free: 20.62 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.445/1.445, allocations: 275 MB / 0.6476 GB, free: 2.508 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.Integers.Validation.Add,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.Add") translateModel(AixLib.Controls.OBC.CDL.Integers.Validation.Add,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.Add") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.174e-06/2.174e-06, allocations: 0 / 0.9295 GB, free: 8.145 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.104e-05/2.321e-05, allocations: 5.922 kB / 0.9295 GB, free: 8.141 MB / 0.698 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Integers.Validation.Add): time 0.001239/0.001262, allocations: 0.7481 MB / 0.9302 GB, free: 7.414 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0009796/0.002242, allocations: 0.888 MB / 0.9311 GB, free: 6.516 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.258e-05/0.002284, allocations: 4 kB / 0.9311 GB, free: 6.512 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 2.675e-05/0.002311, allocations: 3.938 kB / 0.9311 GB, free: 6.508 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 7.36e-05/0.002384, allocations: 11.86 kB / 0.9311 GB, free: 6.496 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.000141/0.002526, allocations: 44.36 kB / 0.9311 GB, free: 6.453 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 8.553e-05/0.002611, allocations: 88.86 kB / 0.9312 GB, free: 6.367 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 9.315e-05/0.002704, allocations: 19.91 kB / 0.9312 GB, free: 6.348 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 8.599e-05/0.00279, allocations: 55.89 kB / 0.9313 GB, free: 6.293 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 6.013e-05/0.00285, allocations: 36.66 kB / 0.9313 GB, free: 6.258 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 2.233e-05/0.002873, allocations: 8 kB / 0.9313 GB, free: 6.25 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 1.225e-05/0.002885, allocations: 8.531 kB / 0.9313 GB, free: 6.242 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 2.097e-05/0.002906, allocations: 22.41 kB / 0.9314 GB, free: 6.223 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 2.896e-05/0.002935, allocations: 23.92 kB / 0.9314 GB, free: 6.199 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001138/0.003049, allocations: 95.7 kB / 0.9315 GB, free: 6.105 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.863e-06/0.003051, allocations: 4 kB / 0.9315 GB, free: 6.102 MB / 0.698 GB Notification: Performance of FrontEnd: time 9.22e-07/0.003051, allocations: 0 / 0.9315 GB, free: 6.102 MB / 0.698 GB Notification: Performance of Transformations before backend: time 3.457e-06/0.003055, allocations: 0 / 0.9315 GB, free: 6.102 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0004164/0.003471, allocations: 315.1 kB / 0.9318 GB, free: 5.766 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.79e-05/0.003509, allocations: 11.98 kB / 0.9318 GB, free: 5.754 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.95e-05/0.003539, allocations: 9.609 kB / 0.9318 GB, free: 5.746 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.363e-05/0.003632, allocations: 125.6 kB / 0.9319 GB, free: 5.598 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.04e-05/0.003653, allocations: 5.531 kB / 0.9319 GB, free: 5.594 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.614e-05/0.003669, allocations: 8.375 kB / 0.9319 GB, free: 5.586 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001966/0.003865, allocations: 112 kB / 0.932 GB, free: 5.477 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.065e-06/0.003873, allocations: 3.938 kB / 0.932 GB, free: 5.473 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.768e-06/0.003883, allocations: 3.938 kB / 0.932 GB, free: 5.469 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.887e-06/0.003887, allocations: 0 / 0.932 GB, free: 5.469 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002004/0.004088, allocations: 103.8 kB / 0.9321 GB, free: 5.367 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003401/0.004428, allocations: 269.1 kB / 0.9324 GB, free: 5.074 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000355/0.004783, allocations: 120.1 kB / 0.9325 GB, free: 4.949 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000108/0.004891, allocations: 59.34 kB / 0.9326 GB, free: 4.891 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.634e-05/0.004907, allocations: 0 / 0.9326 GB, free: 4.891 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.659e-05/0.004924, allocations: 34.56 kB / 0.9326 GB, free: 4.848 MB / 0.698 GB Notification: Performance of pre-optimization done (n=7): time 1.683e-06/0.004925, allocations: 3.984 kB / 0.9326 GB, free: 4.844 MB / 0.698 GB Notification: Performance of matching and sorting (n=7): time 0.0003895/0.005315, allocations: 180.3 kB / 0.9328 GB, free: 4.664 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.204e-05/0.005337, allocations: 55.39 kB / 0.9328 GB, free: 4.598 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.091e-05/0.005408, allocations: 120.9 kB / 0.9329 GB, free: 4.473 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.34e-05/0.005421, allocations: 29.7 kB / 0.933 GB, free: 4.438 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 4.012e-05/0.005461, allocations: 101 kB / 0.9331 GB, free: 4.336 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.796e-05/0.005479, allocations: 11.91 kB / 0.9331 GB, free: 4.324 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.414e-05/0.005513, allocations: 30.27 kB / 0.9331 GB, free: 4.289 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 7.876e-05/0.005592, allocations: 322.8 kB / 0.9334 GB, free: 3.965 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001001/0.005692, allocations: 51.38 kB / 0.9335 GB, free: 3.918 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.258e-05/0.005785, allocations: 52 kB / 0.9335 GB, free: 3.867 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001878/0.005973, allocations: 88.78 kB / 0.9336 GB, free: 3.777 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.005975, allocations: 3.75 kB / 0.9336 GB, free: 3.777 MB / 0.698 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002273/0.006202, allocations: 137.5 kB / 0.9337 GB, free: 3.637 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.041e-05/0.006212, allocations: 4 kB / 0.9337 GB, free: 3.633 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.898e-06/0.006216, allocations: 0 / 0.9337 GB, free: 3.633 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.111e-05/0.006227, allocations: 0 / 0.9337 GB, free: 3.633 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.377e-05/0.006311, allocations: 28.78 kB / 0.9338 GB, free: 3.605 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.955e-06/0.006319, allocations: 4 kB / 0.9338 GB, free: 3.602 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.259e-05/0.006372, allocations: 19.92 kB / 0.9338 GB, free: 3.582 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.892e-06/0.006379, allocations: 7.938 kB / 0.9338 GB, free: 3.574 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (reaToInt1.y,reaToInt.y,add1.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): 7 * Array equations: 0 * Algorithm blocks: 0 * 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.393e-05/0.006443, allocations: 121.8 kB / 0.9339 GB, free: 3.445 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.854e-05/0.006461, allocations: 7.953 kB / 0.9339 GB, free: 3.438 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.817e-05/0.006479, allocations: 8.438 kB / 0.9339 GB, free: 3.43 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.465e-06/0.006482, allocations: 0 / 0.9339 GB, free: 3.43 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.325e-06/0.006484, allocations: 4 kB / 0.9339 GB, free: 3.426 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 9.909e-06/0.006494, allocations: 7.953 kB / 0.9339 GB, free: 3.418 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.357e-05/0.006507, allocations: 4 kB / 0.9339 GB, free: 3.414 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.988e-05/0.006577, allocations: 19.97 kB / 0.934 GB, free: 3.395 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.204e-05/0.006639, allocations: 23.91 kB / 0.934 GB, free: 3.371 MB / 0.698 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002794/0.006919, allocations: 224.8 kB / 0.9342 GB, free: 3.145 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002738/0.007193, allocations: 310.7 kB / 0.9345 GB, free: 2.824 MB / 0.698 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001143/0.007307, allocations: 55.95 kB / 0.9346 GB, free: 2.77 MB / 0.698 GB Notification: Performance of sorting global known variables: time 3.841e-05/0.007345, allocations: 95.27 kB / 0.9346 GB, free: 2.676 MB / 0.698 GB Notification: Performance of Backend: time 1.31e-07/0.007345, allocations: 0 / 0.9346 GB, free: 2.676 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0003293/0.007675, allocations: 130.3 kB / 0.9348 GB, free: 2.543 MB / 0.698 GB Notification: Performance of SimCode: time 0.0004572/0.008132, allocations: 0.6197 MB / 0.9354 GB, free: 1.875 MB / 0.698 GB Notification: Performance of Templates: time 0.003213/0.01134, allocations: 1.92 MB / 0.9372 GB, free: 15.99 MB / 0.7137 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.Add.makefile [Timeout 660] (rm -f AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.Add.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.Add.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.Add.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.Add.sim & ./AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.Add -abortSlowSimulation -alarm=480 -lv LOG_STATS > AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.Add.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.509101805277169] Failed to read output from testmodel.py, exit status != 0: 0.016385698691010475 0.024699615 0.019809552 Calling exit ...