Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.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.0007213/0.0007213, allocations: 76.45 kB / 19.9 MB, free: 16 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.0007715/0.0007715, allocations: 169.8 kB / 23.18 MB, free: 1.383 MB / 18.57 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.9232/0.9232, allocations: 177.2 MB / 203.6 MB, free: 5.773 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:686:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.7526/0.7526, allocations: 154.9 MB / 414.9 MB, free: 0.4961 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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(IDEAS.Controls.OBC.CDL.Reals.Validation.LessThreshold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.LessThreshold") translateModel(IDEAS.Controls.OBC.CDL.Reals.Validation.LessThreshold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.LessThreshold") [Timeout 660] "Notification: IDEAS 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.0009969/0.0009969, allocations: 71.89 kB / 0.6199 GB, free: 12.75 MB / 0.5886 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. Notification: Performance of FrontEnd - Absyn->SCode: time 0.495/0.496, allocations: 102 MB / 0.7195 GB, free: 23.53 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.LessThreshold): time 0.001881/0.4979, allocations: 0.7818 MB / 0.7203 GB, free: 23.04 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.001194/0.4991, allocations: 0.9058 MB / 0.7212 GB, free: 22.36 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001009/0.4992, allocations: 7.5 kB / 0.7212 GB, free: 22.36 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0001471/0.4993, allocations: 10.22 kB / 0.7212 GB, free: 22.35 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 3.855e-05/0.4994, allocations: 14.12 kB / 0.7212 GB, free: 22.34 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002515/0.4996, allocations: 35.34 kB / 0.7212 GB, free: 22.32 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0001329/0.4998, allocations: 71.61 kB / 0.7213 GB, free: 22.29 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001464/0.4999, allocations: 26.67 kB / 0.7213 GB, free: 22.27 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001892/0.5001, allocations: 57.62 kB / 0.7214 GB, free: 22.24 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 8.388e-05/0.5002, allocations: 23.88 kB / 0.7214 GB, free: 22.23 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 1.994e-05/0.5002, allocations: 5.625 kB / 0.7214 GB, free: 22.23 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 5.663e-05/0.5003, allocations: 16 kB / 0.7214 GB, free: 22.22 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 1.848e-05/0.5003, allocations: 12.41 kB / 0.7214 GB, free: 22.21 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 3.592e-05/0.5003, allocations: 24.34 kB / 0.7214 GB, free: 22.2 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.00018/0.5005, allocations: 83.81 kB / 0.7215 GB, free: 22.16 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 5.03e-06/0.5005, allocations: 1.703 kB / 0.7215 GB, free: 22.16 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.864e-06/0.5005, allocations: 0 / 0.7215 GB, free: 22.16 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.704e-06/0.5005, allocations: 0 / 0.7215 GB, free: 22.16 MB / 0.6355 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.0004862/0.501, allocations: 320.3 kB / 0.7218 GB, free: 21.86 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.612e-05/0.501, allocations: 10.69 kB / 0.7218 GB, free: 21.86 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001563/0.5012, allocations: 17.8 kB / 0.7219 GB, free: 21.86 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000245/0.5014, allocations: 154.9 kB / 0.722 GB, free: 21.7 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.131e-05/0.5015, allocations: 6.656 kB / 0.722 GB, free: 21.7 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.509e-05/0.5015, allocations: 2.906 kB / 0.722 GB, free: 21.7 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001511/0.5016, allocations: 62.47 kB / 0.7221 GB, free: 21.65 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.008e-05/0.5016, allocations: 2.156 kB / 0.7221 GB, free: 21.65 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.396e-05/0.5016, allocations: 7.875 kB / 0.7221 GB, free: 21.64 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.224e-06/0.5017, allocations: 1.219 kB / 0.7221 GB, free: 21.64 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.521e-05/0.5017, allocations: 31.78 kB / 0.7221 GB, free: 21.64 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004396/0.5022, allocations: 255.8 kB / 0.7224 GB, free: 21.41 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000145/0.5023, allocations: 42.98 kB / 0.7224 GB, free: 21.38 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.087e-05/0.5024, allocations: 18.17 kB / 0.7224 GB, free: 21.37 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.317e-05/0.5024, allocations: 1.797 kB / 0.7224 GB, free: 21.37 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.221e-05/0.5024, allocations: 35.69 kB / 0.7225 GB, free: 21.32 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 2.054e-06/0.5024, allocations: 1.188 kB / 0.7225 GB, free: 21.32 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.0002378/0.5027, allocations: 79.67 kB / 0.7225 GB, free: 21.27 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.124e-05/0.5027, allocations: 56.5 kB / 0.7226 GB, free: 21.21 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001012/0.5028, allocations: 135.2 kB / 0.7227 GB, free: 21.1 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.044e-05/0.5028, allocations: 26.83 kB / 0.7227 GB, free: 21.07 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.116e-05/0.5029, allocations: 99.17 kB / 0.7228 GB, free: 20.97 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.913e-05/0.5029, allocations: 5.859 kB / 0.7228 GB, free: 20.97 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.415e-05/0.5029, allocations: 19.14 kB / 0.7229 GB, free: 20.95 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 5.262e-05/0.503, allocations: 324 kB / 0.7232 GB, free: 20.63 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.646e-05/0.503, allocations: 14.52 kB / 0.7232 GB, free: 20.62 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.33e-05/0.503, allocations: 15.08 kB / 0.7232 GB, free: 20.62 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.908e-05/0.5031, allocations: 30.86 kB / 0.7232 GB, free: 20.61 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.956e-06/0.5031, allocations: 0 / 0.7232 GB, free: 20.61 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001136/0.5032, allocations: 71.89 kB / 0.7233 GB, free: 20.56 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.957e-05/0.5033, allocations: 5.438 kB / 0.7233 GB, free: 20.56 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.5033, allocations: 0 / 0.7233 GB, free: 20.56 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.823e-05/0.5033, allocations: 0 / 0.7233 GB, free: 20.56 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.511e-05/0.5034, allocations: 5.172 kB / 0.7233 GB, free: 20.56 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.963e-06/0.5034, allocations: 1.25 kB / 0.7233 GB, free: 20.56 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.806e-05/0.5034, allocations: 18.02 kB / 0.7233 GB, free: 20.55 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.498e-06/0.5034, allocations: 1.188 kB / 0.7233 GB, free: 20.55 MB / 0.6355 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 6.357e-05/0.5035, allocations: 123.2 kB / 0.7234 GB, free: 20.43 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.631e-05/0.5035, allocations: 7.359 kB / 0.7234 GB, free: 20.42 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.085e-05/0.5035, allocations: 16.25 kB / 0.7235 GB, free: 20.41 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.486e-06/0.5035, allocations: 4.688 kB / 0.7235 GB, free: 20.4 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5e-06/0.5035, allocations: 1.062 kB / 0.7235 GB, free: 20.4 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.5035, allocations: 3.984 kB / 0.7235 GB, free: 20.4 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000108/0.5036, allocations: 124.8 kB / 0.7236 GB, free: 20.27 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.5036, allocations: 0 / 0.7236 GB, free: 20.27 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.651e-05/0.5037, allocations: 5.359 kB / 0.7236 GB, free: 20.27 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.804e-06/0.5037, allocations: 4 kB / 0.7236 GB, free: 20.26 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.795e-06/0.5037, allocations: 4.969 kB / 0.7236 GB, free: 20.26 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-06/0.5037, allocations: 0.6562 kB / 0.7236 GB, free: 20.26 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.5037, allocations: 1.125 kB / 0.7236 GB, free: 20.26 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001216/0.5038, allocations: 159.9 kB / 0.7238 GB, free: 20.11 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 1.438e-05/0.5038, allocations: 7.391 kB / 0.7238 GB, free: 20.11 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.633e-05/0.5038, allocations: 2.125 kB / 0.7238 GB, free: 20.11 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.219e-05/0.5039, allocations: 8.625 kB / 0.7238 GB, free: 20.11 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.503e-05/0.504, allocations: 12.27 kB / 0.7238 GB, free: 20.11 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.51e-06/0.504, allocations: 10.17 kB / 0.7238 GB, free: 20.1 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 4.35e-05/0.504, allocations: 102.8 kB / 0.7239 GB, free: 20.02 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.504, allocations: 0 / 0.7239 GB, free: 20.02 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.000151/0.5042, allocations: 7.625 kB / 0.7239 GB, free: 20.02 MB / 0.6355 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.0001059/0.5043, allocations: 94.33 kB / 0.724 GB, free: 19.93 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001325/0.5044, allocations: 37.38 kB / 0.724 GB, free: 19.92 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.423e-06/0.5044, allocations: 0 / 0.724 GB, free: 19.92 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 3.511e-05/0.5044, allocations: 16.83 kB / 0.724 GB, free: 19.91 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002244/0.5047, allocations: 23.81 kB / 0.7241 GB, free: 19.9 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003523/0.505, allocations: 172.1 kB / 0.7242 GB, free: 19.75 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.148e-05/0.5051, allocations: 80.78 kB / 0.7243 GB, free: 19.67 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 3.688e-05/0.5051, allocations: 4.359 kB / 0.7243 GB, free: 19.67 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.545e-05/0.5051, allocations: 13.98 kB / 0.7243 GB, free: 19.66 MB / 0.6355 GB Notification: Performance of SimCode: time 6.11e-07/0.5051, allocations: 4 kB / 0.7243 GB, free: 19.66 MB / 0.6355 GB Notification: Performance of Templates: time 0.003035/0.5082, allocations: 0.915 MB / 0.7252 GB, free: 19.55 MB / 0.6355 GB " [Timeout remaining time 659] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.LessThreshold.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.LessThreshold.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.LessThreshold.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.LessThreshold.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.LessThreshold.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.LessThreshold -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.LessThreshold.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.262586941942573] Failed to read output from testmodel.py, exit status != 0: 0.5152193499961868 0.525102698 0.022568057000000002 Calling exit ...