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/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.04707/0.04707, allocations: 9.132 MB / 28.99 MB, free: 0.8086 MB / 18.57 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/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.001345/0.001345, allocations: 98.39 kB / 35.33 MB, free: 1.066 MB / 24.77 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.001137/0.001137, allocations: 168.4 kB / 38.73 MB, free: 2.477 MB / 24.77 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 1.032/1.032, allocations: 177.1 MB / 219.2 MB, free: 10.13 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF 0.4.5/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF 0.4.5/package.mo): time 0.006199/0.006199, allocations: 0.8261 MB / 276.5 MB, free: 0.7539 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.1/package.mo): time 1.619/1.619, allocations: 274.9 MB / 0.5419 GB, free: 0.6211 MB / 0.4949 GB " [Timeout remaining time 178] Using package AixLib with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.1/package.mo) Using package SDF with version 0.4.5 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF 0.4.5/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) Using package Modelica_DeviceDrivers with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/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 2.174e-06/2.174e-06, allocations: 0 / 0.6379 GB, free: 14.1 MB / 0.6043 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.763e-05/2.981e-05, allocations: 6.25 kB / 0.6379 GB, free: 14.09 MB / 0.6043 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Reals.Sources.Validation.Constant): time 0.001479/0.001508, allocations: 0.6002 MB / 0.6385 GB, free: 13.49 MB / 0.6043 GB Notification: Performance of NFInst.instExpressions: time 5.454e-05/0.001563, allocations: 0 / 0.6385 GB, free: 13.49 MB / 0.6043 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.808e-05/0.001591, allocations: 4 kB / 0.6385 GB, free: 13.49 MB / 0.6043 GB Notification: Performance of NFTyping.typeComponents: time 2.64e-05/0.001618, allocations: 0 / 0.6385 GB, free: 13.49 MB / 0.6043 GB Notification: Performance of NFTyping.typeBindings: time 3.116e-05/0.001649, allocations: 3.938 kB / 0.6385 GB, free: 13.48 MB / 0.6043 GB Notification: Performance of NFTyping.typeClassSections: time 3.496e-05/0.001684, allocations: 3.984 kB / 0.6385 GB, free: 13.48 MB / 0.6043 GB Notification: Performance of NFFlatten.flatten: time 5.002e-05/0.001734, allocations: 0 / 0.6385 GB, free: 13.48 MB / 0.6043 GB Notification: Performance of NFFlatten.resolveConnections: time 4.12e-05/0.001775, allocations: 4 kB / 0.6385 GB, free: 13.48 MB / 0.6043 GB Notification: Performance of NFEvalConstants.evaluate: time 3.085e-05/0.001806, allocations: 4 kB / 0.6385 GB, free: 13.47 MB / 0.6043 GB Notification: Performance of NFSimplifyModel.simplify: time 2.85e-05/0.001834, allocations: 3.984 kB / 0.6385 GB, free: 13.47 MB / 0.6043 GB Notification: Performance of NFPackage.collectConstants: time 1.683e-05/0.001851, allocations: 4 kB / 0.6385 GB, free: 13.46 MB / 0.6043 GB Notification: Performance of NFFlatten.collectFunctions: time 4.198e-06/0.001855, allocations: 3.938 kB / 0.6385 GB, free: 13.46 MB / 0.6043 GB Notification: Performance of NFScalarize.scalarize: time 1.356e-05/0.001869, allocations: 0 / 0.6385 GB, free: 13.46 MB / 0.6043 GB Notification: Performance of NFVerifyModel.verify: time 1.215e-05/0.001881, allocations: 0 / 0.6385 GB, free: 13.46 MB / 0.6043 GB Notification: Performance of NFConvertDAE.convert: time 5.59e-05/0.001937, allocations: 4 kB / 0.6385 GB, free: 13.46 MB / 0.6043 GB Notification: Performance of FrontEnd - DAE generated: time 2.254e-06/0.001939, allocations: 0 / 0.6385 GB, free: 13.46 MB / 0.6043 GB Notification: Performance of FrontEnd: time 5.71e-07/0.00194, allocations: 0 / 0.6385 GB, free: 13.46 MB / 0.6043 GB Notification: Performance of Transformations before backend: time 3.467e-06/0.001943, allocations: 0 / 0.6385 GB, free: 13.46 MB / 0.6043 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.0002072/0.00215, allocations: 213.1 kB / 0.6387 GB, free: 13.22 MB / 0.6043 GB Notification: Performance of prepare preOptimizeDAE: time 3.599e-05/0.002186, allocations: 11.98 kB / 0.6387 GB, free: 13.21 MB / 0.6043 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.281e-05/0.002209, allocations: 4.938 kB / 0.6387 GB, free: 13.21 MB / 0.6043 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.545e-05/0.002285, allocations: 105.8 kB / 0.6388 GB, free: 13.08 MB / 0.6043 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.977e-06/0.002293, allocations: 384 / 0.6388 GB, free: 13.08 MB / 0.6043 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.814e-06/0.002301, allocations: 384 / 0.6388 GB, free: 13.08 MB / 0.6043 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.84e-05/0.00236, allocations: 34.27 kB / 0.6389 GB, free: 13.04 MB / 0.6043 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.765e-06/0.002367, allocations: 4.125 kB / 0.6389 GB, free: 13.04 MB / 0.6043 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.921e-06/0.002373, allocations: 384 / 0.6389 GB, free: 13.04 MB / 0.6043 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.09e-06/0.002378, allocations: 4.359 kB / 0.6389 GB, free: 13.03 MB / 0.6043 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.595e-06/0.002386, allocations: 3.938 kB / 0.6389 GB, free: 13.03 MB / 0.6043 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001805/0.002567, allocations: 286.9 kB / 0.6391 GB, free: 12.73 MB / 0.6043 GB Notification: Performance of preOpt comSubExp (simulation): time 6.684e-05/0.002633, allocations: 169.2 kB / 0.6393 GB, free: 12.55 MB / 0.6043 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.521e-05/0.002659, allocations: 88.08 kB / 0.6394 GB, free: 12.46 MB / 0.6043 GB Notification: Performance of preOpt evalFunc (simulation): time 1.867e-05/0.002677, allocations: 75.28 kB / 0.6395 GB, free: 12.39 MB / 0.6043 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.53e-05/0.002713, allocations: 109.8 kB / 0.6396 GB, free: 12.27 MB / 0.6043 GB Notification: Performance of pre-optimization done (n=0): time 1.132e-06/0.002714, allocations: 0 / 0.6396 GB, free: 12.27 MB / 0.6043 GB Notification: Performance of matching and sorting (n=0): time 5.116e-05/0.002765, allocations: 25.7 kB / 0.6396 GB, free: 12.24 MB / 0.6043 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.565e-05/0.002821, allocations: 138.6 kB / 0.6397 GB, free: 12.09 MB / 0.6043 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.956e-05/0.00288, allocations: 98.72 kB / 0.6398 GB, free: 11.98 MB / 0.6043 GB Notification: Performance of collectPreVariables (initialization): time 8.877e-06/0.002889, allocations: 25.7 kB / 0.6398 GB, free: 11.95 MB / 0.6043 GB Notification: Performance of collectInitialEqns (initialization): time 3.347e-05/0.002922, allocations: 80.14 kB / 0.6399 GB, free: 11.87 MB / 0.6043 GB Notification: Performance of collectInitialBindings (initialization): time 9.82e-07/0.002923, allocations: 4.062 kB / 0.6399 GB, free: 11.87 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.864e-05/0.002942, allocations: 17.72 kB / 0.6399 GB, free: 11.84 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 8.588e-05/0.003028, allocations: 310.8 kB / 0.6402 GB, free: 11.53 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.918e-06/0.003032, allocations: 3.938 kB / 0.6402 GB, free: 11.53 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.127e-06/0.003036, allocations: 0 / 0.6402 GB, free: 11.53 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.075e-05/0.003057, allocations: 75.28 kB / 0.6403 GB, free: 11.45 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.947e-05/0.003076, allocations: 75.28 kB / 0.6404 GB, free: 11.38 MB / 0.6043 GB Notification: Performance of matching and sorting (n=0) (initialization): time 3.717e-05/0.003113, allocations: 29.7 kB / 0.6404 GB, free: 11.34 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 2.976e-05/0.003143, allocations: 83.27 kB / 0.6405 GB, free: 11.26 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.543e-05/0.003169, allocations: 87.2 kB / 0.6406 GB, free: 11.18 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.22e-05/0.003211, allocations: 150.6 kB / 0.6407 GB, free: 11.03 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.468e-05/0.003235, allocations: 83.22 kB / 0.6408 GB, free: 10.95 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.15e-05/0.003277, allocations: 162.5 kB / 0.641 GB, free: 10.79 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.216e-05/0.003319, allocations: 79.28 kB / 0.641 GB, free: 10.71 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.98e-05/0.003339, allocations: 79.22 kB / 0.6411 GB, free: 10.63 MB / 0.6043 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 9.011e-05/0.003429, allocations: 260.4 kB / 0.6414 GB, free: 10.36 MB / 0.6043 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.872e-05/0.003468, allocations: 105 kB / 0.6415 GB, free: 10.25 MB / 0.6043 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.829e-05/0.003506, allocations: 104 kB / 0.6416 GB, free: 10.15 MB / 0.6043 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.686e-05/0.003553, allocations: 184.2 kB / 0.6417 GB, free: 9.961 MB / 0.6043 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.818e-05/0.003601, allocations: 180.2 kB / 0.6419 GB, free: 9.777 MB / 0.6043 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.855e-05/0.00365, allocations: 180.2 kB / 0.6421 GB, free: 9.594 MB / 0.6043 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001414/0.003791, allocations: 325.4 kB / 0.6424 GB, free: 9.25 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.643e-05/0.003817, allocations: 101 kB / 0.6425 GB, free: 9.145 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.945e-05/0.003847, allocations: 113.2 kB / 0.6426 GB, free: 9.027 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.415e-05/0.003891, allocations: 180.3 kB / 0.6428 GB, free: 8.844 MB / 0.6043 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.692e-05/0.003938, allocations: 184.2 kB / 0.6429 GB, free: 8.656 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.035e-05/0.004018, allocations: 184.2 kB / 0.6431 GB, free: 8.469 MB / 0.6043 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.105e-05/0.004069, allocations: 180.2 kB / 0.6433 GB, free: 8.285 MB / 0.6043 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001033/0.004173, allocations: 307.8 kB / 0.6436 GB, free: 7.961 MB / 0.6043 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002577/0.00443, allocations: 112.9 kB / 0.6437 GB, free: 7.844 MB / 0.6043 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.169e-05/0.004482, allocations: 180.3 kB / 0.6439 GB, free: 7.66 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.903e-05/0.004531, allocations: 104.9 kB / 0.644 GB, free: 7.551 MB / 0.6043 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.81e-05/0.004579, allocations: 184.3 kB / 0.6441 GB, free: 7.363 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.885e-05/0.004608, allocations: 105 kB / 0.6442 GB, free: 7.254 MB / 0.6043 GB Notification: Performance of sorting global known variables: time 1.922e-05/0.004627, allocations: 12.78 kB / 0.6442 GB, free: 7.238 MB / 0.6043 GB Notification: Performance of sort global known variables: time 5e-08/0.004627, allocations: 4 kB / 0.6442 GB, free: 7.234 MB / 0.6043 GB Notification: Performance of remove unused functions: time 0.000142/0.004769, allocations: 3.938 kB / 0.6443 GB, free: 7.23 MB / 0.6043 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (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 Backend phase and start with SimCode phase: time 0.000102/0.004871, allocations: 151.6 kB / 0.6444 GB, free: 7.074 MB / 0.6043 GB Notification: Performance of simCode: created initialization part: time 3.143e-05/0.004903, allocations: 4 kB / 0.6444 GB, free: 7.07 MB / 0.6043 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.004905, allocations: 4 kB / 0.6444 GB, free: 7.066 MB / 0.6043 GB Notification: Performance of simCode: created simulation system equations: time 1.172e-06/0.004906, allocations: 4.094 kB / 0.6444 GB, free: 7.062 MB / 0.6043 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002222/0.005129, allocations: 451.7 kB / 0.6448 GB, free: 6.617 MB / 0.6043 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001739/0.005303, allocations: 155 kB / 0.645 GB, free: 6.438 MB / 0.6043 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.234e-05/0.005335, allocations: 55.34 kB / 0.645 GB, free: 6.363 MB / 0.6043 GB Notification: Performance of simCode: alias equations: time 1.874e-06/0.005337, allocations: 0 / 0.645 GB, free: 6.363 MB / 0.6043 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.477e-05/0.005361, allocations: 51.38 kB / 0.6451 GB, free: 6.312 MB / 0.6043 GB Notification: Performance of SimCode: time 5.41e-07/0.005362, allocations: 0 / 0.6451 GB, free: 6.312 MB / 0.6043 GB Notification: Performance of Templates: time 0.001445/0.006807, allocations: 168.9 kB / 0.6452 GB, free: 6.148 MB / 0.6043 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=240 -lv LOG_STATS > AixLib_AixLib.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.404082672204822]