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.0006991/0.0006991, allocations: 80.53 kB / 19.93 MB, free: 4.633 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.0007168/0.0007168, allocations: 173.9 kB / 23.21 MB, free: 1.355 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.8431/0.8431, allocations: 177.1 MB / 203.5 MB, free: 5.742 MB / 186.7 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 0.6956/0.6956, allocations: 154.5 MB / 414.5 MB, free: 0.8555 MB / 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 179] 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 3.085e-06/3.085e-06, allocations: 0 / 0.6193 GB, free: 13.18 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.895e-05/3.204e-05, allocations: 7.359 kB / 0.6193 GB, free: 13.18 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.GreaterThreshold): time 0.001561/0.001593, allocations: 0.7957 MB / 0.6201 GB, free: 12.38 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0009124/0.002505, allocations: 0.9016 MB / 0.621 GB, free: 11.46 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.46e-05/0.0026, allocations: 3.938 kB / 0.621 GB, free: 11.46 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.0001195/0.00272, allocations: 15.86 kB / 0.621 GB, free: 11.45 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 3.202e-05/0.002752, allocations: 11.88 kB / 0.621 GB, free: 11.43 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001878/0.002939, allocations: 31.84 kB / 0.6211 GB, free: 11.4 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0001076/0.003047, allocations: 75.77 kB / 0.6211 GB, free: 11.33 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001039/0.003151, allocations: 23.98 kB / 0.6211 GB, free: 11.3 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001363/0.003287, allocations: 55.83 kB / 0.6212 GB, free: 11.25 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 5.93e-05/0.003346, allocations: 19.92 kB / 0.6212 GB, free: 11.23 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.527e-05/0.003362, allocations: 4 kB / 0.6212 GB, free: 11.23 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 3.857e-05/0.0034, allocations: 11.98 kB / 0.6212 GB, free: 11.21 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.427e-05/0.003415, allocations: 15.94 kB / 0.6213 GB, free: 11.2 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 2.403e-05/0.003439, allocations: 19.91 kB / 0.6213 GB, free: 11.18 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001321/0.003571, allocations: 87.67 kB / 0.6214 GB, free: 11.09 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.244e-06/0.003573, allocations: 0 / 0.6214 GB, free: 11.09 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.092e-06/0.003574, allocations: 0 / 0.6214 GB, free: 11.09 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.228e-06/0.003578, allocations: 0 / 0.6214 GB, free: 11.09 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.0003988/0.003977, allocations: 310 kB / 0.6217 GB, free: 10.76 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.5e-05/0.004012, allocations: 13.47 kB / 0.6217 GB, free: 10.75 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001149/0.004127, allocations: 16.88 kB / 0.6217 GB, free: 10.73 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002009/0.004328, allocations: 149.5 kB / 0.6218 GB, free: 10.56 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.092e-05/0.004339, allocations: 4.375 kB / 0.6218 GB, free: 10.55 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.131e-05/0.00435, allocations: 8.375 kB / 0.6218 GB, free: 10.55 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001117/0.004462, allocations: 58.23 kB / 0.6219 GB, free: 10.48 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.685e-06/0.004469, allocations: 8.125 kB / 0.6219 GB, free: 10.48 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.538e-06/0.004479, allocations: 384 / 0.6219 GB, free: 10.48 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.478e-06/0.004484, allocations: 384 / 0.6219 GB, free: 10.48 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.056e-05/0.004554, allocations: 43.86 kB / 0.6219 GB, free: 10.43 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003175/0.004872, allocations: 244.5 kB / 0.6222 GB, free: 10.16 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001109/0.004982, allocations: 46.58 kB / 0.6222 GB, free: 10.11 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.3e-05/0.005015, allocations: 28.95 kB / 0.6222 GB, free: 10.08 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.815e-05/0.005034, allocations: 3.984 kB / 0.6222 GB, free: 10.07 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.313e-05/0.005057, allocations: 34.56 kB / 0.6223 GB, free: 10.03 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=3): time 1.182e-06/0.005058, allocations: 4 kB / 0.6223 GB, free: 10.03 MB / 0.5886 GB Notification: Performance of matching and sorting (n=3): time 0.0001855/0.005243, allocations: 73.8 kB / 0.6224 GB, free: 9.949 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.141e-05/0.005275, allocations: 55.34 kB / 0.6224 GB, free: 9.883 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000328/0.005603, allocations: 136.2 kB / 0.6225 GB, free: 9.742 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.21e-05/0.005615, allocations: 25.7 kB / 0.6226 GB, free: 9.711 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 4.86e-05/0.005663, allocations: 104 kB / 0.6227 GB, free: 9.605 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.342e-05/0.005677, allocations: 3.953 kB / 0.6227 GB, free: 9.602 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.886e-05/0.005706, allocations: 21.72 kB / 0.6227 GB, free: 9.574 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 8.029e-05/0.005786, allocations: 322.8 kB / 0.623 GB, free: 9.25 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.551e-05/0.005822, allocations: 15.98 kB / 0.623 GB, free: 9.234 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.396e-05/0.005845, allocations: 12 kB / 0.623 GB, free: 9.223 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.595e-05/0.005901, allocations: 28.84 kB / 0.623 GB, free: 9.191 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.005903, allocations: 0 / 0.623 GB, free: 9.191 MB / 0.5886 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.679e-05/0.00599, allocations: 77.5 kB / 0.6231 GB, free: 9.109 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.383e-05/0.006004, allocations: 4 kB / 0.6231 GB, free: 9.105 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.117e-06/0.006008, allocations: 4 kB / 0.6231 GB, free: 9.102 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.181e-05/0.00602, allocations: 4 kB / 0.6231 GB, free: 9.098 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.148e-05/0.006071, allocations: 3.984 kB / 0.6231 GB, free: 9.094 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.121e-06/0.006078, allocations: 4 kB / 0.6231 GB, free: 9.09 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.602e-05/0.006114, allocations: 11.94 kB / 0.6232 GB, free: 9.078 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.581e-06/0.006119, allocations: 0 / 0.6232 GB, free: 9.078 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 6.346e-05/0.006183, allocations: 114.8 kB / 0.6233 GB, free: 8.957 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.406e-05/0.006197, allocations: 7.938 kB / 0.6233 GB, free: 8.949 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.755e-05/0.006224, allocations: 12.34 kB / 0.6233 GB, free: 8.93 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.305e-06/0.006227, allocations: 4 kB / 0.6233 GB, free: 8.926 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.968e-06/0.00623, allocations: 0 / 0.6233 GB, free: 8.926 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.285e-06/0.006233, allocations: 0 / 0.6233 GB, free: 8.926 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000102/0.006335, allocations: 125.2 kB / 0.6234 GB, free: 8.773 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.22e-07/0.006336, allocations: 0 / 0.6234 GB, free: 8.773 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.369e-05/0.006359, allocations: 11.92 kB / 0.6234 GB, free: 8.762 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.262e-06/0.006361, allocations: 0 / 0.6234 GB, free: 8.762 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.823e-06/0.006367, allocations: 0 / 0.6234 GB, free: 8.762 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.203e-06/0.006369, allocations: 3.938 kB / 0.6234 GB, free: 8.758 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.006369, allocations: 0 / 0.6234 GB, free: 8.758 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001051/0.006475, allocations: 163.5 kB / 0.6236 GB, free: 8.582 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 1.026e-05/0.006485, allocations: 7.891 kB / 0.6236 GB, free: 8.574 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.402e-05/0.006499, allocations: 4 kB / 0.6236 GB, free: 8.57 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.568e-05/0.006545, allocations: 7.984 kB / 0.6236 GB, free: 8.562 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.846e-05/0.006583, allocations: 11.98 kB / 0.6236 GB, free: 8.551 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.399e-06/0.006587, allocations: 4 kB / 0.6236 GB, free: 8.547 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 4.313e-05/0.006631, allocations: 107.2 kB / 0.6237 GB, free: 8.441 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.006631, allocations: 3.938 kB / 0.6237 GB, free: 8.438 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001496/0.00678, allocations: 15.89 kB / 0.6237 GB, free: 8.422 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 9.497e-05/0.006875, allocations: 95.25 kB / 0.6238 GB, free: 8.316 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 9.994e-05/0.006975, allocations: 35.92 kB / 0.6239 GB, free: 8.281 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.006977, allocations: 0 / 0.6239 GB, free: 8.281 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 2.851e-05/0.007005, allocations: 20.27 kB / 0.6239 GB, free: 8.262 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001833/0.007189, allocations: 12.92 kB / 0.6239 GB, free: 8.254 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002888/0.007477, allocations: 186.6 kB / 0.6241 GB, free: 8.039 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.604e-05/0.007523, allocations: 79.31 kB / 0.6241 GB, free: 7.941 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.27e-05/0.007556, allocations: 16.48 kB / 0.6242 GB, free: 7.926 MB / 0.5886 GB Notification: Performance of SimCode: time 4.61e-07/0.007557, allocations: 0 / 0.6242 GB, free: 7.926 MB / 0.5886 GB Notification: Performance of Templates: time 0.001848/0.009404, allocations: 1.003 MB / 0.6251 GB, free: 6.926 MB / 0.5886 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=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.793382284231484] Failed to read output from testmodel.py, exit status != 0: 0.014247626066207886 0.021987456000000002 0.016782170000000003 Calling exit ...