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.0007158/0.0007158, allocations: 76.5 kB / 19.93 MB, free: 4.621 MB / 18.57 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.0007265/0.0007265, allocations: 177.9 kB / 23.21 MB, free: 1.34 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.8316/0.8316, allocations: 177.1 MB / 203.5 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] 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 0.6806/0.6806, allocations: 154.6 MB / 414.5 MB, free: 0.8242 MB / 378.7 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 179] 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.242e-06/1.242e-06, allocations: 0 / 0.6194 GB, free: 13.13 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.636e-05/1.76e-05, allocations: 5.234 kB / 0.6194 GB, free: 13.12 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.GreaterThreshold): time 0.001154/0.001172, allocations: 0.7881 MB / 0.6202 GB, free: 12.34 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0008018/0.001974, allocations: 0.9093 MB / 0.6211 GB, free: 11.41 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.219e-05/0.002046, allocations: 0 / 0.6211 GB, free: 11.41 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.0001082/0.002154, allocations: 19.81 kB / 0.6211 GB, free: 11.39 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 3.228e-05/0.002186, allocations: 15.86 kB / 0.6211 GB, free: 11.38 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001699/0.002356, allocations: 23.92 kB / 0.6211 GB, free: 11.36 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 9.726e-05/0.002454, allocations: 75.77 kB / 0.6212 GB, free: 11.28 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001055/0.002559, allocations: 35.89 kB / 0.6212 GB, free: 11.25 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001168/0.002676, allocations: 51.78 kB / 0.6213 GB, free: 11.2 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 5.492e-05/0.002731, allocations: 19.97 kB / 0.6213 GB, free: 11.18 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.494e-05/0.002746, allocations: 4 kB / 0.6213 GB, free: 11.17 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 3.358e-05/0.002779, allocations: 8 kB / 0.6213 GB, free: 11.16 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.541e-05/0.002795, allocations: 23.92 kB / 0.6213 GB, free: 11.14 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 2.084e-05/0.002816, allocations: 19.86 kB / 0.6213 GB, free: 11.12 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001165/0.002932, allocations: 87.72 kB / 0.6214 GB, free: 11.04 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.633e-06/0.002934, allocations: 0 / 0.6214 GB, free: 11.04 MB / 0.5886 GB Notification: Performance of FrontEnd: time 9.11e-07/0.002935, allocations: 0 / 0.6214 GB, free: 11.04 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 3.567e-06/0.002938, allocations: 0 / 0.6214 GB, free: 11.04 MB / 0.5886 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.0003713/0.003309, allocations: 310 kB / 0.6217 GB, free: 10.7 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.067e-05/0.00334, allocations: 12.03 kB / 0.6217 GB, free: 10.69 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001074/0.003448, allocations: 12.89 kB / 0.6217 GB, free: 10.68 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001657/0.003613, allocations: 145.6 kB / 0.6219 GB, free: 10.51 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.558e-06/0.003623, allocations: 8.312 kB / 0.6219 GB, free: 10.5 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.036e-05/0.003633, allocations: 8.375 kB / 0.6219 GB, free: 10.49 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001021/0.003735, allocations: 58.23 kB / 0.6219 GB, free: 10.43 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.163e-06/0.003742, allocations: 192 / 0.622 GB, free: 10.43 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.033e-05/0.003753, allocations: 8.297 kB / 0.622 GB, free: 10.42 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-06/0.003757, allocations: 384 / 0.622 GB, free: 10.42 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.698e-05/0.003824, allocations: 39.92 kB / 0.622 GB, free: 10.38 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002975/0.004121, allocations: 256.4 kB / 0.6222 GB, free: 10.1 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 9.384e-05/0.004215, allocations: 42.64 kB / 0.6223 GB, free: 10.05 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.007e-05/0.004245, allocations: 28.78 kB / 0.6223 GB, free: 10.02 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.398e-05/0.004259, allocations: 0 / 0.6223 GB, free: 10.02 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.08e-05/0.00428, allocations: 38.56 kB / 0.6223 GB, free: 9.973 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=3): time 5.82e-07/0.004281, allocations: 0 / 0.6223 GB, free: 9.973 MB / 0.5886 GB Notification: Performance of matching and sorting (n=3): time 0.0001707/0.004451, allocations: 73.75 kB / 0.6224 GB, free: 9.895 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.648e-05/0.004478, allocations: 51.41 kB / 0.6225 GB, free: 9.832 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.129e-05/0.004549, allocations: 140 kB / 0.6226 GB, free: 9.688 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.056e-05/0.00456, allocations: 25.7 kB / 0.6226 GB, free: 9.656 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 4.561e-05/0.004605, allocations: 96.08 kB / 0.6227 GB, free: 9.559 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.329e-05/0.004619, allocations: 7.938 kB / 0.6227 GB, free: 9.551 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.497e-05/0.004644, allocations: 17.72 kB / 0.6227 GB, free: 9.527 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.148e-05/0.004715, allocations: 322.8 kB / 0.623 GB, free: 9.203 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.883e-05/0.004744, allocations: 15.94 kB / 0.6231 GB, free: 9.188 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.437e-05/0.004768, allocations: 15.98 kB / 0.6231 GB, free: 9.172 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.656e-05/0.004815, allocations: 32.84 kB / 0.6231 GB, free: 9.137 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.004816, allocations: 4 kB / 0.6231 GB, free: 9.133 MB / 0.5886 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.417e-05/0.004891, allocations: 69.56 kB / 0.6232 GB, free: 9.059 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.049e-05/0.004901, allocations: 4 kB / 0.6232 GB, free: 9.055 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.548e-06/0.004906, allocations: 7.938 kB / 0.6232 GB, free: 9.047 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.066e-05/0.004916, allocations: 0 / 0.6232 GB, free: 9.047 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.227e-05/0.004959, allocations: 4 kB / 0.6232 GB, free: 9.043 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.639e-06/0.004963, allocations: 3.938 kB / 0.6232 GB, free: 9.039 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.37e-05/0.004997, allocations: 15.94 kB / 0.6232 GB, free: 9.023 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.869e-06/0.005002, allocations: 0 / 0.6232 GB, free: 9.023 MB / 0.5886 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 5.617e-05/0.005058, allocations: 122.8 kB / 0.6233 GB, free: 8.895 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.296e-05/0.005071, allocations: 3.938 kB / 0.6233 GB, free: 8.891 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.011e-05/0.005091, allocations: 12.34 kB / 0.6233 GB, free: 8.875 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.005093, allocations: 0 / 0.6233 GB, free: 8.875 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.005096, allocations: 0 / 0.6233 GB, free: 8.875 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.264e-06/0.005098, allocations: 0 / 0.6233 GB, free: 8.875 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.004e-05/0.005188, allocations: 129.2 kB / 0.6235 GB, free: 8.719 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.8e-07/0.005189, allocations: 3.938 kB / 0.6235 GB, free: 8.715 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.524e-05/0.005204, allocations: 11.94 kB / 0.6235 GB, free: 8.703 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.91e-07/0.005205, allocations: 0 / 0.6235 GB, free: 8.703 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.063e-06/0.005212, allocations: 3.984 kB / 0.6235 GB, free: 8.699 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.6e-07/0.005212, allocations: 0 / 0.6235 GB, free: 8.699 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.005213, allocations: 4 kB / 0.6235 GB, free: 8.695 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.793e-05/0.005311, allocations: 155.5 kB / 0.6236 GB, free: 8.527 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 9.238e-06/0.005321, allocations: 7.891 kB / 0.6236 GB, free: 8.52 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.319e-05/0.005334, allocations: 4 kB / 0.6237 GB, free: 8.516 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.515e-05/0.005379, allocations: 7.984 kB / 0.6237 GB, free: 8.508 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.666e-05/0.005416, allocations: 16.36 kB / 0.6237 GB, free: 8.492 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.895e-06/0.005419, allocations: 0 / 0.6237 GB, free: 8.492 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 4.04e-05/0.005459, allocations: 103.3 kB / 0.6238 GB, free: 8.391 MB / 0.5886 GB Notification: Performance of sort global known variables: time 4e-08/0.005459, allocations: 0 / 0.6238 GB, free: 8.391 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001779/0.005637, allocations: 11.95 kB / 0.6238 GB, free: 8.379 MB / 0.5886 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 7.513e-05/0.005712, allocations: 99.22 kB / 0.6239 GB, free: 8.27 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 9.728e-05/0.005809, allocations: 31.98 kB / 0.6239 GB, free: 8.238 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.082e-06/0.00581, allocations: 0 / 0.6239 GB, free: 8.238 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 3.1e-05/0.005841, allocations: 27.92 kB / 0.6239 GB, free: 8.211 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001674/0.006009, allocations: 10.03 kB / 0.6239 GB, free: 8.203 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002669/0.006276, allocations: 190.4 kB / 0.6241 GB, free: 7.984 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.246e-05/0.006328, allocations: 71.33 kB / 0.6242 GB, free: 7.895 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.478e-05/0.006363, allocations: 12.5 kB / 0.6242 GB, free: 7.883 MB / 0.5886 GB Notification: Performance of SimCode: time 3.91e-07/0.006363, allocations: 0 / 0.6242 GB, free: 7.883 MB / 0.5886 GB Notification: Performance of Templates: time 0.001573/0.007936, allocations: 1.011 MB / 0.6252 GB, free: 6.883 MB / 0.5886 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: 4.693892994895577] Failed to read output from testmodel.py, exit status != 0: 0.012072514742612839 0.020458771 0.015661483 Calling exit ...