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.001518/0.001518, allocations: 95.64 kB / 18.95 MB, free: 2.691 MB / 14.72 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.001761/0.001761, allocations: 213.8 kB / 22.24 MB, free: 5.238 MB / 14.72 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.502/1.502, allocations: 230.6 MB / 256 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] 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.07716/0.07716, allocations: 12.19 MB / 324.6 MB, free: 7.082 MB / 254.1 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.0008113/0.0008113, allocations: 29.11 kB / 384.1 MB, free: 47.51 MB / 302.1 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 2.616/2.616, allocations: 353.9 MB / 0.7787 GB, free: 1.605 MB / 0.5138 GB " [Timeout remaining time 177] 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.003883/0.003883, allocations: 123.4 kB / 1.06 GB, free: 12.55 MB / 0.7013 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2982/0.3021, allocations: 134.9 MB / 1.192 GB, free: 5.762 MB / 0.8263 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Reals.Validation.Hysteresis): time 0.00217/0.3042, allocations: 0.8038 MB / 1.193 GB, free: 4.957 MB / 0.8263 GB Notification: Performance of NFInst.instExpressions: time 0.00135/0.3056, allocations: 0.9151 MB / 1.194 GB, free: 4.031 MB / 0.8263 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.987e-05/0.3057, allocations: 4 kB / 1.194 GB, free: 4.027 MB / 0.8263 GB Notification: Performance of NFTyping.typeComponents: time 3.75e-05/0.3057, allocations: 11.88 kB / 1.194 GB, free: 4.016 MB / 0.8263 GB Notification: Performance of NFTyping.typeBindings: time 9.673e-05/0.3058, allocations: 19.75 kB / 1.194 GB, free: 3.996 MB / 0.8263 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002262/0.306, allocations: 43.92 kB / 1.194 GB, free: 3.953 MB / 0.8263 GB Notification: Performance of NFFlatten.flatten: time 0.0001484/0.3062, allocations: 111.6 kB / 1.194 GB, free: 3.844 MB / 0.8263 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001204/0.3063, allocations: 21.05 kB / 1.194 GB, free: 3.82 MB / 0.8263 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001855/0.3065, allocations: 63.83 kB / 1.194 GB, free: 3.758 MB / 0.8263 GB Notification: Performance of NFSimplifyModel.simplify: time 9.101e-05/0.3066, allocations: 51.75 kB / 1.194 GB, free: 3.707 MB / 0.8263 GB Notification: Performance of NFPackage.collectConstants: time 2.405e-05/0.3066, allocations: 12 kB / 1.194 GB, free: 3.695 MB / 0.8263 GB Notification: Performance of NFFlatten.collectFunctions: time 4.963e-05/0.3066, allocations: 16 kB / 1.194 GB, free: 3.68 MB / 0.8263 GB Notification: Performance of NFScalarize.scalarize: time 2.907e-05/0.3067, allocations: 23.91 kB / 1.194 GB, free: 3.656 MB / 0.8263 GB Notification: Performance of NFVerifyModel.verify: time 4.471e-05/0.3067, allocations: 35.8 kB / 1.194 GB, free: 3.621 MB / 0.8263 GB Notification: Performance of NFConvertDAE.convert: time 0.0002015/0.3069, allocations: 139.3 kB / 1.194 GB, free: 3.484 MB / 0.8263 GB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.3069, allocations: 0 / 1.194 GB, free: 3.484 MB / 0.8263 GB Notification: Performance of FrontEnd: time 1.984e-06/0.3069, allocations: 0 / 1.194 GB, free: 3.484 MB / 0.8263 GB Notification: Performance of Transformations before backend: time 9.729e-06/0.3069, allocations: 0 / 1.194 GB, free: 3.484 MB / 0.8263 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.000699/0.3076, allocations: 369.8 kB / 1.195 GB, free: 3.09 MB / 0.8263 GB Notification: Performance of prepare preOptimizeDAE: time 4.062e-05/0.3077, allocations: 11.98 kB / 1.195 GB, free: 3.078 MB / 0.8263 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002623/0.3079, allocations: 32.83 kB / 1.195 GB, free: 3.047 MB / 0.8263 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005005/0.3084, allocations: 190.4 kB / 1.195 GB, free: 2.836 MB / 0.8263 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.317e-05/0.3085, allocations: 8.375 kB / 1.195 GB, free: 2.828 MB / 0.8263 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.352e-05/0.3085, allocations: 8.312 kB / 1.195 GB, free: 2.82 MB / 0.8263 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002916/0.3088, allocations: 116.8 kB / 1.195 GB, free: 2.691 MB / 0.8263 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.133e-05/0.3088, allocations: 3.938 kB / 1.195 GB, free: 2.688 MB / 0.8263 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.505e-05/0.3088, allocations: 4 kB / 1.195 GB, free: 2.684 MB / 0.8263 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.145e-06/0.3088, allocations: 7.984 kB / 1.195 GB, free: 2.676 MB / 0.8263 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002847/0.3091, allocations: 67.88 kB / 1.195 GB, free: 2.609 MB / 0.8263 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006173/0.3097, allocations: 440.7 kB / 1.196 GB, free: 2.141 MB / 0.8263 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002748/0.31, allocations: 119.8 kB / 1.196 GB, free: 1.996 MB / 0.8263 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001551/0.3101, allocations: 50.61 kB / 1.196 GB, free: 1.938 MB / 0.8263 GB Notification: Performance of preOpt evalFunc (simulation): time 2.819e-05/0.3102, allocations: 4 kB / 1.196 GB, free: 1.934 MB / 0.8263 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.994e-05/0.3102, allocations: 38.55 kB / 1.196 GB, free: 1.887 MB / 0.8263 GB Notification: Performance of pre-optimization done (n=8): time 1.353e-06/0.3102, allocations: 0 / 1.196 GB, free: 1.887 MB / 0.8263 GB Notification: Performance of matching and sorting (n=8): time 0.0005867/0.3108, allocations: 157.4 kB / 1.196 GB, free: 1.727 MB / 0.8263 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.631e-05/0.3109, allocations: 114.8 kB / 1.196 GB, free: 1.59 MB / 0.8263 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000146/0.311, allocations: 148.4 kB / 1.196 GB, free: 1.438 MB / 0.8263 GB Notification: Performance of collectPreVariables (initialization): time 3.352e-05/0.3111, allocations: 33.7 kB / 1.196 GB, free: 1.398 MB / 0.8263 GB Notification: Performance of collectInitialEqns (initialization): time 7.933e-05/0.3111, allocations: 104.5 kB / 1.196 GB, free: 1.289 MB / 0.8263 GB Notification: Performance of collectInitialBindings (initialization): time 4.076e-05/0.3112, allocations: 31.78 kB / 1.196 GB, free: 1.258 MB / 0.8263 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.594e-05/0.3112, allocations: 25.72 kB / 1.196 GB, free: 1.227 MB / 0.8263 GB Notification: Performance of setup shared object (initialization): time 0.0001634/0.3114, allocations: 326.8 kB / 1.197 GB, free: 0.8984 MB / 0.8263 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001659/0.3116, allocations: 47.95 kB / 1.197 GB, free: 0.8516 MB / 0.8263 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002372/0.3118, allocations: 158.2 kB / 1.197 GB, free: 0.6602 MB / 0.8263 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002904/0.3121, allocations: 94.45 kB / 1.197 GB, free: 0.5586 MB / 0.8263 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.3121, allocations: 0 / 1.197 GB, free: 0.5586 MB / 0.8263 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0004007/0.3125, allocations: 137.5 kB / 1.197 GB, free: 428 kB / 0.8263 GB Notification: Performance of prepare postOptimizeDAE: time 1.636e-05/0.3125, allocations: 8.938 kB / 1.197 GB, free: 420 kB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.299e-06/0.3125, allocations: 0 / 1.197 GB, free: 420 kB / 0.8263 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.436e-05/0.3125, allocations: 0 / 1.197 GB, free: 420 kB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001251/0.3127, allocations: 19.97 kB / 1.197 GB, free: 400 kB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.701e-06/0.3127, allocations: 8 kB / 1.197 GB, free: 392 kB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001266/0.3128, allocations: 15.98 kB / 1.197 GB, free: 376 kB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.23e-05/0.3128, allocations: 4 kB / 1.197 GB, free: 372 kB / 0.8263 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.000127/0.3129, allocations: 130.6 kB / 1.197 GB, free: 232 kB / 0.8263 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.412e-05/0.313, allocations: 11.91 kB / 1.197 GB, free: 220 kB / 0.8263 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002672/0.3133, allocations: 89.98 kB / 1.197 GB, free: 120 kB / 0.8263 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.925e-06/0.3133, allocations: 4.375 kB / 1.197 GB, free: 116 kB / 0.8263 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.3133, allocations: 0 / 1.197 GB, free: 116 kB / 0.8263 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.52e-06/0.3133, allocations: 4 kB / 1.197 GB, free: 112 kB / 0.8263 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002878/0.3136, allocations: 137.3 kB / 1.198 GB, free: 15.95 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.3136, allocations: 0 / 1.198 GB, free: 15.95 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001155/0.3137, allocations: 31.84 kB / 1.198 GB, free: 15.91 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.805e-06/0.3137, allocations: 3.938 kB / 1.198 GB, free: 15.91 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.521e-05/0.3137, allocations: 3.984 kB / 1.198 GB, free: 15.91 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.499e-06/0.3137, allocations: 4 kB / 1.198 GB, free: 15.9 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.3137, allocations: 0 / 1.198 GB, free: 15.9 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004722/0.3142, allocations: 378 kB / 1.198 GB, free: 15.52 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 2.299e-05/0.3142, allocations: 15.89 kB / 1.198 GB, free: 15.5 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.487e-05/0.3142, allocations: 7.922 kB / 1.198 GB, free: 15.49 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000209/0.3144, allocations: 11.98 kB / 1.198 GB, free: 15.48 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.226e-05/0.3145, allocations: 23.95 kB / 1.198 GB, free: 15.46 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.169e-05/0.3145, allocations: 8 kB / 1.198 GB, free: 15.45 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 9.421e-05/0.3146, allocations: 118.8 kB / 1.198 GB, free: 15.34 MB / 0.8419 GB Notification: Performance of sort global known variables: time 9e-08/0.3146, allocations: 4 kB / 1.198 GB, free: 15.33 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003193/0.3149, allocations: 16 kB / 1.198 GB, free: 15.32 MB / 0.8419 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.0001317/0.3151, allocations: 95.25 kB / 1.198 GB, free: 15.21 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0003928/0.3154, allocations: 99.84 kB / 1.198 GB, free: 15.12 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.3155, allocations: 4 kB / 1.198 GB, free: 15.11 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001818/0.3156, allocations: 47.91 kB / 1.198 GB, free: 15.07 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004752/0.3161, allocations: 11.94 kB / 1.198 GB, free: 15.05 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004958/0.3166, allocations: 211.9 kB / 1.199 GB, free: 14.81 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.418e-05/0.3167, allocations: 84.19 kB / 1.199 GB, free: 14.71 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 7.924e-05/0.3168, allocations: 20.77 kB / 1.199 GB, free: 14.69 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.068e-05/0.3168, allocations: 15.44 kB / 1.199 GB, free: 14.68 MB / 0.8419 GB Notification: Performance of SimCode: time 4.01e-07/0.3168, allocations: 0 / 1.199 GB, free: 14.68 MB / 0.8419 GB Notification: Performance of Templates: time 0.004833/0.3217, allocations: 1.489 MB / 1.2 GB, free: 13.22 MB / 0.8419 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.579077914357185] Failed to read output from testmodel.py, exit status != 0: 0.33122537285089493 0.34538659199999994 0.035378948 Calling exit ...