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/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.0009345/0.0009345, allocations: 100.4 kB / 19.7 MB, free: 452 kB / 13.93 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.001003/0.001003, allocations: 212.1 kB / 23 MB, free: 2.98 MB / 13.93 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.9777/0.9777, allocations: 230.6 MB / 256.8 MB, free: 9.602 MB / 202.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.03708/0.03708, allocations: 12.19 MB / 325.4 MB, free: 6.18 MB / 250.7 MB " [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.0006619/0.0006619, allocations: 27.95 kB / 384.8 MB, free: 10.61 MB / 314.7 MB " [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.873/1.873, allocations: 353.8 MB / 0.7794 GB, free: 4.527 MB / 0.5105 GB " [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.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: AixLib requested package Modelica_DeviceDrivers of version 2.1.1. Modelica_DeviceDrivers 2.2.0 is used instead which states that it is fully compatible without conversion script needed. Notification: AixLib requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002264/0.002264, allocations: 125.8 kB / 1.061 GB, free: 24.55 MB / 0.7137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3825/0.3848, allocations: 134.9 MB / 1.193 GB, free: 6.938 MB / 0.823 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Reals.Validation.Hysteresis): time 0.002286/0.387, allocations: 0.7933 MB / 1.194 GB, free: 6.145 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.001301/0.3883, allocations: 0.9172 MB / 1.195 GB, free: 5.215 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.648e-05/0.3884, allocations: 0 / 1.195 GB, free: 5.215 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 5.333e-05/0.3885, allocations: 7.875 kB / 1.195 GB, free: 5.207 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 0.0001203/0.3886, allocations: 23.73 kB / 1.195 GB, free: 5.184 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003231/0.3889, allocations: 43.94 kB / 1.195 GB, free: 5.141 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.0001714/0.3891, allocations: 115.6 kB / 1.195 GB, free: 5.027 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001597/0.3892, allocations: 21.05 kB / 1.195 GB, free: 5.004 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002336/0.3895, allocations: 55.83 kB / 1.195 GB, free: 4.949 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 9.925e-05/0.3896, allocations: 59.7 kB / 1.195 GB, free: 4.891 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 2.256e-05/0.3896, allocations: 11.94 kB / 1.195 GB, free: 4.879 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 5.511e-05/0.3897, allocations: 12 kB / 1.195 GB, free: 4.867 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 2.868e-05/0.3897, allocations: 35.83 kB / 1.195 GB, free: 4.832 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 4.645e-05/0.3897, allocations: 39.8 kB / 1.195 GB, free: 4.793 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0002279/0.39, allocations: 115.5 kB / 1.195 GB, free: 4.68 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 6.572e-06/0.39, allocations: 4 kB / 1.195 GB, free: 4.676 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.655e-06/0.39, allocations: 0 / 1.195 GB, free: 4.676 MB / 0.823 GB Notification: Performance of Transformations before backend: time 8.857e-06/0.39, allocations: 0 / 1.195 GB, free: 4.676 MB / 0.823 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.0006097/0.3906, allocations: 373.7 kB / 1.196 GB, free: 4.277 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 5.468e-05/0.3906, allocations: 12.03 kB / 1.196 GB, free: 4.266 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002204/0.3909, allocations: 28.83 kB / 1.196 GB, free: 4.238 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000351/0.3912, allocations: 195.6 kB / 1.196 GB, free: 4.023 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.726e-05/0.3912, allocations: 4.375 kB / 1.196 GB, free: 4.02 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.745e-05/0.3913, allocations: 16.38 kB / 1.196 GB, free: 4.004 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002231/0.3915, allocations: 112.7 kB / 1.196 GB, free: 3.879 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.911e-05/0.3915, allocations: 7.922 kB / 1.196 GB, free: 3.871 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.333e-05/0.3915, allocations: 4 kB / 1.196 GB, free: 3.867 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.334e-06/0.3915, allocations: 0 / 1.196 GB, free: 3.867 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001673/0.3917, allocations: 71.88 kB / 1.196 GB, free: 3.797 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005361/0.3922, allocations: 444.7 kB / 1.196 GB, free: 3.324 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001986/0.3924, allocations: 113.2 kB / 1.196 GB, free: 3.188 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001/0.3925, allocations: 54.59 kB / 1.197 GB, free: 3.125 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 3.427e-05/0.3926, allocations: 3.984 kB / 1.197 GB, free: 3.121 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.298e-05/0.3926, allocations: 38.56 kB / 1.197 GB, free: 3.074 MB / 0.823 GB Notification: Performance of pre-optimization done (n=8): time 1.513e-06/0.3926, allocations: 4 kB / 1.197 GB, free: 3.07 MB / 0.823 GB Notification: Performance of matching and sorting (n=8): time 0.0003951/0.393, allocations: 157.4 kB / 1.197 GB, free: 2.91 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.502e-05/0.393, allocations: 102.8 kB / 1.197 GB, free: 2.785 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001199/0.3932, allocations: 154.1 kB / 1.197 GB, free: 2.629 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 2.03e-05/0.3932, allocations: 29.95 kB / 1.197 GB, free: 2.594 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 7.385e-05/0.3933, allocations: 112.3 kB / 1.197 GB, free: 2.477 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 4.001e-05/0.3933, allocations: 27.78 kB / 1.197 GB, free: 2.449 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.269e-05/0.3933, allocations: 21.72 kB / 1.197 GB, free: 2.422 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001106/0.3934, allocations: 330.8 kB / 1.197 GB, free: 2.09 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001054/0.3936, allocations: 43.95 kB / 1.198 GB, free: 2.047 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003715/0.3939, allocations: 154.2 kB / 1.198 GB, free: 1.859 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001647/0.3941, allocations: 102.5 kB / 1.198 GB, free: 1.75 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.938e-06/0.3941, allocations: 0 / 1.198 GB, free: 1.75 MB / 0.823 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002212/0.3943, allocations: 141.5 kB / 1.198 GB, free: 1.605 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.887e-05/0.3943, allocations: 4 kB / 1.198 GB, free: 1.602 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.973e-06/0.3943, allocations: 0 / 1.198 GB, free: 1.602 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.757e-05/0.3944, allocations: 0 / 1.198 GB, free: 1.602 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001059/0.3945, allocations: 27.97 kB / 1.198 GB, free: 1.574 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.161e-05/0.3945, allocations: 7.922 kB / 1.198 GB, free: 1.566 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.585e-05/0.3945, allocations: 19.92 kB / 1.198 GB, free: 1.547 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.077e-06/0.3945, allocations: 3.938 kB / 1.198 GB, free: 1.543 MB / 0.823 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 0.0001017/0.3946, allocations: 131.5 kB / 1.198 GB, free: 1.406 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.644e-05/0.3947, allocations: 11.91 kB / 1.198 GB, free: 1.395 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002047/0.3949, allocations: 89.98 kB / 1.198 GB, free: 1.297 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.969e-06/0.3949, allocations: 0 / 1.198 GB, free: 1.297 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.274e-06/0.3949, allocations: 4 kB / 1.198 GB, free: 1.293 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.629e-06/0.3949, allocations: 3.938 kB / 1.198 GB, free: 1.289 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002017/0.3951, allocations: 137.2 kB / 1.198 GB, free: 1.125 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.798e-06/0.3951, allocations: 4 kB / 1.198 GB, free: 1.121 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.46e-05/0.3952, allocations: 16.36 kB / 1.198 GB, free: 1.105 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.5e-06/0.3952, allocations: 3.984 kB / 1.198 GB, free: 1.102 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.311e-05/0.3952, allocations: 4 kB / 1.198 GB, free: 1.098 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.844e-06/0.3952, allocations: 0 / 1.198 GB, free: 1.098 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.3952, allocations: 4 kB / 1.198 GB, free: 1.094 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002983/0.3955, allocations: 381.9 kB / 1.199 GB, free: 0.7031 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 1.977e-05/0.3955, allocations: 15.88 kB / 1.199 GB, free: 0.6875 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.799e-05/0.3955, allocations: 4 kB / 1.199 GB, free: 0.6836 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001068/0.3956, allocations: 16.05 kB / 1.199 GB, free: 0.668 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.874e-05/0.3957, allocations: 27.95 kB / 1.199 GB, free: 0.6406 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.899e-06/0.3957, allocations: 4 kB / 1.199 GB, free: 0.6367 MB / 0.823 GB Notification: Performance of sorting global known variables: time 6.592e-05/0.3958, allocations: 115.1 kB / 1.199 GB, free: 0.5234 MB / 0.823 GB Notification: Performance of sort global known variables: time 5e-08/0.3958, allocations: 0 / 1.199 GB, free: 0.5234 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0002132/0.396, allocations: 16 kB / 1.199 GB, free: 0.5078 MB / 0.823 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 0.0002024/0.3962, allocations: 103.2 kB / 1.199 GB, free: 408 kB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0002798/0.3965, allocations: 95.86 kB / 1.199 GB, free: 312 kB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 3.367e-06/0.3965, allocations: 0 / 1.199 GB, free: 312 kB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 9.06e-05/0.3966, allocations: 47.91 kB / 1.199 GB, free: 264 kB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004221/0.397, allocations: 19.94 kB / 1.199 GB, free: 244 kB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005342/0.3975, allocations: 241.1 kB / 1.199 GB, free: 15.96 MB / 0.8387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.225e-05/0.3976, allocations: 88.31 kB / 1.199 GB, free: 15.86 MB / 0.8387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.96e-05/0.3977, allocations: 19.38 kB / 1.199 GB, free: 15.84 MB / 0.8387 GB Notification: Performance of SimCode: time 2.274e-06/0.3977, allocations: 0 / 1.199 GB, free: 15.84 MB / 0.8387 GB Notification: Performance of Templates: time 0.003206/0.4009, allocations: 1.543 MB / 1.201 GB, free: 14.29 MB / 0.8387 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=480 -lv LOG_STATS > AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Hysteresis.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.381728826090693] Failed to read output from testmodel.py, exit status != 0: 0.40997920650988817 0.423759215 0.031025227000000002 Calling exit ...