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.0008702/0.0008702, allocations: 96.38 kB / 19.7 MB, free: 448 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.001004/0.001004, allocations: 212.7 kB / 23 MB, free: 2.977 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 0.8836/0.8836, allocations: 230.6 MB / 256.8 MB, free: 9.594 MB / 202.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.7078/0.7078, allocations: 203.8 MB / 0.5049 GB, free: 10.44 MB / 410.7 MB " [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: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0009193/0.0009193, allocations: 66.81 kB / 0.7194 GB, free: 3.539 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4037/0.4046, allocations: 102 MB / 0.8191 GB, free: 1.352 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.GreaterThreshold): time 0.001321/0.4059, allocations: 0.7895 MB / 0.8198 GB, free: 0.8477 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0007094/0.4067, allocations: 0.9112 MB / 0.8207 GB, free: 172 kB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.213e-05/0.4067, allocations: 0 / 0.8207 GB, free: 172 kB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001153/0.4068, allocations: 15.66 kB / 0.8207 GB, free: 160 kB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 2.909e-05/0.4069, allocations: 14.42 kB / 0.8207 GB, free: 148 kB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001729/0.407, allocations: 29.14 kB / 0.8208 GB, free: 132 kB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 9.512e-05/0.4071, allocations: 79.52 kB / 0.8208 GB, free: 88 kB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001044/0.4072, allocations: 29.94 kB / 0.8209 GB, free: 72 kB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000106/0.4073, allocations: 34.27 kB / 0.8209 GB, free: 56 kB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 5.951e-05/0.4074, allocations: 28.42 kB / 0.8209 GB, free: 40 kB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.42e-05/0.4074, allocations: 5.969 kB / 0.8209 GB, free: 40 kB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 3.671e-05/0.4075, allocations: 13.62 kB / 0.821 GB, free: 36 kB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.332e-05/0.4075, allocations: 14.56 kB / 0.821 GB, free: 24 kB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.387e-05/0.4075, allocations: 19.86 kB / 0.821 GB, free: 12 kB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001622/0.4077, allocations: 85.73 kB / 0.8211 GB, free: 15.98 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.4077, allocations: 0 / 0.8211 GB, free: 15.98 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.883e-06/0.4077, allocations: 0 / 0.8211 GB, free: 15.98 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.801e-06/0.4077, allocations: 0 / 0.8211 GB, free: 15.98 MB / 0.6198 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.0003907/0.4081, allocations: 322.5 kB / 0.8214 GB, free: 15.68 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.366e-05/0.4081, allocations: 9.875 kB / 0.8214 GB, free: 15.68 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001176/0.4082, allocations: 21.02 kB / 0.8214 GB, free: 15.67 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001892/0.4084, allocations: 145.1 kB / 0.8215 GB, free: 15.52 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.209e-05/0.4084, allocations: 11.53 kB / 0.8216 GB, free: 15.52 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.827e-06/0.4084, allocations: 384 / 0.8216 GB, free: 15.52 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001141/0.4085, allocations: 63.59 kB / 0.8216 GB, free: 15.47 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.064e-06/0.4085, allocations: 4.188 kB / 0.8216 GB, free: 15.47 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.929e-06/0.4085, allocations: 5.188 kB / 0.8216 GB, free: 15.46 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.388e-06/0.4086, allocations: 1.375 kB / 0.8216 GB, free: 15.46 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.909e-05/0.4086, allocations: 32.2 kB / 0.8217 GB, free: 15.46 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003116/0.4089, allocations: 248.2 kB / 0.8219 GB, free: 15.23 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 9.915e-05/0.409, allocations: 46.62 kB / 0.8219 GB, free: 15.2 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.955e-05/0.4091, allocations: 27 kB / 0.822 GB, free: 15.18 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.424e-05/0.4091, allocations: 0 / 0.822 GB, free: 15.18 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.905e-05/0.4091, allocations: 32.59 kB / 0.822 GB, free: 15.14 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=3): time 9.21e-07/0.4091, allocations: 0 / 0.822 GB, free: 15.14 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3): time 0.0001751/0.4093, allocations: 73.02 kB / 0.8221 GB, free: 15.1 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.466e-05/0.4093, allocations: 56.14 kB / 0.8221 GB, free: 15.04 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.909e-05/0.4094, allocations: 138.6 kB / 0.8223 GB, free: 14.92 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.184e-05/0.4094, allocations: 30.61 kB / 0.8223 GB, free: 14.89 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.359e-05/0.4094, allocations: 98.06 kB / 0.8224 GB, free: 14.79 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.355e-05/0.4094, allocations: 14 kB / 0.8224 GB, free: 14.78 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.524e-05/0.4095, allocations: 19.44 kB / 0.8224 GB, free: 14.76 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.433e-05/0.4095, allocations: 324.5 kB / 0.8227 GB, free: 14.44 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.174e-05/0.4096, allocations: 17.8 kB / 0.8227 GB, free: 14.43 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.443e-05/0.4096, allocations: 15.47 kB / 0.8227 GB, free: 14.43 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.71e-05/0.4096, allocations: 26.3 kB / 0.8228 GB, free: 14.42 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.293e-06/0.4096, allocations: 0 / 0.8228 GB, free: 14.42 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.194e-05/0.4097, allocations: 67.48 kB / 0.8228 GB, free: 14.38 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.225e-05/0.4097, allocations: 5.156 kB / 0.8228 GB, free: 14.38 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.598e-06/0.4097, allocations: 5.781 kB / 0.8228 GB, free: 14.37 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.228e-05/0.4098, allocations: 48 / 0.8228 GB, free: 14.37 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.841e-05/0.4098, allocations: 8.25 kB / 0.8229 GB, free: 14.37 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.619e-06/0.4098, allocations: 5.453 kB / 0.8229 GB, free: 14.36 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.477e-05/0.4098, allocations: 10.11 kB / 0.8229 GB, free: 14.36 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.019e-06/0.4099, allocations: 1.094 kB / 0.8229 GB, free: 14.36 MB / 0.6198 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.923e-05/0.4099, allocations: 121 kB / 0.823 GB, free: 14.24 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.435e-05/0.4099, allocations: 9.75 kB / 0.823 GB, free: 14.23 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.019e-05/0.4099, allocations: 12.17 kB / 0.823 GB, free: 14.22 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/0.4099, allocations: 11.69 kB / 0.823 GB, free: 14.21 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.41, allocations: 0 / 0.823 GB, free: 14.21 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.41, allocations: 0.6094 kB / 0.823 GB, free: 14.21 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.836e-05/0.4101, allocations: 125.6 kB / 0.8231 GB, free: 14.08 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.4101, allocations: 0.5625 kB / 0.8231 GB, free: 14.08 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.918e-05/0.4101, allocations: 5.078 kB / 0.8231 GB, free: 14.08 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.242e-06/0.4101, allocations: 0 / 0.8231 GB, free: 14.08 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.482e-06/0.4101, allocations: 1.125 kB / 0.8231 GB, free: 14.08 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.52e-07/0.4101, allocations: 0.75 kB / 0.8231 GB, free: 14.08 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.4101, allocations: 1.906 kB / 0.8231 GB, free: 14.08 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001021/0.4102, allocations: 168.5 kB / 0.8233 GB, free: 13.93 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 9.027e-06/0.4102, allocations: 6.016 kB / 0.8233 GB, free: 13.92 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.312e-05/0.4102, allocations: 3.969 kB / 0.8233 GB, free: 13.92 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.552e-05/0.4103, allocations: 8.625 kB / 0.8233 GB, free: 13.92 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.491e-05/0.4103, allocations: 14.59 kB / 0.8233 GB, free: 13.91 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.436e-06/0.4103, allocations: 1.5 kB / 0.8233 GB, free: 13.91 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.406e-05/0.4103, allocations: 103.2 kB / 0.8234 GB, free: 13.83 MB / 0.6198 GB Notification: Performance of sort global known variables: time 4e-08/0.4103, allocations: 0 / 0.8234 GB, free: 13.83 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001392/0.4105, allocations: 8.75 kB / 0.8234 GB, free: 13.83 MB / 0.6198 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.733e-05/0.4106, allocations: 96.75 kB / 0.8235 GB, free: 13.74 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 9.737e-05/0.4107, allocations: 34.27 kB / 0.8236 GB, free: 13.73 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.172e-06/0.4107, allocations: 2.75 kB / 0.8236 GB, free: 13.73 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 2.795e-05/0.4107, allocations: 20.14 kB / 0.8236 GB, free: 13.73 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001809/0.4109, allocations: 13.34 kB / 0.8236 GB, free: 13.72 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002851/0.4111, allocations: 201.8 kB / 0.8238 GB, free: 13.54 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.71e-05/0.4112, allocations: 81.72 kB / 0.8239 GB, free: 13.46 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.942e-05/0.4112, allocations: 11.56 kB / 0.8239 GB, free: 13.45 MB / 0.6198 GB Notification: Performance of SimCode: time 3.3e-07/0.4112, allocations: 0 / 0.8239 GB, free: 13.45 MB / 0.6198 GB Notification: Performance of Templates: time 0.001806/0.413, allocations: 0.9994 MB / 0.8249 GB, free: 13.37 MB / 0.6198 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: 5.14446970494464] Failed to read output from testmodel.py, exit status != 0: 0.4184128986671567 0.427216585 0.017830270000000002 Calling exit ...