Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Hysteresis.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.05401/0.05401, allocations: 9.127 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.0008597/0.0008597, allocations: 87.28 kB / 35.33 MB, free: 1.07 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.001218/0.001218, allocations: 164.5 kB / 38.73 MB, free: 2.504 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 0.9728/0.9728, allocations: 177.2 MB / 219.2 MB, free: 10.1 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.004059/0.004059, allocations: 0.8228 MB / 276.5 MB, free: 0.7344 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.686/1.686, allocations: 274.9 MB / 0.5419 GB, free: 0.6094 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.Validation.Hysteresis,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Hysteresis") translateModel(AixLib.Controls.OBC.CDL.Reals.Validation.Hysteresis,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Hysteresis") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.122e-06/1.122e-06, allocations: 0 / 0.638 GB, free: 14.01 MB / 0.6043 GB Notification: Performance of FrontEnd - Absyn->SCode: time 9.267e-06/1.039e-05, allocations: 2.312 kB / 0.638 GB, free: 14.01 MB / 0.6043 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Reals.Validation.Hysteresis): time 0.001246/0.001256, allocations: 0.8706 MB / 0.6388 GB, free: 13.14 MB / 0.6043 GB Notification: Performance of NFInst.instExpressions: time 0.0008467/0.002103, allocations: 0.9558 MB / 0.6397 GB, free: 12.17 MB / 0.6043 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.722e-05/0.00214, allocations: 0 / 0.6397 GB, free: 12.17 MB / 0.6043 GB Notification: Performance of NFTyping.typeComponents: time 2.155e-05/0.002162, allocations: 7.875 kB / 0.6397 GB, free: 12.16 MB / 0.6043 GB Notification: Performance of NFTyping.typeBindings: time 6.589e-05/0.002228, allocations: 31.67 kB / 0.6398 GB, free: 12.13 MB / 0.6043 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001219/0.00235, allocations: 47.88 kB / 0.6398 GB, free: 12.08 MB / 0.6043 GB Notification: Performance of NFFlatten.flatten: time 9.009e-05/0.00244, allocations: 111.6 kB / 0.6399 GB, free: 11.97 MB / 0.6043 GB Notification: Performance of NFFlatten.resolveConnections: time 6.183e-05/0.002502, allocations: 21.95 kB / 0.64 GB, free: 11.95 MB / 0.6043 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001363/0.002638, allocations: 83.73 kB / 0.64 GB, free: 11.87 MB / 0.6043 GB Notification: Performance of NFSimplifyModel.simplify: time 5.413e-05/0.002692, allocations: 35.89 kB / 0.6401 GB, free: 11.83 MB / 0.6043 GB Notification: Performance of NFPackage.collectConstants: time 1.237e-05/0.002704, allocations: 4 kB / 0.6401 GB, free: 11.83 MB / 0.6043 GB Notification: Performance of NFFlatten.collectFunctions: time 3.334e-05/0.002738, allocations: 8 kB / 0.6401 GB, free: 11.82 MB / 0.6043 GB Notification: Performance of NFScalarize.scalarize: time 1.415e-05/0.002752, allocations: 15.92 kB / 0.6401 GB, free: 11.8 MB / 0.6043 GB Notification: Performance of NFVerifyModel.verify: time 2.065e-05/0.002772, allocations: 35.91 kB / 0.6401 GB, free: 11.77 MB / 0.6043 GB Notification: Performance of NFConvertDAE.convert: time 8.825e-05/0.002861, allocations: 67.67 kB / 0.6402 GB, free: 11.7 MB / 0.6043 GB Notification: Performance of FrontEnd - DAE generated: time 1.313e-06/0.002862, allocations: 0 / 0.6402 GB, free: 11.7 MB / 0.6043 GB Notification: Performance of FrontEnd: time 5.21e-07/0.002863, allocations: 0 / 0.6402 GB, free: 11.7 MB / 0.6043 GB Notification: Performance of Transformations before backend: time 2.956e-06/0.002865, allocations: 0 / 0.6402 GB, free: 11.7 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0003876/0.003253, allocations: 312.3 kB / 0.6405 GB, free: 11.37 MB / 0.6043 GB Notification: Performance of prepare preOptimizeDAE: time 2.442e-05/0.003277, allocations: 19.92 kB / 0.6405 GB, free: 11.35 MB / 0.6043 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001079/0.003385, allocations: 20.92 kB / 0.6405 GB, free: 11.33 MB / 0.6043 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001166/0.003502, allocations: 153.5 kB / 0.6407 GB, free: 11.16 MB / 0.6043 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.909e-06/0.003512, allocations: 12.31 kB / 0.6407 GB, free: 11.14 MB / 0.6043 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.005e-05/0.003522, allocations: 12.36 kB / 0.6407 GB, free: 11.13 MB / 0.6043 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.508e-05/0.003617, allocations: 93.47 kB / 0.6408 GB, free: 11.02 MB / 0.6043 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.41e-06/0.003622, allocations: 192 / 0.6408 GB, free: 11.02 MB / 0.6043 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.823e-06/0.003629, allocations: 4.375 kB / 0.6408 GB, free: 11.02 MB / 0.6043 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.669e-06/0.003634, allocations: 4.359 kB / 0.6408 GB, free: 11.02 MB / 0.6043 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.395e-05/0.003668, allocations: 27.86 kB / 0.6408 GB, free: 10.99 MB / 0.6043 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002324/0.0039, allocations: 348.5 kB / 0.6412 GB, free: 10.62 MB / 0.6043 GB Notification: Performance of preOpt comSubExp (simulation): time 6.829e-05/0.003969, allocations: 75.78 kB / 0.6412 GB, free: 10.52 MB / 0.6043 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.22e-05/0.003991, allocations: 26.58 kB / 0.6413 GB, free: 10.49 MB / 0.6043 GB Notification: Performance of preOpt evalFunc (simulation): time 1.26e-05/0.004003, allocations: 4 kB / 0.6413 GB, free: 10.48 MB / 0.6043 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.571e-05/0.004019, allocations: 34.56 kB / 0.6413 GB, free: 10.44 MB / 0.6043 GB Notification: Performance of pre-optimization done (n=8): time 7.61e-07/0.00402, allocations: 0 / 0.6413 GB, free: 10.44 MB / 0.6043 GB Notification: Performance of matching and sorting (n=8): time 0.0001219/0.004142, allocations: 77.53 kB / 0.6414 GB, free: 10.36 MB / 0.6043 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.175e-05/0.004174, allocations: 106.8 kB / 0.6415 GB, free: 10.23 MB / 0.6043 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.358e-05/0.004237, allocations: 150.8 kB / 0.6416 GB, free: 10.07 MB / 0.6043 GB Notification: Performance of collectPreVariables (initialization): time 1.341e-05/0.004251, allocations: 37.69 kB / 0.6416 GB, free: 10.03 MB / 0.6043 GB Notification: Performance of collectInitialEqns (initialization): time 2.962e-05/0.00428, allocations: 96.08 kB / 0.6417 GB, free: 9.93 MB / 0.6043 GB Notification: Performance of collectInitialBindings (initialization): time 2.144e-05/0.004302, allocations: 27.77 kB / 0.6418 GB, free: 9.902 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.98e-05/0.004331, allocations: 29.69 kB / 0.6418 GB, free: 9.867 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 6.742e-05/0.004399, allocations: 322.8 kB / 0.6421 GB, free: 9.543 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.572e-05/0.004415, allocations: 8 kB / 0.6421 GB, free: 9.535 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.76e-05/0.004442, allocations: 38.48 kB / 0.6421 GB, free: 9.488 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.176e-05/0.004484, allocations: 38.5 kB / 0.6422 GB, free: 9.441 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.333e-06/0.004485, allocations: 0 / 0.6422 GB, free: 9.441 MB / 0.6043 GB Notification: Performance of matching and sorting (n=11) (initialization): time 6.822e-05/0.004553, allocations: 81.66 kB / 0.6423 GB, free: 9.355 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 1.262e-05/0.004566, allocations: 19.78 kB / 0.6423 GB, free: 9.336 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.905e-06/0.004569, allocations: 0 / 0.6423 GB, free: 9.336 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.065e-06/0.004577, allocations: 0 / 0.6423 GB, free: 9.336 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.775e-05/0.004625, allocations: 15.98 kB / 0.6423 GB, free: 9.32 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.895e-06/0.004628, allocations: 0 / 0.6423 GB, free: 9.32 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.152e-05/0.004659, allocations: 7.953 kB / 0.6423 GB, free: 9.312 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.871e-06/0.004665, allocations: 4 kB / 0.6423 GB, free: 9.309 MB / 0.6043 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 6 (hysteresis.y,$PRE.hysteresis.y,hysteresis1.y,$PRE.hysteresis1.y,hysteresis2.y,$PRE.hysteresis2.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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.098e-05/0.004726, allocations: 118.1 kB / 0.6424 GB, free: 9.184 MB / 0.6043 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.265e-05/0.004769, allocations: 19.98 kB / 0.6424 GB, free: 9.164 MB / 0.6043 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.224e-05/0.004851, allocations: 65.94 kB / 0.6425 GB, free: 9.098 MB / 0.6043 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.004853, allocations: 0 / 0.6425 GB, free: 9.098 MB / 0.6043 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.583e-06/0.004855, allocations: 0 / 0.6425 GB, free: 9.098 MB / 0.6043 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/0.004859, allocations: 4 kB / 0.6425 GB, free: 9.094 MB / 0.6043 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001472/0.005007, allocations: 85.8 kB / 0.6426 GB, free: 8.992 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.005007, allocations: 4 kB / 0.6426 GB, free: 8.988 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.872e-05/0.005036, allocations: 15.92 kB / 0.6426 GB, free: 8.973 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.482e-06/0.005038, allocations: 0 / 0.6426 GB, free: 8.973 MB / 0.6043 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.561e-06/0.005043, allocations: 0 / 0.6426 GB, free: 8.973 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.41e-07/0.005044, allocations: 8 kB / 0.6426 GB, free: 8.965 MB / 0.6043 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.005045, allocations: 3.938 kB / 0.6426 GB, free: 8.961 MB / 0.6043 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001393/0.005185, allocations: 310 kB / 0.6429 GB, free: 8.641 MB / 0.6043 GB Notification: Performance of postOpt removeConstants (simulation): time 1.052e-05/0.005195, allocations: 7.953 kB / 0.6429 GB, free: 8.633 MB / 0.6043 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.574e-05/0.005211, allocations: 4 kB / 0.6429 GB, free: 8.629 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.826e-05/0.005289, allocations: 7.984 kB / 0.6429 GB, free: 8.621 MB / 0.6043 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.35e-05/0.005343, allocations: 27.89 kB / 0.643 GB, free: 8.594 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.599e-06/0.005347, allocations: 4 kB / 0.643 GB, free: 8.59 MB / 0.6043 GB Notification: Performance of sorting global known variables: time 2.679e-05/0.005374, allocations: 36.81 kB / 0.643 GB, free: 8.551 MB / 0.6043 GB Notification: Performance of sort global known variables: time 4e-08/0.005374, allocations: 0 / 0.643 GB, free: 8.551 MB / 0.6043 GB Notification: Performance of remove unused functions: time 0.0001729/0.005547, allocations: 19.95 kB / 0.643 GB, free: 8.531 MB / 0.6043 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 3 (hysteresis.y,hysteresis1.y,hysteresis2.y) * Number of discrete states: 3 (hysteresis2.y,hysteresis1.y,hysteresis.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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 7.401e-05/0.005621, allocations: 80.42 kB / 0.6431 GB, free: 8.441 MB / 0.6043 GB Notification: Performance of simCode: created initialization part: time 8.268e-05/0.005704, allocations: 36.78 kB / 0.6431 GB, free: 8.402 MB / 0.6043 GB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/0.005707, allocations: 4 kB / 0.6431 GB, free: 8.398 MB / 0.6043 GB Notification: Performance of simCode: created simulation system equations: time 3.928e-05/0.005746, allocations: 28.78 kB / 0.6432 GB, free: 8.367 MB / 0.6043 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002156/0.005962, allocations: 12.25 kB / 0.6432 GB, free: 8.355 MB / 0.6043 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002644/0.006226, allocations: 214.6 kB / 0.6434 GB, free: 8.109 MB / 0.6043 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.902e-05/0.006275, allocations: 63.28 kB / 0.6434 GB, free: 8.027 MB / 0.6043 GB Notification: Performance of simCode: alias equations: time 4.364e-05/0.006319, allocations: 16.64 kB / 0.6434 GB, free: 8.012 MB / 0.6043 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.541e-05/0.006384, allocations: 67.36 kB / 0.6435 GB, free: 7.945 MB / 0.6043 GB Notification: Performance of SimCode: time 5.3e-07/0.006385, allocations: 0 / 0.6435 GB, free: 7.945 MB / 0.6043 GB Notification: Performance of Templates: time 0.002386/0.008771, allocations: 1.224 MB / 0.6447 GB, free: 6.723 MB / 0.6043 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Hysteresis.makefile [Timeout 660] (rm -f AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Hysteresis.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Hysteresis.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Hysteresis.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Hysteresis.sim & ./AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Hysteresis -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Hysteresis.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.2553180693648756]