Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Integers.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.0007416/0.0007416, allocations: 72.45 kB / 19.9 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.0008708/0.0008708, allocations: 165.9 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.8507/0.8507, allocations: 177.2 MB / 203.6 MB, free: 5.777 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.7 MB / 414.7 MB, free: 0.7578 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.Integers.Validation.GreaterThreshold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.GreaterThreshold") translateModel(IDEAS.Controls.OBC.CDL.Integers.Validation.GreaterThreshold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Integers.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.0009625/0.0009625, allocations: 72.8 kB / 0.6196 GB, free: 13.09 MB / 0.5886 GB [/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. Notification: Performance of FrontEnd - Absyn->SCode: time 0.3863/0.3873, allocations: 101.9 MB / 0.7191 GB, free: 23.65 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Validation.GreaterThreshold): time 0.001328/0.3886, allocations: 0.6846 MB / 0.7198 GB, free: 23.22 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.0006888/0.3893, allocations: 0.8598 MB / 0.7206 GB, free: 22.58 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.101e-05/0.3894, allocations: 5.281 kB / 0.7206 GB, free: 22.57 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 2.93e-05/0.3894, allocations: 4.688 kB / 0.7206 GB, free: 22.57 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 6.747e-05/0.3895, allocations: 4.547 kB / 0.7206 GB, free: 22.57 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001436/0.3896, allocations: 26.36 kB / 0.7207 GB, free: 22.55 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 7.182e-05/0.3897, allocations: 49.25 kB / 0.7207 GB, free: 22.53 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001034/0.3898, allocations: 10.2 kB / 0.7207 GB, free: 22.53 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 7.494e-05/0.3898, allocations: 30.27 kB / 0.7207 GB, free: 22.51 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 5.637e-05/0.3899, allocations: 24.44 kB / 0.7208 GB, free: 22.5 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 2.007e-05/0.3899, allocations: 4.969 kB / 0.7208 GB, free: 22.5 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 9.257e-06/0.3899, allocations: 4.594 kB / 0.7208 GB, free: 22.5 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 1.864e-05/0.3899, allocations: 19.81 kB / 0.7208 GB, free: 22.48 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 2.435e-05/0.39, allocations: 13.56 kB / 0.7208 GB, free: 22.48 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0001046/0.3901, allocations: 52.75 kB / 0.7209 GB, free: 22.46 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.3901, allocations: 0 / 0.7209 GB, free: 22.46 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.883e-06/0.3901, allocations: 1.219 kB / 0.7209 GB, free: 22.46 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.122e-06/0.3901, allocations: 0 / 0.7209 GB, free: 22.46 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003744/0.3905, allocations: 286.7 kB / 0.7211 GB, free: 22.18 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.608e-05/0.3905, allocations: 9.312 kB / 0.7211 GB, free: 22.18 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.592e-05/0.3905, allocations: 2.469 kB / 0.7211 GB, free: 22.18 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.633e-05/0.3906, allocations: 116.1 kB / 0.7213 GB, free: 22.05 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.504e-05/0.3906, allocations: 6.375 kB / 0.7213 GB, free: 22.05 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.373e-05/0.3906, allocations: 15.06 kB / 0.7213 GB, free: 22.04 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001317/0.3908, allocations: 71.09 kB / 0.7213 GB, free: 21.99 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.284e-06/0.3908, allocations: 2.094 kB / 0.7213 GB, free: 21.99 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.007e-05/0.3908, allocations: 0 / 0.7213 GB, free: 21.99 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.989e-06/0.3908, allocations: 1.5 kB / 0.7213 GB, free: 21.99 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000116/0.3909, allocations: 46.92 kB / 0.7214 GB, free: 21.98 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002839/0.3912, allocations: 232.7 kB / 0.7216 GB, free: 21.76 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001278/0.3913, allocations: 68.12 kB / 0.7217 GB, free: 21.71 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.251e-05/0.3914, allocations: 33.2 kB / 0.7217 GB, free: 21.7 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.651e-05/0.3914, allocations: 0.5625 kB / 0.7217 GB, free: 21.7 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.454e-05/0.3914, allocations: 33.06 kB / 0.7217 GB, free: 21.66 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=4): time 1.153e-06/0.3914, allocations: 0 / 0.7217 GB, free: 21.66 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4): time 0.0002657/0.3917, allocations: 102.3 kB / 0.7218 GB, free: 21.62 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.133e-05/0.3917, allocations: 63.34 kB / 0.7219 GB, free: 21.54 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.024e-05/0.3917, allocations: 107.8 kB / 0.722 GB, free: 21.44 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 6.622e-06/0.3918, allocations: 25.7 kB / 0.722 GB, free: 21.41 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 2.708e-05/0.3918, allocations: 91.59 kB / 0.7221 GB, free: 21.32 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.555e-05/0.3918, allocations: 10.64 kB / 0.7221 GB, free: 21.31 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.78e-05/0.3918, allocations: 20.28 kB / 0.7221 GB, free: 21.29 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 2.781e-05/0.3918, allocations: 317 kB / 0.7224 GB, free: 20.98 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.889e-05/0.3919, allocations: 24.08 kB / 0.7225 GB, free: 20.97 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.317e-05/0.392, allocations: 26.38 kB / 0.7225 GB, free: 20.96 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001047/0.3921, allocations: 53.92 kB / 0.7225 GB, free: 20.95 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.003e-06/0.3921, allocations: 0 / 0.7225 GB, free: 20.95 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001382/0.3922, allocations: 87.72 kB / 0.7226 GB, free: 20.9 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.243e-05/0.3922, allocations: 5.234 kB / 0.7226 GB, free: 20.9 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.641e-06/0.3922, allocations: 1.219 kB / 0.7226 GB, free: 20.9 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.459e-05/0.3922, allocations: 1.125 kB / 0.7226 GB, free: 20.9 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.727e-05/0.3923, allocations: 15.39 kB / 0.7226 GB, free: 20.89 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.111e-06/0.3923, allocations: 0.7031 kB / 0.7226 GB, free: 20.89 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.204e-05/0.3924, allocations: 13.42 kB / 0.7227 GB, free: 20.89 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.893e-06/0.3924, allocations: 5.188 kB / 0.7227 GB, free: 20.89 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: 2 (reaToInt.y,intGreThr.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.34e-05/0.3924, allocations: 118.5 kB / 0.7228 GB, free: 20.77 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.555e-05/0.3925, allocations: 6.219 kB / 0.7228 GB, free: 20.76 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.197e-05/0.3925, allocations: 9.766 kB / 0.7228 GB, free: 20.75 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.294e-06/0.3925, allocations: 0.6562 kB / 0.7228 GB, free: 20.75 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.3925, allocations: 1.25 kB / 0.7228 GB, free: 20.75 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.3925, allocations: 0 / 0.7228 GB, free: 20.75 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.86e-05/0.3926, allocations: 123.2 kB / 0.7229 GB, free: 20.61 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.724e-06/0.3926, allocations: 0.7031 kB / 0.7229 GB, free: 20.61 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.518e-05/0.3926, allocations: 11.94 kB / 0.7229 GB, free: 20.61 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/0.3926, allocations: 0.5156 kB / 0.7229 GB, free: 20.61 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.865e-06/0.3926, allocations: 1.953 kB / 0.7229 GB, free: 20.61 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.3926, allocations: 3.938 kB / 0.7229 GB, free: 20.61 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.41e-07/0.3926, allocations: 1.062 kB / 0.7229 GB, free: 20.61 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001544/0.3928, allocations: 188.5 kB / 0.7231 GB, free: 20.46 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 8.676e-06/0.3928, allocations: 1.922 kB / 0.7231 GB, free: 20.46 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.071e-05/0.3928, allocations: 5.984 kB / 0.7231 GB, free: 20.45 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.497e-05/0.3929, allocations: 7.812 kB / 0.7231 GB, free: 20.45 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.083e-05/0.3929, allocations: 11.58 kB / 0.7231 GB, free: 20.45 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.518e-06/0.3929, allocations: 3.156 kB / 0.7231 GB, free: 20.45 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 2.141e-05/0.3929, allocations: 90.97 kB / 0.7232 GB, free: 20.37 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.3929, allocations: 1.219 kB / 0.7232 GB, free: 20.37 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001505/0.3931, allocations: 9.797 kB / 0.7232 GB, free: 20.36 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 (intGreThr.y,reaToInt.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (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 Backend phase and start with SimCode phase: time 6.788e-05/0.3932, allocations: 98.73 kB / 0.7233 GB, free: 20.27 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001612/0.3933, allocations: 59.23 kB / 0.7234 GB, free: 20.26 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.3933, allocations: 0 / 0.7234 GB, free: 20.26 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 6.058e-05/0.3934, allocations: 29.09 kB / 0.7234 GB, free: 20.25 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000216/0.3936, allocations: 11.03 kB / 0.7234 GB, free: 20.25 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002956/0.3939, allocations: 154.1 kB / 0.7236 GB, free: 20.1 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.78e-05/0.3939, allocations: 66.11 kB / 0.7236 GB, free: 20.03 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.166e-05/0.394, allocations: 16.06 kB / 0.7237 GB, free: 20.02 MB / 0.6355 GB Notification: Performance of SimCode: time 7.31e-07/0.394, allocations: 1.219 kB / 0.7237 GB, free: 20.02 MB / 0.6355 GB Notification: Performance of Templates: time 0.001709/0.3957, allocations: 0.8507 MB / 0.7245 GB, free: 19.96 MB / 0.6355 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.GreaterThreshold -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.115459205117077] Failed to read output from testmodel.py, exit status != 0: 0.40129432803951204 0.40941732299999994 0.017576424 Calling exit ...