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.001046/0.001046, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001493/0.002539, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.001133/0.001133, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001427/0.00256, allocations: 463.6 kB / 11.68 MB, free: 2.484 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 1.05/1.05, allocations: 177.1 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1042/1.154, allocations: 53.66 MB / 243.2 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-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 4.0.0-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 4.0.0-master/package.mo): time 0.8303/0.8303, allocations: 155.3 MB / 399.3 MB, free: 15.92 MB / 394.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-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 4.0.0-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 NFInstanceAPI.mkTop(): time 0.2858/1.116, allocations: 49.13 MB / 448.4 MB, free: 5.992 MB / 426.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-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.464e-06/2.464e-06, allocations: 0 / 449.7 MB, free: 4.652 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.258e-05/2.505e-05, allocations: 3.078 kB / 449.7 MB, free: 4.648 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.GreaterThreshold): time 0.001409/0.001434, allocations: 0.8511 MB / 450.6 MB, free: 3.84 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008508/0.002285, allocations: 0.9392 MB / 451.5 MB, free: 2.887 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.066e-05/0.002355, allocations: 10.89 kB / 451.5 MB, free: 2.879 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 6.834e-05/0.002424, allocations: 13.39 kB / 451.6 MB, free: 2.867 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 3.207e-05/0.002456, allocations: 15 kB / 451.6 MB, free: 2.855 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 9.737e-05/0.002553, allocations: 28.83 kB / 451.6 MB, free: 2.828 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001013/0.002655, allocations: 71.17 kB / 451.7 MB, free: 2.773 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.535e-05/0.00275, allocations: 30.66 kB / 451.7 MB, free: 2.746 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001425/0.002892, allocations: 66.25 kB / 451.8 MB, free: 2.688 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.095e-05/0.002963, allocations: 24.5 kB / 451.8 MB, free: 2.664 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 1.717e-05/0.002981, allocations: 4 kB / 451.8 MB, free: 2.66 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.966e-05/0.00304, allocations: 8.625 kB / 451.8 MB, free: 2.652 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 1.375e-05/0.003054, allocations: 11.94 kB / 451.8 MB, free: 2.641 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 2.026e-05/0.003074, allocations: 17.84 kB / 451.8 MB, free: 2.625 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001079/0.003182, allocations: 43.84 kB / 451.9 MB, free: 2.582 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.564e-05/0.003198, allocations: 0 / 451.9 MB, free: 2.582 MB / 426.7 MB Notification: Performance of FrontEnd: time 9.22e-07/0.003199, allocations: 0 / 451.9 MB, free: 2.582 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.596e-05/0.003215, allocations: 0 / 451.9 MB, free: 2.582 MB / 426.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.0003869/0.003602, allocations: 299.3 kB / 452.2 MB, free: 2.266 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.151e-05/0.003633, allocations: 12.03 kB / 452.2 MB, free: 2.254 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001371/0.00377, allocations: 90.91 kB / 452.3 MB, free: 2.148 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001532/0.003923, allocations: 142.6 kB / 452.4 MB, free: 1.984 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.06e-05/0.003934, allocations: 4.375 kB / 452.4 MB, free: 1.98 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.505e-06/0.003942, allocations: 5.656 kB / 452.4 MB, free: 1.977 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.549e-05/0.004037, allocations: 62.94 kB / 452.5 MB, free: 1.906 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.184e-06/0.004044, allocations: 192 / 452.5 MB, free: 1.906 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.532e-06/0.004051, allocations: 1.062 kB / 452.5 MB, free: 1.906 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.199e-06/0.004056, allocations: 384 / 452.5 MB, free: 1.906 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.056e-05/0.004087, allocations: 21.78 kB / 452.5 MB, free: 1.887 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003665/0.004453, allocations: 180.2 kB / 452.7 MB, free: 1.695 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.09e-05/0.004524, allocations: 38.58 kB / 452.7 MB, free: 1.648 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.153e-05/0.004535, allocations: 5.422 kB / 452.7 MB, free: 1.641 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.405e-05/0.00455, allocations: 4 kB / 452.7 MB, free: 1.637 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.18e-05/0.004571, allocations: 35.12 kB / 452.8 MB, free: 1.594 MB / 426.7 MB Notification: Performance of pre-optimization done (n=3): time 1.333e-06/0.004573, allocations: 1.656 kB / 452.8 MB, free: 1.594 MB / 426.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001115/0.004684, allocations: 46.48 kB / 452.8 MB, free: 1.543 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.144e-05/0.004716, allocations: 55.34 kB / 452.9 MB, free: 1.477 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.506e-05/0.004781, allocations: 134.6 kB / 453 MB, free: 1.332 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.608e-05/0.004797, allocations: 25.7 kB / 453 MB, free: 1.301 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.072e-05/0.004837, allocations: 97.55 kB / 453.1 MB, free: 1.203 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.425e-05/0.004852, allocations: 11.89 kB / 453.1 MB, free: 1.191 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.957e-05/0.004881, allocations: 13.72 kB / 453.1 MB, free: 1.172 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.729e-05/0.004959, allocations: 319.6 kB / 453.4 MB, free: 0.8516 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.144e-05/0.00497, allocations: 7.938 kB / 453.5 MB, free: 0.8438 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.084e-05/0.004981, allocations: 5.438 kB / 453.5 MB, free: 0.8398 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.826e-05/0.005009, allocations: 19.31 kB / 453.5 MB, free: 0.8203 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.005011, allocations: 0 / 453.5 MB, free: 0.8203 MB / 426.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 4.941e-05/0.00506, allocations: 45.62 kB / 453.5 MB, free: 0.7695 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.462e-05/0.005075, allocations: 14.34 kB / 453.5 MB, free: 0.7578 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.00508, allocations: 0 / 453.5 MB, free: 0.7578 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.217e-06/0.005089, allocations: 0 / 453.5 MB, free: 0.7578 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.67e-05/0.005146, allocations: 12.64 kB / 453.5 MB, free: 0.7461 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.715e-06/0.005148, allocations: 0.8438 kB / 453.6 MB, free: 0.7461 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.371e-05/0.005172, allocations: 4 kB / 453.6 MB, free: 0.7422 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.719e-06/0.005177, allocations: 0.625 kB / 453.6 MB, free: 0.7422 MB / 426.7 MB 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 5.709e-05/0.005234, allocations: 115.3 kB / 453.7 MB, free: 0.6211 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.612e-05/0.00525, allocations: 7.938 kB / 453.7 MB, free: 0.6133 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.253e-05/0.005272, allocations: 12.34 kB / 453.7 MB, free: 0.5977 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.005274, allocations: 0 / 453.7 MB, free: 0.5977 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.393e-06/0.005276, allocations: 2.094 kB / 453.7 MB, free: 0.5977 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.005279, allocations: 0 / 453.7 MB, free: 0.5977 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.488e-05/0.005374, allocations: 81.83 kB / 453.8 MB, free: 0.5 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.005376, allocations: 3.984 kB / 453.8 MB, free: 0.4961 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.867e-05/0.005394, allocations: 4 kB / 453.8 MB, free: 0.4922 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.665e-06/0.005402, allocations: 4 kB / 453.8 MB, free: 500 kB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.042e-06/0.005403, allocations: 0.9062 kB / 453.8 MB, free: 500 kB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.001e-06/0.005409, allocations: 3.938 kB / 453.8 MB, free: 496 kB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.51e-07/0.00541, allocations: 0.9062 kB / 453.8 MB, free: 496 kB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.005411, allocations: 0 / 453.8 MB, free: 496 kB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.878e-05/0.00549, allocations: 146 kB / 453.9 MB, free: 336 kB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.61e-05/0.005506, allocations: 0 / 453.9 MB, free: 336 kB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.592e-05/0.005542, allocations: 7.938 kB / 453.9 MB, free: 328 kB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.572e-05/0.005578, allocations: 12.61 kB / 453.9 MB, free: 316 kB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.447e-06/0.005581, allocations: 3.984 kB / 454 MB, free: 312 kB / 426.7 MB Notification: Performance of sorting global known variables: time 2.213e-05/0.005603, allocations: 27.3 kB / 454 MB, free: 284 kB / 426.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005603, allocations: 0 / 454 MB, free: 284 kB / 426.7 MB Notification: Performance of remove unused functions: time 0.0001172/0.00572, allocations: 12.61 kB / 454 MB, free: 272 kB / 426.7 MB 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 9.114e-05/0.005812, allocations: 77.52 kB / 454.1 MB, free: 188 kB / 426.7 MB Notification: Performance of simCode: created initialization part: time 6.345e-05/0.005875, allocations: 24.78 kB / 454.1 MB, free: 160 kB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.641e-06/0.005881, allocations: 8.562 kB / 454.1 MB, free: 152 kB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 1.893e-05/0.0059, allocations: 11.41 kB / 454.1 MB, free: 140 kB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001504/0.00605, allocations: 13.12 kB / 454.1 MB, free: 128 kB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007082/0.006758, allocations: 190.5 kB / 454.3 MB, free: 15.91 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.624e-05/0.006794, allocations: 59.34 kB / 454.4 MB, free: 15.84 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 2.845e-05/0.006823, allocations: 5.906 kB / 454.4 MB, free: 15.83 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.822e-05/0.006881, allocations: 59.36 kB / 454.4 MB, free: 15.77 MB / 442.7 MB Notification: Performance of SimCode: time 7.21e-07/0.006882, allocations: 0 / 454.4 MB, free: 15.77 MB / 442.7 MB Notification: Performance of Templates: time 0.002628/0.00951, allocations: 0.9965 MB / 455.4 MB, free: 14.84 MB / 442.7 MB " [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: 3.6704171327874064]