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.001848/0.001848, allocations: 85.48 kB / 19.44 MB, free: 336 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.002068/0.002068, allocations: 173.2 kB / 22.76 MB, free: 1.656 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 1.648/1.648, allocations: 177.1 MB / 203.1 MB, free: 5.594 MB / 186.7 MB " [Timeout remaining time 178] 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-535:34: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-535:42: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.347/1.347, allocations: 154.8 MB / 414.4 MB, free: 444 kB / 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 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: Performance of FrontEnd - loaded program: time 2.114e-06/2.114e-06, allocations: 0 / 0.5199 GB, free: 2.203 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.87e-05/3.082e-05, allocations: 3.719 kB / 0.5199 GB, free: 2.199 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.GreaterThreshold): time 0.002051/0.002082, allocations: 0.8051 MB / 0.5207 GB, free: 1.418 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001395/0.003476, allocations: 0.9025 MB / 0.5216 GB, free: 0.5039 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.108e-05/0.003558, allocations: 6.812 kB / 0.5216 GB, free: 0.5 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001407/0.003698, allocations: 19.8 kB / 0.5216 GB, free: 492 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 4.409e-05/0.003742, allocations: 15.86 kB / 0.5216 GB, free: 476 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002001/0.003942, allocations: 27.91 kB / 0.5217 GB, free: 448 kB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001334/0.004076, allocations: 71.78 kB / 0.5217 GB, free: 376 kB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001236/0.004199, allocations: 23.97 kB / 0.5218 GB, free: 352 kB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00017/0.004369, allocations: 48.97 kB / 0.5218 GB, free: 304 kB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.48e-05/0.004444, allocations: 27.89 kB / 0.5218 GB, free: 276 kB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 2.037e-05/0.004465, allocations: 4 kB / 0.5218 GB, free: 272 kB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.102e-05/0.004506, allocations: 8.562 kB / 0.5218 GB, free: 264 kB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 2.183e-05/0.004527, allocations: 12.5 kB / 0.5218 GB, free: 252 kB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 3.675e-05/0.004564, allocations: 19.92 kB / 0.5219 GB, free: 232 kB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001715/0.004736, allocations: 88.61 kB / 0.522 GB, free: 144 kB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.445e-06/0.004738, allocations: 0 / 0.522 GB, free: 144 kB / 490.7 MB Notification: Performance of FrontEnd: time 8.41e-07/0.004739, allocations: 0 / 0.522 GB, free: 144 kB / 490.7 MB Notification: Performance of Transformations before backend: time 4.478e-06/0.004743, allocations: 1.438 kB / 0.522 GB, free: 144 kB / 490.7 MB 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.0006514/0.005395, allocations: 412 kB / 0.5223 GB, free: 15.7 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 0.0001598/0.005555, allocations: 8.031 kB / 0.5224 GB, free: 15.69 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000171/0.005726, allocations: 25.78 kB / 0.5224 GB, free: 15.67 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002403/0.005966, allocations: 150.4 kB / 0.5225 GB, free: 15.5 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.04e-05/0.005976, allocations: 384 / 0.5225 GB, free: 15.5 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.227e-05/0.005988, allocations: 4.375 kB / 0.5225 GB, free: 15.49 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001693/0.006158, allocations: 62.23 kB / 0.5226 GB, free: 15.43 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.536e-06/0.006166, allocations: 1.094 kB / 0.5226 GB, free: 15.43 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.778e-06/0.006176, allocations: 384 / 0.5226 GB, free: 15.43 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.753e-06/0.006183, allocations: 4.359 kB / 0.5226 GB, free: 15.42 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001087/0.006291, allocations: 40.67 kB / 0.5226 GB, free: 15.38 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004921/0.006784, allocations: 300.8 kB / 0.5229 GB, free: 15.05 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001696/0.006953, allocations: 60.45 kB / 0.523 GB, free: 14.98 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.601e-05/0.007009, allocations: 23.78 kB / 0.523 GB, free: 14.96 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 3.165e-05/0.007041, allocations: 3.984 kB / 0.523 GB, free: 14.95 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.441e-05/0.007075, allocations: 37.39 kB / 0.523 GB, free: 14.91 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=3): time 9.82e-07/0.007076, allocations: 0.7812 kB / 0.523 GB, free: 14.91 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3): time 0.0002629/0.007339, allocations: 74.36 kB / 0.5231 GB, free: 14.83 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.335e-05/0.007383, allocations: 51.41 kB / 0.5232 GB, free: 14.77 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001785/0.007561, allocations: 207 kB / 0.5234 GB, free: 14.55 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.411e-05/0.007585, allocations: 29.7 kB / 0.5234 GB, free: 14.52 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001033/0.007688, allocations: 150.8 kB / 0.5235 GB, free: 14.36 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.998e-05/0.007708, allocations: 11.94 kB / 0.5235 GB, free: 14.35 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.116e-05/0.00776, allocations: 23.38 kB / 0.5236 GB, free: 14.32 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002722/0.008032, allocations: 0.4923 MB / 0.524 GB, free: 13.82 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.264e-05/0.008084, allocations: 12 kB / 0.5241 GB, free: 13.8 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.237e-05/0.008127, allocations: 15.98 kB / 0.5241 GB, free: 13.79 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.055e-05/0.008207, allocations: 28.19 kB / 0.5241 GB, free: 13.76 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.008209, allocations: 0.75 kB / 0.5241 GB, free: 13.76 MB / 0.4948 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001453/0.008354, allocations: 73.5 kB / 0.5242 GB, free: 13.68 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.494e-05/0.008369, allocations: 8.844 kB / 0.5242 GB, free: 13.67 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.747e-06/0.008373, allocations: 0 / 0.5242 GB, free: 13.67 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.36e-05/0.008387, allocations: 0.625 kB / 0.5242 GB, free: 13.67 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.655e-05/0.008443, allocations: 5.031 kB / 0.5242 GB, free: 13.67 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.649e-06/0.008448, allocations: 0 / 0.5242 GB, free: 13.67 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.804e-05/0.008506, allocations: 11.94 kB / 0.5242 GB, free: 13.66 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.961e-06/0.008512, allocations: 0.5 kB / 0.5242 GB, free: 13.66 MB / 0.4948 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 0.0001234/0.008635, allocations: 161.6 kB / 0.5243 GB, free: 13.49 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.134e-05/0.008667, allocations: 7.938 kB / 0.5244 GB, free: 13.48 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.921e-05/0.008696, allocations: 9.562 kB / 0.5244 GB, free: 13.47 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.192e-06/0.008697, allocations: 4 kB / 0.5244 GB, free: 13.46 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.885e-06/0.0087, allocations: 0 / 0.5244 GB, free: 13.46 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.194e-06/0.008702, allocations: 0.625 kB / 0.5244 GB, free: 13.46 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002029/0.008905, allocations: 148.6 kB / 0.5245 GB, free: 13.29 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.008906, allocations: 0.6562 kB / 0.5245 GB, free: 13.29 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.499e-05/0.008941, allocations: 0 / 0.5245 GB, free: 13.29 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.062e-06/0.008947, allocations: 19.3 kB / 0.5245 GB, free: 13.27 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.895e-06/0.008955, allocations: 0 / 0.5245 GB, free: 13.27 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.008956, allocations: 3.938 kB / 0.5245 GB, free: 13.27 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.008957, allocations: 0 / 0.5245 GB, free: 13.27 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002203/0.009177, allocations: 204.2 kB / 0.5247 GB, free: 13.05 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 2.231e-05/0.009199, allocations: 15.88 kB / 0.5247 GB, free: 13.03 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.088e-05/0.00922, allocations: 4 kB / 0.5247 GB, free: 13.03 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.823e-05/0.009299, allocations: 4 kB / 0.5247 GB, free: 13.02 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.257e-05/0.009351, allocations: 10.73 kB / 0.5248 GB, free: 13.02 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.689e-06/0.009356, allocations: 0 / 0.5248 GB, free: 13.02 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0001119/0.009468, allocations: 153.5 kB / 0.5249 GB, free: 12.87 MB / 0.4948 GB Notification: Performance of sort global known variables: time 7e-08/0.009468, allocations: 0 / 0.5249 GB, free: 12.87 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002195/0.009687, allocations: 19.89 kB / 0.5249 GB, free: 12.85 MB / 0.4948 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.0001452/0.009832, allocations: 95.25 kB / 0.525 GB, free: 12.74 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001602/0.009993, allocations: 40.17 kB / 0.5251 GB, free: 12.7 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.403e-06/0.009994, allocations: 1.469 kB / 0.5251 GB, free: 12.7 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 6.351e-05/0.01006, allocations: 27.67 kB / 0.5251 GB, free: 12.67 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000248/0.01031, allocations: 10.52 kB / 0.5251 GB, free: 12.66 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004103/0.01072, allocations: 183.5 kB / 0.5253 GB, free: 12.45 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001017/0.01082, allocations: 78.08 kB / 0.5253 GB, free: 12.36 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 3.759e-05/0.01086, allocations: 7.734 kB / 0.5253 GB, free: 12.35 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.016e-05/0.0109, allocations: 12.5 kB / 0.5254 GB, free: 12.34 MB / 0.4948 GB Notification: Performance of SimCode: time 5.21e-07/0.0109, allocations: 0 / 0.5254 GB, free: 12.34 MB / 0.4948 GB Notification: Performance of Templates: time 0.004056/0.01495, allocations: 0.9127 MB / 0.5263 GB, free: 11.46 MB / 0.4948 GB " [Timeout remaining time 660] 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=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.175733539042994]