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.001112/0.001112, allocations: 115 kB / 19.7 MB, free: 0.5273 MB / 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.0009601/0.0009601, allocations: 203.9 kB / 23 MB, free: 3.125 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.8994/0.8994, allocations: 230.6 MB / 256.8 MB, free: 3.48 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.7768/0.7768, allocations: 203.8 MB / 0.5049 GB, free: 0.7031 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.0009605/0.0009605, allocations: 63.91 kB / 0.7195 GB, free: 14.4 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4535/0.4544, allocations: 102 MB / 0.8191 GB, free: 25.2 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.GreaterThreshold): time 0.001562/0.456, allocations: 0.8102 MB / 0.8199 GB, free: 24.69 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.0008629/0.4569, allocations: 0.9189 MB / 0.8208 GB, free: 24 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.218e-05/0.4569, allocations: 6.875 kB / 0.8208 GB, free: 23.99 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0001245/0.4571, allocations: 11.5 kB / 0.8208 GB, free: 23.98 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 3.14e-05/0.4571, allocations: 11.2 kB / 0.8208 GB, free: 23.98 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001939/0.4573, allocations: 32.78 kB / 0.8209 GB, free: 23.96 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0001204/0.4574, allocations: 77.09 kB / 0.821 GB, free: 23.92 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001124/0.4575, allocations: 26.91 kB / 0.821 GB, free: 23.91 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001236/0.4577, allocations: 42.53 kB / 0.821 GB, free: 23.88 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 7.718e-05/0.4577, allocations: 28.31 kB / 0.821 GB, free: 23.87 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 1.745e-05/0.4577, allocations: 7 kB / 0.8211 GB, free: 23.87 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 4.296e-05/0.4578, allocations: 7.922 kB / 0.8211 GB, free: 23.87 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 1.484e-05/0.4578, allocations: 16.88 kB / 0.8211 GB, free: 23.86 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 3.311e-05/0.4578, allocations: 32.23 kB / 0.8211 GB, free: 23.83 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0001515/0.458, allocations: 78.7 kB / 0.8212 GB, free: 23.8 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.458, allocations: 1.406 kB / 0.8212 GB, free: 23.8 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.703e-06/0.458, allocations: 0 / 0.8212 GB, free: 23.8 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.222e-06/0.458, allocations: 1.031 kB / 0.8212 GB, free: 23.8 MB / 0.6355 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.0004036/0.4584, allocations: 321.4 kB / 0.8215 GB, free: 23.5 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.8e-05/0.4584, allocations: 11.36 kB / 0.8215 GB, free: 23.5 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001233/0.4586, allocations: 21.62 kB / 0.8215 GB, free: 23.5 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002019/0.4588, allocations: 139.7 kB / 0.8217 GB, free: 23.36 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.151e-05/0.4588, allocations: 3.188 kB / 0.8217 GB, free: 23.36 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.63e-05/0.4588, allocations: 7.312 kB / 0.8217 GB, free: 23.35 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001212/0.4589, allocations: 64.34 kB / 0.8217 GB, free: 23.31 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.704e-06/0.4589, allocations: 0.9375 kB / 0.8217 GB, free: 23.31 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.788e-06/0.4589, allocations: 8.375 kB / 0.8217 GB, free: 23.3 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.39e-06/0.4589, allocations: 4.875 kB / 0.8217 GB, free: 23.3 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.44e-05/0.459, allocations: 35.17 kB / 0.8218 GB, free: 23.29 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000356/0.4594, allocations: 290.6 kB / 0.8221 GB, free: 23.02 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001101/0.4595, allocations: 53.95 kB / 0.8221 GB, free: 22.99 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.815e-05/0.4595, allocations: 23 kB / 0.8221 GB, free: 22.97 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.608e-05/0.4595, allocations: 0 / 0.8221 GB, free: 22.97 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.711e-05/0.4596, allocations: 36.75 kB / 0.8222 GB, free: 22.93 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 6.71e-07/0.4596, allocations: 0 / 0.8222 GB, free: 22.93 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.0001923/0.4597, allocations: 73.28 kB / 0.8222 GB, free: 22.89 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.448e-05/0.4598, allocations: 52.28 kB / 0.8223 GB, free: 22.82 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.978e-05/0.4599, allocations: 142 kB / 0.8224 GB, free: 22.71 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 7.895e-06/0.4599, allocations: 26.89 kB / 0.8224 GB, free: 22.68 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.432e-05/0.4599, allocations: 98.55 kB / 0.8225 GB, free: 22.58 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.415e-05/0.4599, allocations: 13.86 kB / 0.8225 GB, free: 22.57 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.714e-05/0.4599, allocations: 14.5 kB / 0.8226 GB, free: 22.55 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 3.415e-05/0.46, allocations: 323.5 kB / 0.8229 GB, free: 22.23 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.632e-05/0.46, allocations: 15.66 kB / 0.8229 GB, free: 22.23 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.759e-05/0.46, allocations: 15.5 kB / 0.8229 GB, free: 22.23 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.717e-05/0.4601, allocations: 32.7 kB / 0.8229 GB, free: 22.21 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.4601, allocations: 1.516 kB / 0.8229 GB, free: 22.21 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.494e-05/0.4602, allocations: 70.58 kB / 0.823 GB, free: 22.16 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.594e-05/0.4602, allocations: 7.875 kB / 0.823 GB, free: 22.16 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.517e-06/0.4602, allocations: 0 / 0.823 GB, free: 22.16 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.667e-05/0.4602, allocations: 0 / 0.823 GB, free: 22.16 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.52e-05/0.4603, allocations: 5.672 kB / 0.823 GB, free: 22.16 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.151e-06/0.4603, allocations: 0.6094 kB / 0.823 GB, free: 22.16 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.602e-05/0.4603, allocations: 9.203 kB / 0.823 GB, free: 22.16 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.881e-06/0.4603, allocations: 6.109 kB / 0.823 GB, free: 22.16 MB / 0.6355 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 4.76e-05/0.4604, allocations: 118.7 kB / 0.8231 GB, free: 22.04 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.599e-05/0.4604, allocations: 7.969 kB / 0.8231 GB, free: 22.03 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.376e-05/0.4604, allocations: 11.59 kB / 0.8232 GB, free: 22.02 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.4604, allocations: 0.7812 kB / 0.8232 GB, free: 22.02 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/0.4604, allocations: 1.078 kB / 0.8232 GB, free: 22.02 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.4604, allocations: 4.719 kB / 0.8232 GB, free: 22.02 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000105/0.4605, allocations: 153.8 kB / 0.8233 GB, free: 21.85 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.223e-06/0.4605, allocations: 0 / 0.8233 GB, free: 21.85 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.496e-05/0.4605, allocations: 9.312 kB / 0.8233 GB, free: 21.84 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.474e-06/0.4605, allocations: 0.625 kB / 0.8233 GB, free: 21.84 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.135e-06/0.4606, allocations: 5.922 kB / 0.8233 GB, free: 21.84 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.12e-07/0.4606, allocations: 0 / 0.8233 GB, free: 21.84 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.4606, allocations: 4.844 kB / 0.8233 GB, free: 21.84 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000102/0.4607, allocations: 159.4 kB / 0.8235 GB, free: 21.69 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 1.149e-05/0.4607, allocations: 7.156 kB / 0.8235 GB, free: 21.69 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.678e-05/0.4607, allocations: 5.531 kB / 0.8235 GB, free: 21.68 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.158e-05/0.4607, allocations: 13.77 kB / 0.8235 GB, free: 21.68 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.467e-05/0.4608, allocations: 7.359 kB / 0.8235 GB, free: 21.68 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.47e-06/0.4608, allocations: 2.297 kB / 0.8235 GB, free: 21.68 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 4.174e-05/0.4608, allocations: 102 kB / 0.8236 GB, free: 21.6 MB / 0.6355 GB Notification: Performance of sort global known variables: time 6e-08/0.4608, allocations: 0 / 0.8236 GB, free: 21.6 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001409/0.461, allocations: 11.59 kB / 0.8236 GB, free: 21.59 MB / 0.6355 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 8.063e-05/0.4611, allocations: 103.1 kB / 0.8237 GB, free: 21.5 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.000115/0.4612, allocations: 37.19 kB / 0.8238 GB, free: 21.49 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.4612, allocations: 0 / 0.8238 GB, free: 21.49 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 2.996e-05/0.4612, allocations: 16.22 kB / 0.8238 GB, free: 21.48 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001916/0.4614, allocations: 17.27 kB / 0.8238 GB, free: 21.48 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003118/0.4617, allocations: 199.5 kB / 0.824 GB, free: 21.3 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.104e-05/0.4618, allocations: 0.6966 MB / 0.8247 GB, free: 20.59 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.265e-05/0.4618, allocations: 16.52 kB / 0.8247 GB, free: 20.58 MB / 0.6355 GB Notification: Performance of SimCode: time 3.71e-07/0.4618, allocations: 0 / 0.8247 GB, free: 20.58 MB / 0.6355 GB Notification: Performance of Templates: time 0.002272/0.4641, allocations: 0.982 MB / 0.8256 GB, free: 20.5 MB / 0.6355 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.486667971126735] Failed to read output from testmodel.py, exit status != 0: 0.46990045299753547 0.47992165900000006 0.019908267 Calling exit ...