Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.0008423/0.0008423, allocations: 80.45 kB / 19.9 MB, free: 12 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.0008029/0.0008029, 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.8984/0.8984, allocations: 177.2 MB / 203.6 MB, free: 5.75 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:686: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:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 master/package.mo): time 0.7324/0.7324, allocations: 154.9 MB / 414.9 MB, free: 0.5117 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.Integers.Validation.GreaterThreshold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_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_dev_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.0009777/0.0009777, allocations: 72.02 kB / 0.6199 GB, free: 12.75 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.4647/0.4657, allocations: 102 MB / 0.7194 GB, free: 23.48 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Validation.GreaterThreshold): time 0.00143/0.4671, allocations: 0.6892 MB / 0.7201 GB, free: 23.06 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.0007799/0.4679, allocations: 0.8592 MB / 0.721 GB, free: 22.41 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.95e-05/0.4679, allocations: 2.125 kB / 0.721 GB, free: 22.41 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 4.139e-05/0.468, allocations: 5.062 kB / 0.721 GB, free: 22.41 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 7.691e-05/0.468, allocations: 4.5 kB / 0.721 GB, free: 22.41 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001632/0.4682, allocations: 22.17 kB / 0.721 GB, free: 22.4 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 9.304e-05/0.4683, allocations: 43.78 kB / 0.721 GB, free: 22.38 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000121/0.4684, allocations: 14.88 kB / 0.721 GB, free: 22.37 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 9.168e-05/0.4685, allocations: 30.08 kB / 0.7211 GB, free: 22.36 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 6.139e-05/0.4686, allocations: 24.83 kB / 0.7211 GB, free: 22.34 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 2.443e-05/0.4686, allocations: 4.438 kB / 0.7211 GB, free: 22.34 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 1.154e-05/0.4686, allocations: 4.906 kB / 0.7211 GB, free: 22.34 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 2.23e-05/0.4686, allocations: 11.34 kB / 0.7211 GB, free: 22.34 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 2.982e-05/0.4687, allocations: 21.59 kB / 0.7211 GB, free: 22.32 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0001196/0.4688, allocations: 47.03 kB / 0.7212 GB, free: 22.3 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 2.535e-06/0.4688, allocations: 0 / 0.7212 GB, free: 22.3 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.292e-06/0.4688, allocations: 0 / 0.7212 GB, free: 22.3 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.292e-06/0.4688, allocations: 1.219 kB / 0.7212 GB, free: 22.3 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.0004065/0.4692, allocations: 287.2 kB / 0.7215 GB, free: 22.03 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.986e-05/0.4692, allocations: 11.28 kB / 0.7215 GB, free: 22.03 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.096e-05/0.4693, allocations: 3.125 kB / 0.7215 GB, free: 22.03 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.613e-05/0.4694, allocations: 118.8 kB / 0.7216 GB, free: 21.89 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.536e-05/0.4694, allocations: 6.188 kB / 0.7216 GB, free: 21.89 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.489e-05/0.4694, allocations: 10.28 kB / 0.7216 GB, free: 21.88 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001503/0.4695, allocations: 65.45 kB / 0.7217 GB, free: 21.84 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.765e-06/0.4695, allocations: 4.688 kB / 0.7217 GB, free: 21.84 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.076e-05/0.4696, allocations: 0 / 0.7217 GB, free: 21.84 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.16e-06/0.4696, allocations: 0.9062 kB / 0.7217 GB, free: 21.84 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001261/0.4697, allocations: 56.03 kB / 0.7217 GB, free: 21.82 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003133/0.47, allocations: 228.5 kB / 0.7219 GB, free: 21.6 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001365/0.4701, allocations: 61.31 kB / 0.722 GB, free: 21.57 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.408e-05/0.4702, allocations: 35.8 kB / 0.722 GB, free: 21.55 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.576e-05/0.4702, allocations: 5 kB / 0.722 GB, free: 21.54 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.55e-05/0.4702, allocations: 32.64 kB / 0.7221 GB, free: 21.5 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=4): time 1.132e-06/0.4702, allocations: 0 / 0.7221 GB, free: 21.5 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4): time 0.0002686/0.4705, allocations: 109.9 kB / 0.7222 GB, free: 21.45 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.599e-05/0.4705, allocations: 56.5 kB / 0.7222 GB, free: 21.39 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.139e-05/0.4706, allocations: 107.1 kB / 0.7223 GB, free: 21.29 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 8.195e-06/0.4706, allocations: 25.7 kB / 0.7224 GB, free: 21.25 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.401e-05/0.4706, allocations: 91.98 kB / 0.7224 GB, free: 21.16 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.05e-05/0.4706, allocations: 10.97 kB / 0.7224 GB, free: 21.16 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.862e-05/0.4707, allocations: 18.69 kB / 0.7225 GB, free: 21.14 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 3.931e-05/0.4707, allocations: 318.4 kB / 0.7228 GB, free: 20.82 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.074e-05/0.4708, allocations: 27.2 kB / 0.7228 GB, free: 20.81 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.396e-05/0.4708, allocations: 30.91 kB / 0.7228 GB, free: 20.8 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001107/0.471, allocations: 50.36 kB / 0.7229 GB, free: 20.79 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.471, allocations: 0 / 0.7229 GB, free: 20.79 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001382/0.4711, allocations: 83.3 kB / 0.723 GB, free: 20.74 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.51e-05/0.4711, allocations: 5.609 kB / 0.723 GB, free: 20.74 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-06/0.4711, allocations: 5.219 kB / 0.723 GB, free: 20.74 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.299e-05/0.4711, allocations: 0 / 0.723 GB, free: 20.74 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.566e-05/0.4712, allocations: 11.67 kB / 0.723 GB, free: 20.74 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.722e-06/0.4712, allocations: 2.062 kB / 0.723 GB, free: 20.74 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.932e-05/0.4713, allocations: 11.98 kB / 0.723 GB, free: 20.73 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.994e-06/0.4713, allocations: 5.984 kB / 0.723 GB, free: 20.73 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 4.684e-05/0.4713, allocations: 114.2 kB / 0.7231 GB, free: 20.61 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.408e-05/0.4713, allocations: 2.031 kB / 0.7231 GB, free: 20.61 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.309e-05/0.4713, allocations: 10 kB / 0.7231 GB, free: 20.6 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.4714, allocations: 8.641 kB / 0.7231 GB, free: 20.59 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.457e-06/0.4714, allocations: 1.062 kB / 0.7231 GB, free: 20.59 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.217e-06/0.4714, allocations: 0 / 0.7231 GB, free: 20.59 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.47e-05/0.4714, allocations: 123.9 kB / 0.7232 GB, free: 20.46 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.4714, allocations: 0 / 0.7232 GB, free: 20.46 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.209e-05/0.4715, allocations: 12.27 kB / 0.7233 GB, free: 20.46 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.4715, allocations: 3.938 kB / 0.7233 GB, free: 20.45 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.977e-06/0.4715, allocations: 1.938 kB / 0.7233 GB, free: 20.45 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/0.4715, allocations: 0.6562 kB / 0.7233 GB, free: 20.45 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.4715, allocations: 1.188 kB / 0.7233 GB, free: 20.45 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001675/0.4717, allocations: 192.2 kB / 0.7234 GB, free: 20.3 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 7.664e-06/0.4717, allocations: 2.438 kB / 0.7234 GB, free: 20.3 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.213e-05/0.4717, allocations: 1.062 kB / 0.7234 GB, free: 20.3 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.092e-05/0.4717, allocations: 7.531 kB / 0.7235 GB, free: 20.3 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.987e-05/0.4718, allocations: 11.88 kB / 0.7235 GB, free: 20.29 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.652e-06/0.4718, allocations: 3.297 kB / 0.7235 GB, free: 20.29 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 2.843e-05/0.4718, allocations: 87.47 kB / 0.7236 GB, free: 20.21 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.4718, allocations: 0 / 0.7236 GB, free: 20.21 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001474/0.472, allocations: 11.02 kB / 0.7236 GB, free: 20.21 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 9.354e-05/0.4721, allocations: 102.8 kB / 0.7237 GB, free: 20.12 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001846/0.4723, allocations: 51.92 kB / 0.7237 GB, free: 20.11 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.313e-06/0.4723, allocations: 0 / 0.7237 GB, free: 20.11 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 6.661e-05/0.4723, allocations: 32.8 kB / 0.7237 GB, free: 20.1 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000212/0.4725, allocations: 16.41 kB / 0.7238 GB, free: 20.09 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000256/0.4728, allocations: 136.7 kB / 0.7239 GB, free: 19.96 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.773e-05/0.4728, allocations: 64.66 kB / 0.7239 GB, free: 19.89 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 3.101e-05/0.4729, allocations: 4.344 kB / 0.724 GB, free: 19.89 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.434e-05/0.4729, allocations: 14.73 kB / 0.724 GB, free: 19.89 MB / 0.6355 GB Notification: Performance of SimCode: time 3.61e-07/0.4729, allocations: 0 / 0.724 GB, free: 19.89 MB / 0.6355 GB Notification: Performance of Templates: time 0.002512/0.4754, allocations: 0.9566 MB / 0.7249 GB, free: 19.78 MB / 0.6355 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.GreaterThreshold -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.215621968032792] Failed to read output from testmodel.py, exit status != 0: 0.480612313025631 0.48949297300000005 0.018946909 Calling exit ...