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.001199/0.001199, 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.001145/0.001145, 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.9562/0.9562, allocations: 230.6 MB / 256.8 MB, free: 9.609 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.0374/0.0374, allocations: 12.19 MB / 325.4 MB, free: 6.098 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.0005153/0.0005153, allocations: 23.95 kB / 384.8 MB, free: 10.52 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.71/1.71, allocations: 353.8 MB / 0.7794 GB, free: 4.496 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.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.002081/0.002081, allocations: 122.5 kB / 1.061 GB, free: 24.5 MB / 0.7137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3687/0.3708, allocations: 134.9 MB / 1.193 GB, free: 6.922 MB / 0.823 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Reals.Validation.LessThreshold): time 0.00203/0.3728, allocations: 0.7921 MB / 1.194 GB, free: 6.129 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.001082/0.3739, allocations: 0.9055 MB / 1.195 GB, free: 5.211 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001029/0.374, allocations: 3.938 kB / 1.195 GB, free: 5.207 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 0.0001875/0.3742, allocations: 7.875 kB / 1.195 GB, free: 5.199 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 4.262e-05/0.3742, allocations: 19.81 kB / 1.195 GB, free: 5.18 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002721/0.3745, allocations: 35.89 kB / 1.195 GB, free: 5.145 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.0001525/0.3746, allocations: 71.78 kB / 1.195 GB, free: 5.074 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001642/0.3748, allocations: 19.98 kB / 1.195 GB, free: 5.055 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001556/0.375, allocations: 35.86 kB / 1.195 GB, free: 5.02 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 8.943e-05/0.3751, allocations: 39.77 kB / 1.195 GB, free: 4.98 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 1.881e-05/0.3751, allocations: 4 kB / 1.195 GB, free: 4.977 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 4.736e-05/0.3751, allocations: 8 kB / 1.195 GB, free: 4.969 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 1.73e-05/0.3751, allocations: 12 kB / 1.195 GB, free: 4.957 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 3.525e-05/0.3752, allocations: 27.8 kB / 1.195 GB, free: 4.93 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0001935/0.3754, allocations: 87.61 kB / 1.195 GB, free: 4.844 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 6.502e-06/0.3754, allocations: 0 / 1.195 GB, free: 4.844 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.856e-06/0.3754, allocations: 0 / 1.195 GB, free: 4.844 MB / 0.823 GB Notification: Performance of Transformations before backend: time 8.095e-06/0.3754, allocations: 0 / 1.195 GB, free: 4.844 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005657/0.3759, allocations: 314 kB / 1.195 GB, free: 4.504 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 5.365e-05/0.376, allocations: 8.031 kB / 1.195 GB, free: 4.496 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001605/0.3762, allocations: 12.89 kB / 1.195 GB, free: 4.484 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002761/0.3764, allocations: 154.3 kB / 1.195 GB, free: 4.309 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.331e-05/0.3765, allocations: 4.375 kB / 1.195 GB, free: 4.305 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.466e-05/0.3765, allocations: 4.375 kB / 1.195 GB, free: 4.301 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001426/0.3766, allocations: 62.22 kB / 1.195 GB, free: 4.234 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.178e-05/0.3766, allocations: 192 / 1.195 GB, free: 4.234 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.841e-05/0.3766, allocations: 11.88 kB / 1.196 GB, free: 4.223 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.714e-06/0.3766, allocations: 0 / 1.196 GB, free: 4.223 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.163e-05/0.3767, allocations: 35.92 kB / 1.196 GB, free: 4.188 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004176/0.3772, allocations: 256.4 kB / 1.196 GB, free: 3.906 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001161/0.3773, allocations: 50.58 kB / 1.196 GB, free: 3.848 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.186e-05/0.3773, allocations: 18.39 kB / 1.196 GB, free: 3.828 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.304e-05/0.3773, allocations: 0 / 1.196 GB, free: 3.828 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.237e-05/0.3774, allocations: 38.64 kB / 1.196 GB, free: 3.781 MB / 0.823 GB Notification: Performance of pre-optimization done (n=3): time 1.553e-06/0.3774, allocations: 0 / 1.196 GB, free: 3.781 MB / 0.823 GB Notification: Performance of matching and sorting (n=3): time 0.0002107/0.3776, allocations: 73.56 kB / 1.196 GB, free: 3.703 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.162e-05/0.3776, allocations: 55.41 kB / 1.196 GB, free: 3.637 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.386e-05/0.3777, allocations: 135.4 kB / 1.196 GB, free: 3.496 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 1.266e-05/0.3777, allocations: 25.7 kB / 1.196 GB, free: 3.465 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 5.697e-05/0.3778, allocations: 96.12 kB / 1.196 GB, free: 3.367 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 1.632e-05/0.3778, allocations: 11.89 kB / 1.196 GB, free: 3.355 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.119e-05/0.3778, allocations: 17.72 kB / 1.196 GB, free: 3.332 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001018/0.3779, allocations: 322.8 kB / 1.197 GB, free: 3.008 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.194e-05/0.378, allocations: 12 kB / 1.197 GB, free: 2.996 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3e-05/0.378, allocations: 15.98 kB / 1.197 GB, free: 2.98 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.269e-05/0.3781, allocations: 37.12 kB / 1.197 GB, free: 2.941 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.3781, allocations: 0 / 1.197 GB, free: 2.941 MB / 0.823 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.878e-05/0.3782, allocations: 73.55 kB / 1.197 GB, free: 2.863 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.681e-05/0.3782, allocations: 8 kB / 1.197 GB, free: 2.855 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.011e-06/0.3782, allocations: 0 / 1.197 GB, free: 2.855 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.547e-05/0.3782, allocations: 0 / 1.197 GB, free: 2.855 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.622e-05/0.3783, allocations: 4 kB / 1.197 GB, free: 2.852 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.203e-06/0.3783, allocations: 3.984 kB / 1.197 GB, free: 2.848 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.571e-05/0.3783, allocations: 7.953 kB / 1.197 GB, free: 2.84 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.575e-06/0.3783, allocations: 7.984 kB / 1.197 GB, free: 2.832 MB / 0.823 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 7.319e-05/0.3784, allocations: 125.8 kB / 1.197 GB, free: 2.699 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.299e-05/0.3784, allocations: 0 / 1.197 GB, free: 2.699 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.278e-05/0.3784, allocations: 12.34 kB / 1.197 GB, free: 2.68 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.3784, allocations: 0 / 1.197 GB, free: 2.68 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.3784, allocations: 0 / 1.197 GB, free: 2.68 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.3784, allocations: 0 / 1.197 GB, free: 2.68 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001391/0.3786, allocations: 129.2 kB / 1.197 GB, free: 2.523 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.3786, allocations: 3.938 kB / 1.197 GB, free: 2.52 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.545e-05/0.3786, allocations: 4 kB / 1.197 GB, free: 2.516 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.401e-06/0.3786, allocations: 7.984 kB / 1.197 GB, free: 2.508 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.099e-05/0.3786, allocations: 0 / 1.197 GB, free: 2.508 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.963e-06/0.3786, allocations: 4 kB / 1.197 GB, free: 2.504 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.3786, allocations: 0 / 1.197 GB, free: 2.504 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001238/0.3787, allocations: 159.4 kB / 1.197 GB, free: 2.332 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 1.604e-05/0.3788, allocations: 15.89 kB / 1.197 GB, free: 2.316 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.443e-05/0.3788, allocations: 0 / 1.197 GB, free: 2.316 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.045e-05/0.3788, allocations: 7.984 kB / 1.197 GB, free: 2.309 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.807e-05/0.3789, allocations: 7.984 kB / 1.197 GB, free: 2.301 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.148e-06/0.3789, allocations: 0 / 1.197 GB, free: 2.301 MB / 0.823 GB Notification: Performance of sorting global known variables: time 5.556e-05/0.3789, allocations: 116.6 kB / 1.197 GB, free: 2.188 MB / 0.823 GB Notification: Performance of sort global known variables: time 5e-08/0.3789, allocations: 0 / 1.197 GB, free: 2.188 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0001535/0.3791, allocations: 15.95 kB / 1.197 GB, free: 2.172 MB / 0.823 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.0001465/0.3792, allocations: 91.25 kB / 1.197 GB, free: 2.074 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0001376/0.3794, allocations: 35.92 kB / 1.197 GB, free: 2.039 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 2.053e-06/0.3794, allocations: 0 / 1.197 GB, free: 2.039 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 3.029e-05/0.3794, allocations: 19.98 kB / 1.197 GB, free: 2.02 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002122/0.3796, allocations: 17.59 kB / 1.197 GB, free: 2.004 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003659/0.38, allocations: 200.4 kB / 1.198 GB, free: 1.777 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.879e-05/0.38, allocations: 79.33 kB / 1.198 GB, free: 1.68 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.596e-05/0.3801, allocations: 11.42 kB / 1.198 GB, free: 1.668 MB / 0.823 GB Notification: Performance of SimCode: time 1.102e-06/0.3801, allocations: 4 kB / 1.198 GB, free: 1.664 MB / 0.823 GB Notification: Performance of Templates: time 0.00207/0.3821, allocations: 1.002 MB / 1.199 GB, free: 0.668 MB / 0.823 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: 7.73694979865104] Failed to read output from testmodel.py, exit status != 0: 0.3899642154574394 0.403025206 0.025614635 Calling exit ...