Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.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.001862/0.001862, allocations: 75.25 kB / 19.16 MB, free: 2.57 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.001536/0.001536, allocations: 168.7 kB / 22.43 MB, free: 5.312 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.389/1.389, allocations: 177.2 MB / 202.8 MB, free: 9.191 MB / 190.1 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:190: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:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 1.182/1.182, allocations: 155 MB / 414.2 MB, free: 4.961 MB / 382.1 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 178] 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.GreaterThreshold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.GreaterThreshold") translateModel(IDEAS.Controls.OBC.CDL.Reals.Validation.GreaterThreshold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.GreaterThreshold") [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.002056/0.002056, allocations: 70.77 kB / 0.6192 GB, free: 4.086 MB / 0.5294 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.5131/0.5151, allocations: 102 MB / 0.7188 GB, free: 1.754 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.GreaterThreshold): time 0.001724/0.5169, allocations: 0.7921 MB / 0.7196 GB, free: 1.25 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0008463/0.5177, allocations: 0.905 MB / 0.7205 GB, free: 0.5742 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.726e-05/0.5178, allocations: 10.47 kB / 0.7205 GB, free: 0.5664 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001197/0.5179, allocations: 11.58 kB / 0.7205 GB, free: 0.5586 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 3.685e-05/0.518, allocations: 17.02 kB / 0.7205 GB, free: 0.543 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001775/0.5181, allocations: 30.89 kB / 0.7205 GB, free: 0.5273 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001078/0.5182, allocations: 72.67 kB / 0.7206 GB, free: 0.4922 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001001/0.5183, allocations: 18.62 kB / 0.7206 GB, free: 496 kB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000149/0.5185, allocations: 58 kB / 0.7207 GB, free: 464 kB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 6.66e-05/0.5186, allocations: 23.62 kB / 0.7207 GB, free: 452 kB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.637e-05/0.5186, allocations: 4.844 kB / 0.7207 GB, free: 452 kB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 4.19e-05/0.5186, allocations: 16.14 kB / 0.7207 GB, free: 444 kB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.686e-05/0.5186, allocations: 12.7 kB / 0.7207 GB, free: 436 kB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.57e-05/0.5187, allocations: 28.05 kB / 0.7207 GB, free: 416 kB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001418/0.5188, allocations: 90.33 kB / 0.7208 GB, free: 376 kB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.367e-06/0.5188, allocations: 1.281 kB / 0.7208 GB, free: 376 kB / 0.6075 GB Notification: Performance of FrontEnd: time 9.92e-07/0.5188, allocations: 0 / 0.7208 GB, free: 376 kB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.3e-06/0.5188, allocations: 0 / 0.7208 GB, free: 376 kB / 0.6075 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.0004241/0.5192, allocations: 315.2 kB / 0.7211 GB, free: 72 kB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 2.899e-05/0.5193, allocations: 11.78 kB / 0.7211 GB, free: 72 kB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001422/0.5194, allocations: 21.95 kB / 0.7212 GB, free: 64 kB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002512/0.5197, allocations: 145.7 kB / 0.7213 GB, free: 15.91 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.184e-06/0.5197, allocations: 3.891 kB / 0.7213 GB, free: 15.91 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.612e-05/0.5197, allocations: 6.938 kB / 0.7213 GB, free: 15.91 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001577/0.5198, allocations: 63.06 kB / 0.7214 GB, free: 15.87 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.285e-06/0.5198, allocations: 192 / 0.7214 GB, free: 15.87 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.256e-05/0.5199, allocations: 4.734 kB / 0.7214 GB, free: 15.86 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.247e-06/0.5199, allocations: 1.281 kB / 0.7214 GB, free: 15.86 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001128/0.52, allocations: 39.11 kB / 0.7214 GB, free: 15.85 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004461/0.5204, allocations: 253.2 kB / 0.7217 GB, free: 15.62 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001582/0.5206, allocations: 47.31 kB / 0.7217 GB, free: 15.59 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.487e-05/0.5206, allocations: 17.78 kB / 0.7217 GB, free: 15.58 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 1.324e-05/0.5206, allocations: 5.266 kB / 0.7217 GB, free: 15.57 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.676e-05/0.5207, allocations: 36.64 kB / 0.7218 GB, free: 15.53 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=3): time 9.92e-07/0.5207, allocations: 0 / 0.7218 GB, free: 15.53 MB / 0.6231 GB Notification: Performance of matching and sorting (n=3): time 0.0002487/0.5209, allocations: 76.28 kB / 0.7218 GB, free: 15.48 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.242e-05/0.521, allocations: 55.95 kB / 0.7219 GB, free: 15.42 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001201/0.5211, allocations: 141.8 kB / 0.722 GB, free: 15.3 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 1.815e-05/0.5211, allocations: 28.28 kB / 0.7221 GB, free: 15.27 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 6.26e-05/0.5212, allocations: 98.34 kB / 0.7221 GB, free: 15.18 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 2.053e-05/0.5212, allocations: 5.469 kB / 0.7222 GB, free: 15.17 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.015e-05/0.5212, allocations: 19.84 kB / 0.7222 GB, free: 15.15 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001371/0.5214, allocations: 323.5 kB / 0.7225 GB, free: 14.83 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.734e-05/0.5214, allocations: 15.19 kB / 0.7225 GB, free: 14.83 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.781e-05/0.5215, allocations: 18.27 kB / 0.7225 GB, free: 14.82 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.012e-05/0.5216, allocations: 26.5 kB / 0.7225 GB, free: 14.81 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.5216, allocations: 1.125 kB / 0.7225 GB, free: 14.81 MB / 0.6231 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000146/0.5217, allocations: 70 kB / 0.7226 GB, free: 14.76 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.249e-05/0.5217, allocations: 6.328 kB / 0.7226 GB, free: 14.76 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.527e-06/0.5217, allocations: 0 / 0.7226 GB, free: 14.76 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.525e-05/0.5217, allocations: 1.312 kB / 0.7226 GB, free: 14.76 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.306e-05/0.5218, allocations: 8.609 kB / 0.7226 GB, free: 14.76 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.178e-06/0.5218, allocations: 0.7969 kB / 0.7226 GB, free: 14.76 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.902e-05/0.5219, allocations: 21.84 kB / 0.7226 GB, free: 14.75 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.863e-06/0.5219, allocations: 1.766 kB / 0.7226 GB, free: 14.75 MB / 0.6231 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 (greHys.greHys.y,$PRE.greHys.greHys.y,gre.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 9.954e-05/0.522, allocations: 120.3 kB / 0.7228 GB, free: 14.62 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.995e-05/0.522, allocations: 5.891 kB / 0.7228 GB, free: 14.62 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.977e-05/0.522, allocations: 11.91 kB / 0.7228 GB, free: 14.61 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.522, allocations: 1.062 kB / 0.7228 GB, free: 14.61 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.5221, allocations: 4.734 kB / 0.7228 GB, free: 14.61 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.864e-06/0.5221, allocations: 1.094 kB / 0.7228 GB, free: 14.61 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001523/0.5222, allocations: 123.5 kB / 0.7229 GB, free: 14.47 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.5222, allocations: 4.516 kB / 0.7229 GB, free: 14.47 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.147e-05/0.5222, allocations: 4.766 kB / 0.7229 GB, free: 14.47 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.923e-06/0.5223, allocations: 0.8438 kB / 0.7229 GB, free: 14.47 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.137e-06/0.5223, allocations: 0.6094 kB / 0.7229 GB, free: 14.47 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.5223, allocations: 1.734 kB / 0.7229 GB, free: 14.47 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.5223, allocations: 0 / 0.7229 GB, free: 14.47 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001992/0.5225, allocations: 164.2 kB / 0.7231 GB, free: 14.32 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 1.636e-05/0.5225, allocations: 11.61 kB / 0.7231 GB, free: 14.31 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.557e-05/0.5225, allocations: 1.312 kB / 0.7231 GB, free: 14.31 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001094/0.5226, allocations: 18.2 kB / 0.7231 GB, free: 14.3 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.453e-05/0.5226, allocations: 7.891 kB / 0.7231 GB, free: 14.3 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.46e-06/0.5227, allocations: 5.016 kB / 0.7231 GB, free: 14.3 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 7.647e-05/0.5227, allocations: 103 kB / 0.7232 GB, free: 14.22 MB / 0.6231 GB Notification: Performance of sort global known variables: time 7e-08/0.5227, allocations: 0 / 0.7232 GB, free: 14.22 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0002234/0.523, allocations: 8.781 kB / 0.7232 GB, free: 14.22 MB / 0.6231 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 (gre.y,greHys.greHys.y) * Number of discrete states: 1 (greHys.greHys.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.0001129/0.5231, allocations: 97.91 kB / 0.7233 GB, free: 14.13 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0001631/0.5232, allocations: 37.06 kB / 0.7233 GB, free: 14.12 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.5232, allocations: 4 kB / 0.7234 GB, free: 14.11 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 6.02e-05/0.5233, allocations: 17.16 kB / 0.7234 GB, free: 14.11 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002493/0.5235, allocations: 15.73 kB / 0.7234 GB, free: 14.1 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003602/0.5239, allocations: 166.6 kB / 0.7235 GB, free: 13.96 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.273e-05/0.524, allocations: 77.47 kB / 0.7236 GB, free: 13.88 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 3.653e-05/0.524, allocations: 8.391 kB / 0.7236 GB, free: 13.88 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.516e-05/0.524, allocations: 11.94 kB / 0.7236 GB, free: 13.87 MB / 0.6231 GB Notification: Performance of SimCode: time 2.91e-07/0.524, allocations: 1.531 kB / 0.7236 GB, free: 13.87 MB / 0.6231 GB Notification: Performance of Templates: time 0.003468/0.5275, allocations: 0.9097 MB / 0.7245 GB, free: 13.76 MB / 0.6231 GB " [Timeout remaining time 659] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.GreaterThreshold -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.00800141133368] Failed to read output from testmodel.py, exit status != 0: 0.5359720885753632 0.551951433 0.029519969000000004 Calling exit ...