Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.001283/0.001283, allocations: 80.53 kB / 19.18 MB, free: 2.52 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.001448/0.001448, allocations: 163.9 kB / 22.46 MB, free: 5.375 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.443/1.443, allocations: 177.2 MB / 202.8 MB, free: 9.16 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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 4.0.0/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 4.0.0/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 4.0.0/package.mo): time 1.183/1.183, allocations: 154.6 MB / 413.8 MB, free: 5.195 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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/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 4.0.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(IDEAS.Controls.OBC.CDL.Reals.Validation.GreaterThreshold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_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_IDEAS.Controls.OBC.CDL.Reals.Validation.GreaterThreshold") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.613e-06/1.613e-06, allocations: 0 / 0.6186 GB, free: 4.461 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.805e-05/2.967e-05, allocations: 3.188 kB / 0.6186 GB, free: 4.457 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.GreaterThreshold): time 0.00195/0.00198, allocations: 0.7895 MB / 0.6194 GB, free: 3.68 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001313/0.003293, allocations: 0.9002 MB / 0.6203 GB, free: 2.77 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.615e-05/0.00337, allocations: 7.938 kB / 0.6203 GB, free: 2.762 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0001246/0.003494, allocations: 19.75 kB / 0.6203 GB, free: 2.742 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 4.218e-05/0.003536, allocations: 15.86 kB / 0.6203 GB, free: 2.727 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001887/0.003725, allocations: 24.47 kB / 0.6204 GB, free: 2.703 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001361/0.003861, allocations: 79.77 kB / 0.6204 GB, free: 2.625 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001172/0.003978, allocations: 27.92 kB / 0.6205 GB, free: 2.598 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001658/0.004144, allocations: 47.83 kB / 0.6205 GB, free: 2.551 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 6.337e-05/0.004208, allocations: 15.92 kB / 0.6205 GB, free: 2.535 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.248e-05/0.00423, allocations: 8 kB / 0.6205 GB, free: 2.527 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 4.723e-05/0.004277, allocations: 8 kB / 0.6205 GB, free: 2.52 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 2.708e-05/0.004304, allocations: 19.91 kB / 0.6206 GB, free: 2.5 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.265e-05/0.004337, allocations: 15.94 kB / 0.6206 GB, free: 2.484 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001613/0.004498, allocations: 83.72 kB / 0.6207 GB, free: 2.402 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 2.705e-06/0.004501, allocations: 0 / 0.6207 GB, free: 2.402 MB / 0.5294 GB Notification: Performance of FrontEnd: time 6.11e-07/0.004502, allocations: 0 / 0.6207 GB, free: 2.402 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.258e-06/0.004506, allocations: 8 kB / 0.6207 GB, free: 2.395 MB / 0.5294 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.0005788/0.005085, allocations: 321.9 kB / 0.621 GB, free: 2.047 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.805e-05/0.005123, allocations: 8.031 kB / 0.621 GB, free: 2.039 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000149/0.005272, allocations: 16.89 kB / 0.621 GB, free: 2.023 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002339/0.005506, allocations: 153.4 kB / 0.6211 GB, free: 1.848 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.256e-05/0.005518, allocations: 4.375 kB / 0.6211 GB, free: 1.844 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.101e-05/0.005529, allocations: 4.375 kB / 0.6211 GB, free: 1.84 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001502/0.005679, allocations: 62.23 kB / 0.6212 GB, free: 1.773 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.316e-06/0.005688, allocations: 192 / 0.6212 GB, free: 1.773 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.519e-05/0.005703, allocations: 12.36 kB / 0.6212 GB, free: 1.762 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-06/0.005707, allocations: 384 / 0.6212 GB, free: 1.762 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001175/0.005825, allocations: 39.8 kB / 0.6213 GB, free: 1.723 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004242/0.006249, allocations: 240.5 kB / 0.6215 GB, free: 1.457 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001688/0.006418, allocations: 58.58 kB / 0.6215 GB, free: 1.391 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.437e-05/0.006472, allocations: 20.86 kB / 0.6216 GB, free: 1.367 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.073e-05/0.006483, allocations: 0 / 0.6216 GB, free: 1.367 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.81e-05/0.006511, allocations: 30.56 kB / 0.6216 GB, free: 1.328 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=3): time 7.21e-07/0.006512, allocations: 0 / 0.6216 GB, free: 1.328 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3): time 0.0002454/0.006757, allocations: 77.64 kB / 0.6217 GB, free: 1.246 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.267e-05/0.0068, allocations: 55.41 kB / 0.6217 GB, free: 1.18 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001219/0.006922, allocations: 136 kB / 0.6218 GB, free: 1.039 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.094e-05/0.006943, allocations: 29.7 kB / 0.6219 GB, free: 1.004 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001417/0.007084, allocations: 104 kB / 0.622 GB, free: 0.8984 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.213e-05/0.007106, allocations: 11.94 kB / 0.622 GB, free: 0.8867 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.738e-05/0.007144, allocations: 13.72 kB / 0.622 GB, free: 0.8672 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.000145/0.007289, allocations: 318.8 kB / 0.6223 GB, free: 0.5469 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.12e-05/0.00734, allocations: 16 kB / 0.6223 GB, free: 0.5312 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.658e-05/0.007387, allocations: 15.98 kB / 0.6223 GB, free: 0.5156 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.854e-05/0.007475, allocations: 28.84 kB / 0.6224 GB, free: 496 kB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.133e-06/0.007476, allocations: 0 / 0.6224 GB, free: 496 kB / 0.5294 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001567/0.007633, allocations: 77.5 kB / 0.6224 GB, free: 412 kB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.146e-05/0.007644, allocations: 8 kB / 0.6224 GB, free: 404 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.532e-06/0.007651, allocations: 3.984 kB / 0.6224 GB, free: 400 kB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.2e-05/0.007663, allocations: 0 / 0.6224 GB, free: 400 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.576e-05/0.007719, allocations: 4 kB / 0.6225 GB, free: 396 kB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.769e-06/0.007723, allocations: 0 / 0.6225 GB, free: 396 kB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.798e-05/0.007801, allocations: 11.98 kB / 0.6225 GB, free: 384 kB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.291e-06/0.007808, allocations: 0 / 0.6225 GB, free: 384 kB / 0.5294 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.402e-05/0.007902, allocations: 118.8 kB / 0.6226 GB, free: 256 kB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.124e-05/0.007933, allocations: 11.89 kB / 0.6226 GB, free: 244 kB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.444e-05/0.007967, allocations: 12.67 kB / 0.6226 GB, free: 224 kB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.327e-06/0.007971, allocations: 4 kB / 0.6226 GB, free: 220 kB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.156e-06/0.007974, allocations: 0 / 0.6226 GB, free: 220 kB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.831e-06/0.00798, allocations: 3.984 kB / 0.6226 GB, free: 216 kB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001482/0.008128, allocations: 125.3 kB / 0.6227 GB, free: 60 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.008129, allocations: 0 / 0.6227 GB, free: 60 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.303e-05/0.008172, allocations: 11.94 kB / 0.6227 GB, free: 48 kB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.008173, allocations: 3.938 kB / 0.6227 GB, free: 44 kB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.478e-06/0.008183, allocations: 3.984 kB / 0.6227 GB, free: 40 kB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.173e-06/0.008184, allocations: 0 / 0.6227 GB, free: 40 kB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.72e-07/0.008185, allocations: 0 / 0.6227 GB, free: 40 kB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002079/0.008393, allocations: 163.4 kB / 0.6229 GB, free: 15.86 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 1.601e-05/0.008409, allocations: 11.89 kB / 0.6229 GB, free: 15.85 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.727e-05/0.008426, allocations: 0 / 0.6229 GB, free: 15.85 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001071/0.008533, allocations: 15.98 kB / 0.6229 GB, free: 15.84 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.085e-05/0.008574, allocations: 7.984 kB / 0.6229 GB, free: 15.83 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.678e-06/0.008579, allocations: 0 / 0.6229 GB, free: 15.83 MB / 0.545 GB Notification: Performance of sorting global known variables: time 7.857e-05/0.008657, allocations: 99.27 kB / 0.623 GB, free: 15.73 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.008657, allocations: 0 / 0.623 GB, free: 15.73 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.000215/0.008872, allocations: 8 kB / 0.623 GB, free: 15.72 MB / 0.545 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.008985, allocations: 103.2 kB / 0.6231 GB, free: 15.61 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001564/0.009141, allocations: 35.92 kB / 0.6232 GB, free: 15.58 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.443e-06/0.009143, allocations: 0 / 0.6232 GB, free: 15.58 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 5.708e-05/0.0092, allocations: 15.98 kB / 0.6232 GB, free: 15.56 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002866/0.009487, allocations: 14.44 kB / 0.6232 GB, free: 15.55 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003571/0.009844, allocations: 168.5 kB / 0.6234 GB, free: 15.36 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.551e-05/0.009919, allocations: 79.33 kB / 0.6234 GB, free: 15.26 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.562e-05/0.009955, allocations: 7.984 kB / 0.6234 GB, free: 15.25 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.337e-05/0.009988, allocations: 8.5 kB / 0.6235 GB, free: 15.25 MB / 0.545 GB Notification: Performance of SimCode: time 3.81e-07/0.009989, allocations: 0 / 0.6235 GB, free: 15.25 MB / 0.545 GB Notification: Performance of Templates: time 0.003679/0.01367, allocations: 0.918 MB / 0.6243 GB, free: 14.36 MB / 0.545 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.GreaterThreshold -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.667262453585863] Failed to read output from testmodel.py, exit status != 0: 0.022036485373973846 0.036856159 0.029311287000000002 Calling exit ...