Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.LessThreshold.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.001584/0.001584, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.001667/0.001667, allocations: 216.9 kB / 22.25 MB, free: 5.078 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.457/1.457, allocations: 230.6 MB / 256 MB, free: 8.027 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.0647/0.0647, allocations: 12.18 MB / 324.6 MB, free: 7.316 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.0007709/0.0007709, allocations: 33.72 kB / 384.1 MB, free: 46.63 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.596/2.596, allocations: 353.8 MB / 0.7787 GB, free: 1.035 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.LessThreshold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.LessThreshold") translateModel(AixLib.Controls.OBC.CDL.Reals.Validation.LessThreshold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.LessThreshold") [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.003476/0.003476, allocations: 115.7 kB / 1.061 GB, free: 13 MB / 0.7013 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2772/0.2807, allocations: 134.9 MB / 1.192 GB, free: 6.176 MB / 0.8263 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Reals.Validation.LessThreshold): time 0.002088/0.2828, allocations: 0.8115 MB / 1.193 GB, free: 5.363 MB / 0.8263 GB Notification: Performance of NFInst.instExpressions: time 0.001239/0.284, allocations: 0.9189 MB / 1.194 GB, free: 4.434 MB / 0.8263 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.363e-05/0.2841, allocations: 4 kB / 1.194 GB, free: 4.43 MB / 0.8263 GB Notification: Performance of NFTyping.typeComponents: time 0.0001367/0.2842, allocations: 19.75 kB / 1.194 GB, free: 4.41 MB / 0.8263 GB Notification: Performance of NFTyping.typeBindings: time 3.75e-05/0.2843, allocations: 7.938 kB / 1.194 GB, free: 4.402 MB / 0.8263 GB Notification: Performance of NFTyping.typeClassSections: time 0.000223/0.2845, allocations: 35.83 kB / 1.194 GB, free: 4.367 MB / 0.8263 GB Notification: Performance of NFFlatten.flatten: time 0.0001548/0.2847, allocations: 75.83 kB / 1.194 GB, free: 4.293 MB / 0.8263 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001224/0.2848, allocations: 16 kB / 1.194 GB, free: 4.277 MB / 0.8263 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001525/0.2849, allocations: 47.77 kB / 1.194 GB, free: 4.23 MB / 0.8263 GB Notification: Performance of NFSimplifyModel.simplify: time 8.521e-05/0.285, allocations: 27.86 kB / 1.194 GB, free: 4.203 MB / 0.8263 GB Notification: Performance of NFPackage.collectConstants: time 2.047e-05/0.285, allocations: 4 kB / 1.194 GB, free: 4.199 MB / 0.8263 GB Notification: Performance of NFFlatten.collectFunctions: time 4.622e-05/0.2851, allocations: 16 kB / 1.194 GB, free: 4.184 MB / 0.8263 GB Notification: Performance of NFScalarize.scalarize: time 2.278e-05/0.2851, allocations: 15.92 kB / 1.194 GB, free: 4.168 MB / 0.8263 GB Notification: Performance of NFVerifyModel.verify: time 5.346e-05/0.2852, allocations: 27.81 kB / 1.194 GB, free: 4.141 MB / 0.8263 GB Notification: Performance of NFConvertDAE.convert: time 0.0001568/0.2853, allocations: 87.55 kB / 1.194 GB, free: 4.055 MB / 0.8263 GB Notification: Performance of FrontEnd - DAE generated: time 3.026e-06/0.2853, allocations: 4 kB / 1.194 GB, free: 4.051 MB / 0.8263 GB Notification: Performance of FrontEnd: time 1.062e-06/0.2853, allocations: 0 / 1.194 GB, free: 4.051 MB / 0.8263 GB Notification: Performance of Transformations before backend: time 5.33e-06/0.2853, allocations: 0 / 1.194 GB, free: 4.051 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005575/0.2859, allocations: 310 kB / 1.195 GB, free: 3.715 MB / 0.8263 GB Notification: Performance of prepare preOptimizeDAE: time 3.599e-05/0.2859, allocations: 19.98 kB / 1.195 GB, free: 3.695 MB / 0.8263 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001575/0.2861, allocations: 16.88 kB / 1.195 GB, free: 3.68 MB / 0.8263 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002626/0.2863, allocations: 146.3 kB / 1.195 GB, free: 3.512 MB / 0.8263 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.389e-05/0.2864, allocations: 4.375 kB / 1.195 GB, free: 3.508 MB / 0.8263 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.028e-05/0.2864, allocations: 384 / 1.195 GB, free: 3.508 MB / 0.8263 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001547/0.2865, allocations: 70.17 kB / 1.195 GB, free: 3.434 MB / 0.8263 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.177e-06/0.2865, allocations: 192 / 1.195 GB, free: 3.434 MB / 0.8263 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.209e-05/0.2865, allocations: 3.938 kB / 1.195 GB, free: 3.43 MB / 0.8263 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.168e-06/0.2865, allocations: 4 kB / 1.195 GB, free: 3.426 MB / 0.8263 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001083/0.2867, allocations: 31.98 kB / 1.195 GB, free: 3.395 MB / 0.8263 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005165/0.2872, allocations: 295.7 kB / 1.195 GB, free: 3.062 MB / 0.8263 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001576/0.2873, allocations: 42.56 kB / 1.195 GB, free: 3.012 MB / 0.8263 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.852e-05/0.2874, allocations: 21 kB / 1.195 GB, free: 2.988 MB / 0.8263 GB Notification: Performance of preOpt evalFunc (simulation): time 1.78e-05/0.2874, allocations: 0 / 1.195 GB, free: 2.988 MB / 0.8263 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.651e-05/0.2874, allocations: 42.59 kB / 1.195 GB, free: 2.938 MB / 0.8263 GB Notification: Performance of pre-optimization done (n=3): time 7.52e-07/0.2874, allocations: 0 / 1.195 GB, free: 2.938 MB / 0.8263 GB Notification: Performance of matching and sorting (n=3): time 0.0002651/0.2877, allocations: 73.61 kB / 1.195 GB, free: 2.859 MB / 0.8263 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.264e-05/0.2878, allocations: 51.41 kB / 1.195 GB, free: 2.797 MB / 0.8263 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001277/0.2879, allocations: 144.2 kB / 1.196 GB, free: 2.648 MB / 0.8263 GB Notification: Performance of collectPreVariables (initialization): time 2.103e-05/0.2879, allocations: 25.7 kB / 1.196 GB, free: 2.617 MB / 0.8263 GB Notification: Performance of collectInitialEqns (initialization): time 7.757e-05/0.288, allocations: 96.12 kB / 1.196 GB, free: 2.52 MB / 0.8263 GB Notification: Performance of collectInitialBindings (initialization): time 1.729e-05/0.288, allocations: 3.953 kB / 1.196 GB, free: 2.516 MB / 0.8263 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.023e-05/0.288, allocations: 25.64 kB / 1.196 GB, free: 2.484 MB / 0.8263 GB Notification: Performance of setup shared object (initialization): time 0.0001603/0.2882, allocations: 322.8 kB / 1.196 GB, free: 2.16 MB / 0.8263 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.635e-05/0.2883, allocations: 15.98 kB / 1.196 GB, free: 2.145 MB / 0.8263 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.282e-05/0.2883, allocations: 12 kB / 1.196 GB, free: 2.133 MB / 0.8263 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.476e-05/0.2884, allocations: 36.77 kB / 1.196 GB, free: 2.094 MB / 0.8263 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.333e-06/0.2884, allocations: 0 / 1.196 GB, free: 2.094 MB / 0.8263 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001421/0.2885, allocations: 69.64 kB / 1.196 GB, free: 2.02 MB / 0.8263 GB Notification: Performance of prepare postOptimizeDAE: time 1.419e-05/0.2886, allocations: 4 kB / 1.196 GB, free: 2.016 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.2886, allocations: 0 / 1.196 GB, free: 2.016 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.273e-05/0.2886, allocations: 0 / 1.196 GB, free: 2.016 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.576e-05/0.2886, allocations: 7.984 kB / 1.196 GB, free: 2.008 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.34e-06/0.2886, allocations: 0 / 1.196 GB, free: 2.008 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.884e-05/0.2887, allocations: 27.88 kB / 1.196 GB, free: 1.98 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.511e-06/0.2887, allocations: 0 / 1.196 GB, free: 1.98 MB / 0.8263 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (lesHys.lesHys.y,$PRE.lesHys.lesHys.y,les.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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.0001107/0.2888, allocations: 123 kB / 1.196 GB, free: 1.852 MB / 0.8263 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.744e-05/0.2889, allocations: 4 kB / 1.196 GB, free: 1.848 MB / 0.8263 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.181e-05/0.2889, allocations: 8.344 kB / 1.196 GB, free: 1.832 MB / 0.8263 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.163e-06/0.2889, allocations: 7.984 kB / 1.196 GB, free: 1.824 MB / 0.8263 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.2889, allocations: 0 / 1.196 GB, free: 1.824 MB / 0.8263 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.285e-06/0.2889, allocations: 0 / 1.196 GB, free: 1.824 MB / 0.8263 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001957/0.2891, allocations: 164.6 kB / 1.196 GB, free: 1.621 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.2891, allocations: 0 / 1.196 GB, free: 1.621 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.957e-05/0.2892, allocations: 4 kB / 1.196 GB, free: 1.617 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.2892, allocations: 0 / 1.196 GB, free: 1.617 MB / 0.8263 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.353e-06/0.2892, allocations: 0 / 1.196 GB, free: 1.617 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.2892, allocations: 0 / 1.196 GB, free: 1.617 MB / 0.8263 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.927e-06/0.2892, allocations: 4 kB / 1.197 GB, free: 1.613 MB / 0.8263 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001862/0.2894, allocations: 159.5 kB / 1.197 GB, free: 1.441 MB / 0.8263 GB Notification: Performance of postOpt removeConstants (simulation): time 1.814e-05/0.2894, allocations: 15.88 kB / 1.197 GB, free: 1.426 MB / 0.8263 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.699e-05/0.2894, allocations: 0 / 1.197 GB, free: 1.426 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.775e-05/0.2895, allocations: 11.98 kB / 1.197 GB, free: 1.414 MB / 0.8263 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.735e-05/0.2895, allocations: 15.92 kB / 1.197 GB, free: 1.398 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.948e-06/0.2895, allocations: 0 / 1.197 GB, free: 1.398 MB / 0.8263 GB Notification: Performance of sorting global known variables: time 7.53e-05/0.2896, allocations: 105 kB / 1.197 GB, free: 1.297 MB / 0.8263 GB Notification: Performance of sort global known variables: time 7e-08/0.2896, allocations: 0 / 1.197 GB, free: 1.297 MB / 0.8263 GB Notification: Performance of remove unused functions: time 0.0002267/0.2899, allocations: 11.89 kB / 1.197 GB, free: 1.285 MB / 0.8263 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (les.y,lesHys.lesHys.y) * Number of discrete states: 1 (lesHys.lesHys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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.0001365/0.29, allocations: 103.6 kB / 1.197 GB, free: 1.176 MB / 0.8263 GB Notification: Performance of simCode: created initialization part: time 0.0001545/0.2901, allocations: 31.98 kB / 1.197 GB, free: 1.145 MB / 0.8263 GB Notification: Performance of simCode: created event and clocks part: time 1.502e-06/0.2901, allocations: 0 / 1.197 GB, free: 1.145 MB / 0.8263 GB Notification: Performance of simCode: created simulation system equations: time 5.561e-05/0.2902, allocations: 20.06 kB / 1.197 GB, free: 1.125 MB / 0.8263 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002502/0.2904, allocations: 17.84 kB / 1.197 GB, free: 1.109 MB / 0.8263 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003768/0.2908, allocations: 166.7 kB / 1.197 GB, free: 0.9219 MB / 0.8263 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003386/0.2912, allocations: 0.6924 MB / 1.198 GB, free: 208 kB / 0.8263 GB Notification: Performance of simCode: alias equations: time 3.182e-05/0.2912, allocations: 0 / 1.198 GB, free: 208 kB / 0.8263 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.811e-05/0.2912, allocations: 15.42 kB / 1.198 GB, free: 192 kB / 0.8263 GB Notification: Performance of SimCode: time 3.41e-07/0.2912, allocations: 0 / 1.198 GB, free: 192 kB / 0.8263 GB Notification: Performance of Templates: time 0.003679/0.2949, allocations: 0.8717 MB / 1.199 GB, free: 15.32 MB / 0.8419 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.LessThreshold.makefile [Timeout 660] (rm -f AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.LessThreshold.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.LessThreshold.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.LessThreshold.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.LessThreshold.sim & ./AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.LessThreshold -abortSlowSimulation -alarm=480 -lv LOG_STATS > AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.LessThreshold.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.210931174457073] Failed to read output from testmodel.py, exit status != 0: 0.3033282682299614 0.317465873 0.029130338000000002 Calling exit ...