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.0007588/0.0007588, allocations: 76.45 kB / 19.91 MB, free: 16 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.0007305/0.0007305, allocations: 166.3 kB / 23.18 MB, free: 1.383 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.8335/0.8335, allocations: 177.2 MB / 203.6 MB, free: 5.781 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.6866/0.6866, allocations: 155 MB / 415 MB, free: 484 kB / 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: 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.00101/0.00101, allocations: 67.89 kB / 0.6199 GB, free: 12.7 MB / 0.5886 GB [/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. Notification: Performance of FrontEnd - Absyn->SCode: time 0.434/0.435, allocations: 102 MB / 0.7195 GB, free: 23.48 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.GreaterThreshold): time 0.001438/0.4364, allocations: 0.7965 MB / 0.7203 GB, free: 22.97 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.0008191/0.4372, allocations: 0.9029 MB / 0.7212 GB, free: 22.3 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.383e-05/0.4373, allocations: 2.375 kB / 0.7212 GB, free: 22.3 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0001179/0.4374, allocations: 14.98 kB / 0.7212 GB, free: 22.29 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 2.944e-05/0.4375, allocations: 11.53 kB / 0.7212 GB, free: 22.28 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.00019/0.4377, allocations: 31.28 kB / 0.7213 GB, free: 22.26 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.000103/0.4378, allocations: 79.58 kB / 0.7213 GB, free: 22.22 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000106/0.4379, allocations: 22.56 kB / 0.7214 GB, free: 22.21 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001367/0.438, allocations: 53.97 kB / 0.7214 GB, free: 22.18 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 6.422e-05/0.4381, allocations: 23.91 kB / 0.7214 GB, free: 22.17 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 1.513e-05/0.4381, allocations: 5.719 kB / 0.7214 GB, free: 22.17 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 3.963e-05/0.4381, allocations: 8.828 kB / 0.7214 GB, free: 22.17 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 1.733e-05/0.4381, allocations: 19.77 kB / 0.7215 GB, free: 22.15 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 2.677e-05/0.4382, allocations: 19.98 kB / 0.7215 GB, free: 22.14 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0001506/0.4383, allocations: 93.53 kB / 0.7216 GB, free: 22.1 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.4383, allocations: 0.7031 kB / 0.7216 GB, free: 22.1 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.804e-06/0.4383, allocations: 1.156 kB / 0.7216 GB, free: 22.1 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.252e-06/0.4383, allocations: 4 kB / 0.7216 GB, free: 22.1 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.0003491/0.4387, allocations: 319.9 kB / 0.7219 GB, free: 21.8 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.543e-05/0.4387, allocations: 14.75 kB / 0.7219 GB, free: 21.79 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001262/0.4388, allocations: 17.48 kB / 0.7219 GB, free: 21.79 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001741/0.439, allocations: 142.6 kB / 0.722 GB, free: 21.64 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.072e-05/0.439, allocations: 6.781 kB / 0.7221 GB, free: 21.64 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.251e-05/0.439, allocations: 7.844 kB / 0.7221 GB, free: 21.64 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00011/0.4391, allocations: 66.75 kB / 0.7221 GB, free: 21.59 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.193e-06/0.4392, allocations: 1.25 kB / 0.7221 GB, free: 21.59 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.055e-05/0.4392, allocations: 7.938 kB / 0.7221 GB, free: 21.58 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.731e-06/0.4392, allocations: 1.469 kB / 0.7221 GB, free: 21.58 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.978e-05/0.4392, allocations: 31.8 kB / 0.7222 GB, free: 21.57 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003472/0.4396, allocations: 248.5 kB / 0.7224 GB, free: 21.35 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001141/0.4397, allocations: 49.95 kB / 0.7225 GB, free: 21.32 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.019e-05/0.4397, allocations: 19.05 kB / 0.7225 GB, free: 21.3 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.573e-05/0.4397, allocations: 0.75 kB / 0.7225 GB, free: 21.3 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.311e-05/0.4398, allocations: 32.81 kB / 0.7225 GB, free: 21.27 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 1.032e-06/0.4398, allocations: 0 / 0.7225 GB, free: 21.27 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.0001736/0.4399, allocations: 75.83 kB / 0.7226 GB, free: 21.22 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.063e-05/0.44, allocations: 53.02 kB / 0.7226 GB, free: 21.16 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.997e-05/0.44, allocations: 134.2 kB / 0.7228 GB, free: 21.05 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 7.033e-06/0.44, allocations: 26.83 kB / 0.7228 GB, free: 21.02 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.691e-05/0.4401, allocations: 111.2 kB / 0.7229 GB, free: 20.91 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.377e-05/0.4401, allocations: 5.828 kB / 0.7229 GB, free: 20.91 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.671e-05/0.4401, allocations: 19.34 kB / 0.7229 GB, free: 20.89 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 3.178e-05/0.4401, allocations: 320.3 kB / 0.7232 GB, free: 20.57 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.133e-05/0.4402, allocations: 14.44 kB / 0.7232 GB, free: 20.57 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.792e-05/0.4402, allocations: 19.12 kB / 0.7232 GB, free: 20.56 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.342e-05/0.4403, allocations: 34.91 kB / 0.7233 GB, free: 20.54 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.312e-06/0.4403, allocations: 0 / 0.7233 GB, free: 20.54 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.495e-05/0.4403, allocations: 71.28 kB / 0.7233 GB, free: 20.49 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.468e-05/0.4404, allocations: 5.5 kB / 0.7234 GB, free: 20.49 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.421e-06/0.4404, allocations: 0 / 0.7234 GB, free: 20.49 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.268e-05/0.4404, allocations: 1.156 kB / 0.7234 GB, free: 20.49 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.699e-05/0.4404, allocations: 4.078 kB / 0.7234 GB, free: 20.49 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.568e-06/0.4404, allocations: 1.125 kB / 0.7234 GB, free: 20.49 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.82e-05/0.4405, allocations: 13.86 kB / 0.7234 GB, free: 20.49 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.149e-06/0.4405, allocations: 1.375 kB / 0.7234 GB, free: 20.49 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.51e-05/0.4405, allocations: 124.8 kB / 0.7235 GB, free: 20.36 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.358e-05/0.4405, allocations: 10.08 kB / 0.7235 GB, free: 20.36 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.154e-05/0.4405, allocations: 11.94 kB / 0.7235 GB, free: 20.34 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.4406, allocations: 6.016 kB / 0.7235 GB, free: 20.34 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.557e-06/0.4406, allocations: 3.938 kB / 0.7235 GB, free: 20.34 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/0.4406, allocations: 5 kB / 0.7235 GB, free: 20.33 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.404e-05/0.4406, allocations: 124.2 kB / 0.7236 GB, free: 20.2 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.21e-07/0.4406, allocations: 0 / 0.7236 GB, free: 20.2 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.587e-05/0.4407, allocations: 4.484 kB / 0.7236 GB, free: 20.2 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.4407, allocations: 0.7031 kB / 0.7236 GB, free: 20.2 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.624e-06/0.4407, allocations: 1.062 kB / 0.7237 GB, free: 20.2 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.4407, allocations: 0.5625 kB / 0.7237 GB, free: 20.2 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.153e-06/0.4407, allocations: 5.188 kB / 0.7237 GB, free: 20.2 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.316e-05/0.4408, allocations: 161.4 kB / 0.7238 GB, free: 20.05 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 9.147e-06/0.4408, allocations: 9.359 kB / 0.7238 GB, free: 20.04 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.411e-05/0.4408, allocations: 2.484 kB / 0.7238 GB, free: 20.04 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.791e-05/0.4408, allocations: 9.859 kB / 0.7238 GB, free: 20.04 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.402e-05/0.4409, allocations: 6.734 kB / 0.7238 GB, free: 20.04 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.188e-06/0.4409, allocations: 2.234 kB / 0.7238 GB, free: 20.04 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 3.501e-05/0.4409, allocations: 104.7 kB / 0.7239 GB, free: 19.96 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.4409, allocations: 3.938 kB / 0.7239 GB, free: 19.96 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001423/0.4411, allocations: 15.53 kB / 0.724 GB, free: 19.95 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.279e-05/0.4411, allocations: 95.62 kB / 0.724 GB, free: 19.86 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001166/0.4413, allocations: 32.06 kB / 0.7241 GB, free: 19.86 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.4413, allocations: 1.219 kB / 0.7241 GB, free: 19.86 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 4.254e-05/0.4413, allocations: 16.22 kB / 0.7241 GB, free: 19.85 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002006/0.4415, allocations: 13.62 kB / 0.7241 GB, free: 19.84 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002859/0.4418, allocations: 206.4 kB / 0.7243 GB, free: 19.66 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.041e-05/0.4418, allocations: 77.42 kB / 0.7244 GB, free: 19.58 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.359e-05/0.4419, allocations: 14.66 kB / 0.7244 GB, free: 19.57 MB / 0.6355 GB Notification: Performance of SimCode: time 5.31e-07/0.4419, allocations: 0 / 0.7244 GB, free: 19.57 MB / 0.6355 GB Notification: Performance of Templates: time 0.002087/0.444, allocations: 1.014 MB / 0.7254 GB, free: 19.49 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.2145771810319275] Failed to read output from testmodel.py, exit status != 0: 0.44935514708049595 0.457586409 0.017444155 Calling exit ...