Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Controls.OBC.CDL.Reals.Sources.Validation.Constant.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.0007528/0.0007528, allocations: 79.69 kB / 20.03 MB, free: 4.488 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.000779/0.000779, allocations: 165.3 kB / 23.33 MB, free: 1.188 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.8529/0.8529, allocations: 177.1 MB / 203.6 MB, free: 5.715 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.04001/0.04001, allocations: 9.126 MB / 269.2 MB, free: 4.438 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.0003662/0.0003662, allocations: 27.95 kB / 328.7 MB, free: 5.797 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.523/1.523, allocations: 274.9 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.Sources.Validation.Constant,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Reals.Sources.Validation.Constant") translateModel(AixLib.Controls.OBC.CDL.Reals.Sources.Validation.Constant,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Reals.Sources.Validation.Constant") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.764e-06/1.764e-06, allocations: 0 / 0.9295 GB, free: 20.88 MB / 0.7293 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.702e-05/1.879e-05, allocations: 5.516 kB / 0.9295 GB, free: 20.88 MB / 0.7293 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Reals.Sources.Validation.Constant): time 0.0009829/0.001002, allocations: 0.5663 MB / 0.9301 GB, free: 20.53 MB / 0.7293 GB Notification: Performance of NFInst.instExpressions: time 3.68e-05/0.001038, allocations: 1.188 kB / 0.9301 GB, free: 20.53 MB / 0.7293 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.893e-05/0.001067, allocations: 0 / 0.9301 GB, free: 20.53 MB / 0.7293 GB Notification: Performance of NFTyping.typeComponents: time 2.518e-05/0.001093, allocations: 0 / 0.9301 GB, free: 20.53 MB / 0.7293 GB Notification: Performance of NFTyping.typeBindings: time 2.88e-05/0.001121, allocations: 5.156 kB / 0.9301 GB, free: 20.53 MB / 0.7293 GB Notification: Performance of NFTyping.typeClassSections: time 3.051e-05/0.001152, allocations: 1.078 kB / 0.9301 GB, free: 20.53 MB / 0.7293 GB Notification: Performance of NFFlatten.flatten: time 5.07e-05/0.001203, allocations: 5.156 kB / 0.9301 GB, free: 20.52 MB / 0.7293 GB Notification: Performance of NFFlatten.resolveConnections: time 4.445e-05/0.001247, allocations: 5.969 kB / 0.9301 GB, free: 20.52 MB / 0.7293 GB Notification: Performance of NFEvalConstants.evaluate: time 2.732e-05/0.001274, allocations: 5.203 kB / 0.9301 GB, free: 20.52 MB / 0.7293 GB Notification: Performance of NFSimplifyModel.simplify: time 2.123e-05/0.001296, allocations: 1.312 kB / 0.9301 GB, free: 20.52 MB / 0.7293 GB Notification: Performance of NFPackage.collectConstants: time 1.365e-05/0.001309, allocations: 0 / 0.9301 GB, free: 20.52 MB / 0.7293 GB Notification: Performance of NFFlatten.collectFunctions: time 3.556e-06/0.001313, allocations: 0 / 0.9301 GB, free: 20.52 MB / 0.7293 GB Notification: Performance of NFScalarize.scalarize: time 1.277e-05/0.001326, allocations: 0 / 0.9301 GB, free: 20.52 MB / 0.7293 GB Notification: Performance of NFVerifyModel.verify: time 1.738e-05/0.001343, allocations: 2.062 kB / 0.9301 GB, free: 20.52 MB / 0.7293 GB Notification: Performance of NFConvertDAE.convert: time 5.564e-05/0.001399, allocations: 2.469 kB / 0.9301 GB, free: 20.52 MB / 0.7293 GB Notification: Performance of FrontEnd - DAE generated: time 1.803e-06/0.0014, allocations: 3.938 kB / 0.9301 GB, free: 20.51 MB / 0.7293 GB Notification: Performance of FrontEnd: time 9.52e-07/0.001401, allocations: 0 / 0.9301 GB, free: 20.51 MB / 0.7293 GB Notification: Performance of Transformations before backend: time 3.617e-06/0.001405, allocations: 1.5 kB / 0.9301 GB, free: 20.51 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002006/0.001606, allocations: 243.5 kB / 0.9303 GB, free: 20.25 MB / 0.7293 GB Notification: Performance of prepare preOptimizeDAE: time 3.861e-05/0.001644, allocations: 12.73 kB / 0.9303 GB, free: 20.24 MB / 0.7293 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.166e-05/0.001666, allocations: 2.594 kB / 0.9303 GB, free: 20.24 MB / 0.7293 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.67e-05/0.001723, allocations: 103.8 kB / 0.9304 GB, free: 20.12 MB / 0.7293 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.002e-05/0.001733, allocations: 1.594 kB / 0.9304 GB, free: 20.12 MB / 0.7293 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.022e-05/0.001743, allocations: 384 / 0.9304 GB, free: 20.12 MB / 0.7293 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.592e-05/0.001809, allocations: 37.86 kB / 0.9305 GB, free: 20.08 MB / 0.7293 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.274e-06/0.001816, allocations: 192 / 0.9305 GB, free: 20.08 MB / 0.7293 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.243e-06/0.001823, allocations: 384 / 0.9305 GB, free: 20.08 MB / 0.7293 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.638e-06/0.001828, allocations: 4.359 kB / 0.9305 GB, free: 20.07 MB / 0.7293 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.422e-05/0.001842, allocations: 14.5 kB / 0.9305 GB, free: 20.06 MB / 0.7293 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001739/0.002016, allocations: 330.8 kB / 0.9308 GB, free: 19.71 MB / 0.7293 GB Notification: Performance of preOpt comSubExp (simulation): time 3.555e-05/0.002051, allocations: 167.2 kB / 0.931 GB, free: 19.54 MB / 0.7293 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.274e-05/0.002064, allocations: 84.14 kB / 0.9311 GB, free: 19.46 MB / 0.7293 GB Notification: Performance of preOpt evalFunc (simulation): time 1.131e-05/0.002076, allocations: 75.94 kB / 0.9311 GB, free: 19.38 MB / 0.7293 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.694e-05/0.002092, allocations: 112.2 kB / 0.9312 GB, free: 19.27 MB / 0.7293 GB Notification: Performance of pre-optimization done (n=0): time 7.72e-07/0.002093, allocations: 0 / 0.9312 GB, free: 19.27 MB / 0.7293 GB Notification: Performance of matching and sorting (n=0): time 4.964e-05/0.002143, allocations: 40.12 kB / 0.9313 GB, free: 19.22 MB / 0.7293 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.202e-05/0.002155, allocations: 51.41 kB / 0.9313 GB, free: 19.16 MB / 0.7293 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.544e-05/0.0022, allocations: 91.94 kB / 0.9314 GB, free: 19.06 MB / 0.7293 GB Notification: Performance of collectPreVariables (initialization): time 4.829e-06/0.002205, allocations: 31.11 kB / 0.9314 GB, free: 19.03 MB / 0.7293 GB Notification: Performance of collectInitialEqns (initialization): time 1.29e-05/0.002218, allocations: 80.94 kB / 0.9315 GB, free: 18.95 MB / 0.7293 GB Notification: Performance of collectInitialBindings (initialization): time 1.583e-06/0.00222, allocations: 0 / 0.9315 GB, free: 18.95 MB / 0.7293 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.221e-05/0.002232, allocations: 12.03 kB / 0.9315 GB, free: 18.93 MB / 0.7293 GB Notification: Performance of setup shared object (initialization): time 2.794e-05/0.00226, allocations: 316.5 kB / 0.9318 GB, free: 18.61 MB / 0.7293 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.037e-06/0.002264, allocations: 0 / 0.9318 GB, free: 18.61 MB / 0.7293 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.495e-06/0.002266, allocations: 0 / 0.9318 GB, free: 18.61 MB / 0.7293 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.075e-06/0.002274, allocations: 76.7 kB / 0.9319 GB, free: 18.54 MB / 0.7293 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.661e-06/0.00228, allocations: 76.38 kB / 0.932 GB, free: 18.46 MB / 0.7293 GB Notification: Performance of matching and sorting (n=0) (initialization): time 2.815e-05/0.002308, allocations: 32.59 kB / 0.932 GB, free: 18.43 MB / 0.7293 GB Notification: Performance of prepare postOptimizeDAE: time 1.718e-05/0.002325, allocations: 81.31 kB / 0.9321 GB, free: 18.36 MB / 0.7293 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.476e-06/0.002334, allocations: 81.25 kB / 0.9322 GB, free: 18.28 MB / 0.7293 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.108e-05/0.002355, allocations: 155.7 kB / 0.9323 GB, free: 18.12 MB / 0.7293 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.933e-06/0.002362, allocations: 81.02 kB / 0.9324 GB, free: 18.05 MB / 0.7293 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.554e-05/0.002377, allocations: 152.5 kB / 0.9325 GB, free: 17.9 MB / 0.7293 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.088e-05/0.002408, allocations: 85.28 kB / 0.9326 GB, free: 17.82 MB / 0.7293 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.991e-06/0.002414, allocations: 76.38 kB / 0.9327 GB, free: 17.74 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 (0): * Single equations (assignments): 0 * 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.63e-05/0.002451, allocations: 259 kB / 0.9329 GB, free: 17.48 MB / 0.7293 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.924e-05/0.00247, allocations: 106.9 kB / 0.933 GB, free: 17.37 MB / 0.7293 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.628e-05/0.002486, allocations: 107 kB / 0.9331 GB, free: 17.27 MB / 0.7293 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.565e-05/0.002502, allocations: 186.6 kB / 0.9333 GB, free: 17.08 MB / 0.7293 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.387e-06/0.002511, allocations: 111 kB / 0.9334 GB, free: 16.96 MB / 0.7293 GB Notification: Performance of postOpt removeConstants (simulation): time 1.277e-05/0.002524, allocations: 107.1 kB / 0.9335 GB, free: 16.86 MB / 0.7293 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.026e-05/0.002544, allocations: 178.9 kB / 0.9337 GB, free: 16.68 MB / 0.7293 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.965e-05/0.002574, allocations: 111.2 kB / 0.9338 GB, free: 16.56 MB / 0.7293 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.776e-05/0.002592, allocations: 178 kB / 0.934 GB, free: 16.38 MB / 0.7293 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 2.039e-05/0.002612, allocations: 261.5 kB / 0.9342 GB, free: 16.12 MB / 0.7293 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 5.011e-05/0.002662, allocations: 386.9 kB / 0.9346 GB, free: 15.73 MB / 0.7293 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 1.576e-05/0.002678, allocations: 106.7 kB / 0.9347 GB, free: 15.62 MB / 0.7293 GB Notification: Performance of sorting global known variables: time 1.247e-05/0.00269, allocations: 76.5 kB / 0.9348 GB, free: 15.54 MB / 0.7293 GB Notification: Performance of Backend: time 2.21e-07/0.002691, allocations: 0 / 0.9348 GB, free: 15.54 MB / 0.7293 GB Notification: Performance of simCode: created initialization part: time 0.000194/0.002885, allocations: 77.64 kB / 0.9348 GB, free: 15.48 MB / 0.7293 GB Notification: Performance of SimCode: time 0.0002186/0.003103, allocations: 0.9067 MB / 0.9357 GB, free: 14.53 MB / 0.7293 GB Notification: Performance of Templates: time 0.001524/0.004627, allocations: 180.1 kB / 0.9359 GB, free: 14.48 MB / 0.7293 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.Controls.OBC.CDL.Reals.Sources.Validation.Constant.makefile [Timeout 660] (rm -f AixLib_AixLib.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Reals.Sources.Validation.Constant.sim & ./AixLib_AixLib.Controls.OBC.CDL.Reals.Sources.Validation.Constant -abortSlowSimulation -alarm=480 -lv LOG_STATS > AixLib_AixLib.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.749140132218599] Failed to read output from testmodel.py, exit status != 0: 0.008533955551683903 0.016286258 0.013273294000000001 Calling exit ...