Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Abs.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.0007356/0.0007356, 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.0007664/0.0007664, 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.9976/0.9976, 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.03772/0.03772, allocations: 9.118 MB / 269.2 MB, free: 4.453 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.0003523/0.0003523, allocations: 19.95 kB / 328.7 MB, free: 5.781 MB / 298.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.506/1.506, allocations: 275 MB / 0.6476 GB, free: 2.844 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.Abs,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Abs") translateModel(AixLib.Controls.OBC.CDL.Reals.Validation.Abs,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Abs") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.245e-06/2.245e-06, allocations: 0 / 0.9295 GB, free: 20.88 MB / 0.7293 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.795e-05/3.02e-05, allocations: 2.281 kB / 0.9295 GB, free: 20.88 MB / 0.7293 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Reals.Validation.Abs): time 0.001142/0.001172, allocations: 0.6469 MB / 0.9302 GB, free: 20.48 MB / 0.7293 GB Notification: Performance of NFInst.instExpressions: time 0.000733/0.001905, allocations: 0.8849 MB / 0.931 GB, free: 19.81 MB / 0.7293 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.114e-05/0.001936, allocations: 0 / 0.931 GB, free: 19.81 MB / 0.7293 GB Notification: Performance of NFTyping.typeComponents: time 2.236e-05/0.001959, allocations: 0.8438 kB / 0.931 GB, free: 19.81 MB / 0.7293 GB Notification: Performance of NFTyping.typeBindings: time 6.16e-05/0.00202, allocations: 5.375 kB / 0.931 GB, free: 19.81 MB / 0.7293 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001731/0.002193, allocations: 13.38 kB / 0.931 GB, free: 19.8 MB / 0.7293 GB Notification: Performance of NFFlatten.flatten: time 7.007e-05/0.002264, allocations: 24.11 kB / 0.9311 GB, free: 19.79 MB / 0.7293 GB Notification: Performance of NFFlatten.resolveConnections: time 8.74e-05/0.002351, allocations: 3.438 kB / 0.9311 GB, free: 19.79 MB / 0.7293 GB Notification: Performance of NFEvalConstants.evaluate: time 6.595e-05/0.002417, allocations: 14.58 kB / 0.9311 GB, free: 19.78 MB / 0.7293 GB Notification: Performance of NFSimplifyModel.simplify: time 3.84e-05/0.002455, allocations: 9.234 kB / 0.9311 GB, free: 19.78 MB / 0.7293 GB Notification: Performance of NFPackage.collectConstants: time 1.694e-05/0.002472, allocations: 2.75 kB / 0.9311 GB, free: 19.78 MB / 0.7293 GB Notification: Performance of NFFlatten.collectFunctions: time 6.723e-06/0.002479, allocations: 5.031 kB / 0.9311 GB, free: 19.77 MB / 0.7293 GB Notification: Performance of NFScalarize.scalarize: time 1.344e-05/0.002492, allocations: 6.703 kB / 0.9311 GB, free: 19.77 MB / 0.7293 GB Notification: Performance of NFVerifyModel.verify: time 1.839e-05/0.002511, allocations: 3.531 kB / 0.9311 GB, free: 19.77 MB / 0.7293 GB Notification: Performance of NFConvertDAE.convert: time 7.368e-05/0.002584, allocations: 24.72 kB / 0.9311 GB, free: 19.76 MB / 0.7293 GB Notification: Performance of FrontEnd - DAE generated: time 1.863e-06/0.002586, allocations: 1.125 kB / 0.9311 GB, free: 19.76 MB / 0.7293 GB Notification: Performance of FrontEnd: time 8.01e-07/0.002587, allocations: 0 / 0.9311 GB, free: 19.76 MB / 0.7293 GB Notification: Performance of Transformations before backend: time 3.386e-06/0.002591, allocations: 0 / 0.9311 GB, free: 19.76 MB / 0.7293 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0002731/0.002864, allocations: 272.4 kB / 0.9314 GB, free: 19.48 MB / 0.7293 GB Notification: Performance of prepare preOptimizeDAE: time 3.491e-05/0.002899, allocations: 12.27 kB / 0.9314 GB, free: 19.48 MB / 0.7293 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.349e-05/0.002922, allocations: 3.875 kB / 0.9314 GB, free: 19.48 MB / 0.7293 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.246e-05/0.002974, allocations: 108.7 kB / 0.9315 GB, free: 19.35 MB / 0.7293 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.578e-06/0.002984, allocations: 1.781 kB / 0.9315 GB, free: 19.35 MB / 0.7293 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.949e-06/0.002994, allocations: 2 kB / 0.9315 GB, free: 19.35 MB / 0.7293 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001143/0.003108, allocations: 48.73 kB / 0.9316 GB, free: 19.31 MB / 0.7293 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.181e-06/0.003115, allocations: 192 / 0.9316 GB, free: 19.31 MB / 0.7293 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.116e-06/0.003123, allocations: 384 / 0.9316 GB, free: 19.31 MB / 0.7293 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.917e-06/0.003127, allocations: 1.75 kB / 0.9316 GB, free: 19.31 MB / 0.7293 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.974e-05/0.003216, allocations: 40.3 kB / 0.9316 GB, free: 19.3 MB / 0.7293 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001991/0.003415, allocations: 202.1 kB / 0.9318 GB, free: 19.09 MB / 0.7293 GB Notification: Performance of preOpt comSubExp (simulation): time 7.346e-05/0.003489, allocations: 36.03 kB / 0.9318 GB, free: 19.06 MB / 0.7293 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.582e-05/0.003535, allocations: 20.84 kB / 0.9319 GB, free: 19.05 MB / 0.7293 GB Notification: Performance of preOpt evalFunc (simulation): time 1.66e-05/0.003551, allocations: 0 / 0.9319 GB, free: 19.05 MB / 0.7293 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.369e-05/0.003565, allocations: 32.86 kB / 0.9319 GB, free: 19.01 MB / 0.7293 GB Notification: Performance of pre-optimization done (n=2): time 6.22e-07/0.003566, allocations: 3.938 kB / 0.9319 GB, free: 19.01 MB / 0.7293 GB Notification: Performance of matching and sorting (n=2): time 0.000207/0.003773, allocations: 91.73 kB / 0.932 GB, free: 18.96 MB / 0.7293 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.141e-05/0.003784, allocations: 52.66 kB / 0.932 GB, free: 18.89 MB / 0.7293 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.097e-05/0.003825, allocations: 101.8 kB / 0.9321 GB, free: 18.79 MB / 0.7293 GB Notification: Performance of collectPreVariables (initialization): time 5.72e-06/0.003831, allocations: 25.7 kB / 0.9321 GB, free: 18.76 MB / 0.7293 GB Notification: Performance of collectInitialEqns (initialization): time 1.817e-05/0.003849, allocations: 81.97 kB / 0.9322 GB, free: 18.68 MB / 0.7293 GB Notification: Performance of collectInitialBindings (initialization): time 1.473e-05/0.003864, allocations: 5.922 kB / 0.9322 GB, free: 18.68 MB / 0.7293 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.077e-05/0.003884, allocations: 16.28 kB / 0.9322 GB, free: 18.66 MB / 0.7293 GB Notification: Performance of setup shared object (initialization): time 2.539e-05/0.00391, allocations: 313.2 kB / 0.9325 GB, free: 18.34 MB / 0.7293 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.086e-05/0.003951, allocations: 18.53 kB / 0.9326 GB, free: 18.34 MB / 0.7293 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.619e-05/0.003987, allocations: 18.7 kB / 0.9326 GB, free: 18.34 MB / 0.7293 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.524e-05/0.004062, allocations: 36.86 kB / 0.9326 GB, free: 18.32 MB / 0.7293 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.004064, allocations: 0 / 0.9326 GB, free: 18.32 MB / 0.7293 GB Notification: Performance of matching and sorting (n=2) (initialization): time 9.777e-05/0.004162, allocations: 68.16 kB / 0.9327 GB, free: 18.29 MB / 0.7293 GB Notification: Performance of prepare postOptimizeDAE: time 1.154e-05/0.004173, allocations: 4.703 kB / 0.9327 GB, free: 18.29 MB / 0.7293 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.639e-06/0.004178, allocations: 5.625 kB / 0.9327 GB, free: 18.28 MB / 0.7293 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.909e-06/0.004188, allocations: 3.938 kB / 0.9327 GB, free: 18.28 MB / 0.7293 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.67e-05/0.004244, allocations: 9.672 kB / 0.9327 GB, free: 18.28 MB / 0.7293 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.492e-06/0.004251, allocations: 0 / 0.9327 GB, free: 18.28 MB / 0.7293 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.363e-05/0.004274, allocations: 14.27 kB / 0.9327 GB, free: 18.27 MB / 0.7293 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.278e-06/0.004279, allocations: 5.156 kB / 0.9327 GB, free: 18.27 MB / 0.7293 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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 3.204e-05/0.004311, allocations: 108.6 kB / 0.9328 GB, free: 18.15 MB / 0.7293 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.554e-05/0.004326, allocations: 5.75 kB / 0.9328 GB, free: 18.15 MB / 0.7293 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.703e-05/0.004343, allocations: 5.141 kB / 0.9328 GB, free: 18.15 MB / 0.7293 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.004346, allocations: 7.938 kB / 0.9328 GB, free: 18.14 MB / 0.7293 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.31e-07/0.004347, allocations: 1.469 kB / 0.9328 GB, free: 18.14 MB / 0.7293 GB Notification: Performance of postOpt removeConstants (simulation): time 5.53e-06/0.004352, allocations: 5.906 kB / 0.9328 GB, free: 18.14 MB / 0.7293 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.626e-06/0.004361, allocations: 0.7031 kB / 0.9329 GB, free: 18.14 MB / 0.7293 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.823e-05/0.004399, allocations: 7.078 kB / 0.9329 GB, free: 18.14 MB / 0.7293 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.072e-05/0.00443, allocations: 2.516 kB / 0.9329 GB, free: 18.14 MB / 0.7293 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001132/0.004543, allocations: 146.8 kB / 0.933 GB, free: 18.02 MB / 0.7293 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001093/0.004652, allocations: 242.7 kB / 0.9332 GB, free: 17.8 MB / 0.7293 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 4.814e-05/0.0047, allocations: 15.78 kB / 0.9332 GB, free: 17.8 MB / 0.7293 GB Notification: Performance of sorting global known variables: time 1.4e-05/0.004714, allocations: 84.55 kB / 0.9333 GB, free: 17.73 MB / 0.7293 GB Notification: Performance of Backend: time 1.3e-07/0.004714, allocations: 0 / 0.9333 GB, free: 17.73 MB / 0.7293 GB Notification: Performance of simCode: created initialization part: time 0.000237/0.004951, allocations: 96.92 kB / 0.9334 GB, free: 17.66 MB / 0.7293 GB Notification: Performance of SimCode: time 0.0002642/0.005216, allocations: 0.5539 MB / 0.934 GB, free: 17.07 MB / 0.7293 GB Notification: Performance of Templates: time 0.001809/0.007025, allocations: 0.576 MB / 0.9345 GB, free: 17 MB / 0.7293 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Abs.makefile [Timeout 660] (rm -f AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Abs.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Abs.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Abs.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Abs.sim & ./AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Abs -abortSlowSimulation -alarm=480 -lv LOG_STATS > AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Abs.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.867207477800548] Failed to read output from testmodel.py, exit status != 0: 0.011664239689707756 0.019736434 0.015545775000000001 Calling exit ...