Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Line.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.0007391/0.0007391, 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.0007627/0.0007627, 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.843/0.843, allocations: 177.1 MB / 203.6 MB, free: 5.727 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.03343/0.03343, allocations: 9.127 MB / 269.2 MB, free: 4.445 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.0003715/0.0003715, allocations: 27.95 kB / 328.7 MB, free: 5.793 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.509/1.509, allocations: 274.9 MB / 0.6476 GB, free: 2.848 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.Line,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Line") translateModel(AixLib.Controls.OBC.CDL.Reals.Validation.Line,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Line") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 3.938 kB / 0.9295 GB, free: 20.85 MB / 0.7293 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.356e-05/1.514e-05, allocations: 11.94 kB / 0.9295 GB, free: 20.84 MB / 0.7293 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Reals.Validation.Line): time 0.001138/0.001153, allocations: 0.8275 MB / 0.9303 GB, free: 20.31 MB / 0.7293 GB Notification: Performance of NFInst.instExpressions: time 0.0007617/0.001915, allocations: 0.91 MB / 0.9312 GB, free: 19.63 MB / 0.7293 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.462e-05/0.00198, allocations: 6.188 kB / 0.9312 GB, free: 19.62 MB / 0.7293 GB Notification: Performance of NFTyping.typeComponents: time 2.963e-05/0.002009, allocations: 15.11 kB / 0.9313 GB, free: 19.61 MB / 0.7293 GB Notification: Performance of NFTyping.typeBindings: time 6.886e-05/0.002078, allocations: 13 kB / 0.9313 GB, free: 19.6 MB / 0.7293 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001632/0.002241, allocations: 61.56 kB / 0.9313 GB, free: 19.57 MB / 0.7293 GB Notification: Performance of NFFlatten.flatten: time 0.000161/0.002402, allocations: 139.8 kB / 0.9315 GB, free: 19.51 MB / 0.7293 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001237/0.002526, allocations: 51.48 kB / 0.9315 GB, free: 19.48 MB / 0.7293 GB Notification: Performance of NFEvalConstants.evaluate: time 8.752e-05/0.002614, allocations: 73.61 kB / 0.9316 GB, free: 19.44 MB / 0.7293 GB Notification: Performance of NFSimplifyModel.simplify: time 6.062e-05/0.002674, allocations: 43.52 kB / 0.9316 GB, free: 19.43 MB / 0.7293 GB Notification: Performance of NFPackage.collectConstants: time 2.624e-05/0.0027, allocations: 16.12 kB / 0.9316 GB, free: 19.42 MB / 0.7293 GB Notification: Performance of NFFlatten.collectFunctions: time 1.565e-05/0.002716, allocations: 13.09 kB / 0.9316 GB, free: 19.42 MB / 0.7293 GB Notification: Performance of NFScalarize.scalarize: time 2.72e-05/0.002743, allocations: 34.61 kB / 0.9317 GB, free: 19.4 MB / 0.7293 GB Notification: Performance of NFVerifyModel.verify: time 3.673e-05/0.00278, allocations: 45.56 kB / 0.9317 GB, free: 19.37 MB / 0.7293 GB Notification: Performance of NFConvertDAE.convert: time 0.0001635/0.002943, allocations: 142.1 kB / 0.9319 GB, free: 19.32 MB / 0.7293 GB Notification: Performance of FrontEnd - DAE generated: time 2.234e-06/0.002946, allocations: 5.062 kB / 0.9319 GB, free: 19.31 MB / 0.7293 GB Notification: Performance of FrontEnd: time 1.032e-06/0.002947, allocations: 0 / 0.9319 GB, free: 19.31 MB / 0.7293 GB Notification: Performance of Transformations before backend: time 3.556e-06/0.00295, allocations: 0 / 0.9319 GB, free: 19.31 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: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.000408/0.003358, allocations: 367.8 kB / 0.9322 GB, free: 19 MB / 0.7293 GB Notification: Performance of prepare preOptimizeDAE: time 3.613e-05/0.003394, allocations: 13.73 kB / 0.9322 GB, free: 18.99 MB / 0.7293 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.336e-05/0.003428, allocations: 15.62 kB / 0.9322 GB, free: 18.98 MB / 0.7293 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001562/0.003584, allocations: 160.7 kB / 0.9324 GB, free: 18.83 MB / 0.7293 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.182e-05/0.003596, allocations: 9.938 kB / 0.9324 GB, free: 18.82 MB / 0.7293 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.818e-05/0.003614, allocations: 13.25 kB / 0.9324 GB, free: 18.82 MB / 0.7293 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002293/0.003843, allocations: 224.3 kB / 0.9326 GB, free: 18.66 MB / 0.7293 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.015e-06/0.003851, allocations: 4.125 kB / 0.9326 GB, free: 18.65 MB / 0.7293 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.358e-05/0.003865, allocations: 10.56 kB / 0.9326 GB, free: 18.64 MB / 0.7293 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/0.00387, allocations: 3.062 kB / 0.9327 GB, free: 18.64 MB / 0.7293 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001803/0.00405, allocations: 133.4 kB / 0.9328 GB, free: 18.6 MB / 0.7293 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004436/0.004494, allocations: 392.3 kB / 0.9332 GB, free: 18.31 MB / 0.7293 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001296/0.004623, allocations: 77.86 kB / 0.9332 GB, free: 18.27 MB / 0.7293 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.334e-05/0.004696, allocations: 48.16 kB / 0.9333 GB, free: 18.25 MB / 0.7293 GB Notification: Performance of preOpt evalFunc (simulation): time 2.434e-05/0.004721, allocations: 1.469 kB / 0.9333 GB, free: 18.25 MB / 0.7293 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.825e-05/0.004739, allocations: 37.5 kB / 0.9333 GB, free: 18.2 MB / 0.7293 GB Notification: Performance of pre-optimization done (n=10): time 1.313e-06/0.00474, allocations: 0 / 0.9333 GB, free: 18.2 MB / 0.7293 GB Notification: Performance of matching and sorting (n=10): time 0.0003079/0.005048, allocations: 155 kB / 0.9335 GB, free: 18.13 MB / 0.7293 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.192e-05/0.00506, allocations: 54.27 kB / 0.9335 GB, free: 18.07 MB / 0.7293 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.828e-05/0.005149, allocations: 142.6 kB / 0.9336 GB, free: 17.96 MB / 0.7293 GB Notification: Performance of collectPreVariables (initialization): time 9.518e-06/0.005158, allocations: 31.59 kB / 0.9337 GB, free: 17.92 MB / 0.7293 GB Notification: Performance of collectInitialEqns (initialization): time 4.552e-05/0.005204, allocations: 124.3 kB / 0.9338 GB, free: 17.81 MB / 0.7293 GB Notification: Performance of collectInitialBindings (initialization): time 1.602e-05/0.00522, allocations: 34.56 kB / 0.9338 GB, free: 17.78 MB / 0.7293 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.545e-05/0.005255, allocations: 32.17 kB / 0.9339 GB, free: 17.75 MB / 0.7293 GB Notification: Performance of setup shared object (initialization): time 3.154e-05/0.005287, allocations: 320.6 kB / 0.9342 GB, free: 17.44 MB / 0.7293 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.479e-05/0.005361, allocations: 36.91 kB / 0.9342 GB, free: 17.43 MB / 0.7293 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.788e-05/0.005429, allocations: 42.69 kB / 0.9342 GB, free: 17.42 MB / 0.7293 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00014/0.005569, allocations: 97.61 kB / 0.9343 GB, free: 17.38 MB / 0.7293 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.005571, allocations: 1.219 kB / 0.9343 GB, free: 17.38 MB / 0.7293 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001837/0.005755, allocations: 141.8 kB / 0.9345 GB, free: 17.31 MB / 0.7293 GB Notification: Performance of prepare postOptimizeDAE: time 1.401e-05/0.005769, allocations: 11.81 kB / 0.9345 GB, free: 17.3 MB / 0.7293 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.005775, allocations: 4.641 kB / 0.9345 GB, free: 17.3 MB / 0.7293 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.262e-05/0.005788, allocations: 1.531 kB / 0.9345 GB, free: 17.3 MB / 0.7293 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001023/0.00589, allocations: 28 kB / 0.9345 GB, free: 17.3 MB / 0.7293 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.031e-05/0.005901, allocations: 4 kB / 0.9345 GB, free: 17.29 MB / 0.7293 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.263e-05/0.005943, allocations: 12.53 kB / 0.9345 GB, free: 17.29 MB / 0.7293 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.805e-06/0.005951, allocations: 2.906 kB / 0.9345 GB, free: 17.29 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 (13): * Single equations (assignments): 13 * 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 4.866e-05/0.006, allocations: 127.5 kB / 0.9347 GB, free: 17.16 MB / 0.7293 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.016e-05/0.00602, allocations: 10.28 kB / 0.9347 GB, free: 17.16 MB / 0.7293 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002045/0.006224, allocations: 141.6 kB / 0.9348 GB, free: 17.08 MB / 0.7293 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.006228, allocations: 0.5625 kB / 0.9348 GB, free: 17.08 MB / 0.7293 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/0.00623, allocations: 2.109 kB / 0.9348 GB, free: 17.08 MB / 0.7293 GB Notification: Performance of postOpt removeConstants (simulation): time 1.285e-05/0.006243, allocations: 12.11 kB / 0.9348 GB, free: 17.07 MB / 0.7293 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.259e-05/0.006255, allocations: 5.188 kB / 0.9348 GB, free: 17.07 MB / 0.7293 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.414e-05/0.006319, allocations: 12.94 kB / 0.9348 GB, free: 17.07 MB / 0.7293 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.601e-05/0.006356, allocations: 10.39 kB / 0.9348 GB, free: 17.06 MB / 0.7293 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001708/0.006526, allocations: 202.3 kB / 0.935 GB, free: 16.93 MB / 0.7293 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001639/0.00669, allocations: 296.5 kB / 0.9353 GB, free: 16.69 MB / 0.7293 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 6.9e-05/0.006759, allocations: 40.52 kB / 0.9354 GB, free: 16.68 MB / 0.7293 GB Notification: Performance of sorting global known variables: time 3.647e-05/0.006796, allocations: 106.5 kB / 0.9355 GB, free: 16.59 MB / 0.7293 GB Notification: Performance of Backend: time 1.21e-07/0.006796, allocations: 0 / 0.9355 GB, free: 16.59 MB / 0.7293 GB Notification: Performance of simCode: created initialization part: time 0.0002829/0.007079, allocations: 135.3 kB / 0.9356 GB, free: 16.51 MB / 0.7293 GB Notification: Performance of SimCode: time 0.0003389/0.007418, allocations: 0.6643 MB / 0.9362 GB, free: 15.87 MB / 0.7293 GB Notification: Performance of Templates: time 0.002979/0.0104, allocations: 1.444 MB / 0.9376 GB, free: 15.7 MB / 0.7293 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Line.makefile [Timeout 660] (rm -f AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Line.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Line.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Line.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Line.sim & ./AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Line -abortSlowSimulation -alarm=480 -lv LOG_STATS > AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Line.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.615381681360304] Failed to read output from testmodel.py, exit status != 0: 0.014637436717748642 0.022823507 0.018258225 Calling exit ...