Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.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.0007946/0.0007946, allocations: 76.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.0007893/0.0007893, allocations: 169.8 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.9022/0.9022, allocations: 177.2 MB / 203.6 MB, free: 5.773 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.73/0.73, allocations: 154.9 MB / 414.9 MB, free: 0.5078 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.GreaterEqualThreshold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold") translateModel(IDEAS.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold") [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.001043/0.001043, allocations: 76.48 kB / 0.6199 GB, free: 11.7 MB / 0.5417 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.4704/0.4714, allocations: 102 MB / 0.7195 GB, free: 13.34 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold): time 0.001645/0.473, allocations: 0.6764 MB / 0.7201 GB, free: 12.66 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0009548/0.474, allocations: 0.8577 MB / 0.721 GB, free: 11.79 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.586e-05/0.474, allocations: 4 kB / 0.721 GB, free: 11.79 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 3.525e-05/0.4741, allocations: 3.938 kB / 0.721 GB, free: 11.79 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 9.19e-05/0.4742, allocations: 3.938 kB / 0.721 GB, free: 11.78 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001928/0.4744, allocations: 26.22 kB / 0.721 GB, free: 11.76 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001061/0.4745, allocations: 43.91 kB / 0.721 GB, free: 11.71 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001475/0.4746, allocations: 15.98 kB / 0.721 GB, free: 11.7 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001111/0.4747, allocations: 35.91 kB / 0.7211 GB, free: 11.66 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 7.174e-05/0.4748, allocations: 19.92 kB / 0.7211 GB, free: 11.64 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.687e-05/0.4748, allocations: 7.938 kB / 0.7211 GB, free: 11.64 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.228e-05/0.4748, allocations: 4 kB / 0.7211 GB, free: 11.63 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.409e-05/0.4749, allocations: 11.92 kB / 0.7211 GB, free: 11.62 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.183e-05/0.4749, allocations: 15.92 kB / 0.7211 GB, free: 11.61 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001129/0.475, allocations: 51.8 kB / 0.7212 GB, free: 11.55 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/0.475, allocations: 0 / 0.7212 GB, free: 11.55 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.114e-06/0.475, allocations: 0 / 0.7212 GB, free: 11.55 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.602e-06/0.475, allocations: 0 / 0.7212 GB, free: 11.55 MB / 0.6042 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.0004354/0.4755, allocations: 286.2 kB / 0.7215 GB, free: 11.25 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.005e-05/0.4755, allocations: 9.469 kB / 0.7215 GB, free: 11.24 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.418e-05/0.4755, allocations: 4.938 kB / 0.7215 GB, free: 11.23 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001102/0.4756, allocations: 118.4 kB / 0.7216 GB, free: 11.09 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.551e-05/0.4757, allocations: 384 / 0.7216 GB, free: 11.09 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.626e-05/0.4757, allocations: 12.06 kB / 0.7216 GB, free: 11.08 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001615/0.4758, allocations: 65.59 kB / 0.7217 GB, free: 11.01 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.624e-06/0.4758, allocations: 0 / 0.7217 GB, free: 11.01 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.285e-05/0.4759, allocations: 11.92 kB / 0.7217 GB, free: 11 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.851e-06/0.4759, allocations: 4 kB / 0.7217 GB, free: 11 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001151/0.476, allocations: 47.95 kB / 0.7217 GB, free: 10.95 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003212/0.4763, allocations: 232.4 kB / 0.7219 GB, free: 10.69 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000134/0.4764, allocations: 66.52 kB / 0.722 GB, free: 10.62 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.778e-05/0.4765, allocations: 28.88 kB / 0.722 GB, free: 10.59 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.561e-05/0.4765, allocations: 0 / 0.722 GB, free: 10.59 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.018e-05/0.4765, allocations: 34.56 kB / 0.7221 GB, free: 10.54 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=4): time 9.72e-07/0.4765, allocations: 0 / 0.7221 GB, free: 10.54 MB / 0.6042 GB Notification: Performance of matching and sorting (n=4): time 0.0002578/0.4768, allocations: 105.6 kB / 0.7222 GB, free: 10.43 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.399e-05/0.4768, allocations: 51.41 kB / 0.7222 GB, free: 10.37 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.444e-05/0.4769, allocations: 117.8 kB / 0.7223 GB, free: 10.25 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.295e-05/0.4769, allocations: 25.7 kB / 0.7224 GB, free: 10.21 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 4.946e-05/0.477, allocations: 84.09 kB / 0.7224 GB, free: 10.13 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.491e-05/0.477, allocations: 19.88 kB / 0.7225 GB, free: 10.11 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.001e-05/0.477, allocations: 13.72 kB / 0.7225 GB, free: 10.09 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 8.928e-05/0.4771, allocations: 318.8 kB / 0.7228 GB, free: 9.77 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.366e-05/0.4772, allocations: 31.97 kB / 0.7228 GB, free: 9.738 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.11e-05/0.4772, allocations: 23.97 kB / 0.7228 GB, free: 9.715 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001104/0.4773, allocations: 52.81 kB / 0.7229 GB, free: 9.66 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/0.4773, allocations: 0 / 0.7229 GB, free: 9.66 MB / 0.6042 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001398/0.4775, allocations: 81.61 kB / 0.723 GB, free: 9.574 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.62e-05/0.4775, allocations: 4 kB / 0.723 GB, free: 9.57 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.062e-06/0.4775, allocations: 7.938 kB / 0.723 GB, free: 9.562 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.667e-05/0.4775, allocations: 4 kB / 0.723 GB, free: 9.559 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.339e-05/0.4776, allocations: 7.984 kB / 0.723 GB, free: 9.551 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.262e-06/0.4776, allocations: 4 kB / 0.723 GB, free: 9.547 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.426e-05/0.4776, allocations: 7.984 kB / 0.723 GB, free: 9.539 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.281e-06/0.4777, allocations: 4 kB / 0.723 GB, free: 9.535 MB / 0.6042 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,intGreEquThr.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 7.586e-05/0.4777, allocations: 122.8 kB / 0.7231 GB, free: 9.406 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.249e-05/0.4777, allocations: 0 / 0.7231 GB, free: 9.406 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.948e-05/0.4778, allocations: 12 kB / 0.7231 GB, free: 9.391 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.856e-06/0.4778, allocations: 4 kB / 0.7231 GB, free: 9.387 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.4778, allocations: 3.938 kB / 0.7231 GB, free: 9.383 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.639e-06/0.4778, allocations: 336 / 0.7231 GB, free: 9.383 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001083/0.4779, allocations: 113.2 kB / 0.7232 GB, free: 9.242 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.4779, allocations: 0 / 0.7232 GB, free: 9.242 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.765e-05/0.4779, allocations: 11.98 kB / 0.7232 GB, free: 9.23 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.4779, allocations: 0 / 0.7232 GB, free: 9.23 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.658e-06/0.478, allocations: 11.94 kB / 0.7233 GB, free: 9.219 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/0.478, allocations: 0 / 0.7233 GB, free: 9.219 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.075e-06/0.478, allocations: 7.969 kB / 0.7233 GB, free: 9.211 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002162/0.4782, allocations: 187.3 kB / 0.7234 GB, free: 9.012 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.322e-05/0.4782, allocations: 7.984 kB / 0.7234 GB, free: 9.004 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.483e-05/0.4782, allocations: 0 / 0.7234 GB, free: 9.004 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.741e-05/0.4782, allocations: 4 kB / 0.7235 GB, free: 9 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.812e-05/0.4783, allocations: 15.97 kB / 0.7235 GB, free: 8.984 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.097e-06/0.4783, allocations: 0 / 0.7235 GB, free: 8.984 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 3.755e-05/0.4784, allocations: 87.28 kB / 0.7236 GB, free: 8.898 MB / 0.6042 GB Notification: Performance of sort global known variables: time 5.1e-08/0.4784, allocations: 0 / 0.7236 GB, free: 8.898 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0001534/0.4785, allocations: 7.953 kB / 0.7236 GB, free: 8.891 MB / 0.6042 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 (intGreEquThr.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 8.985e-05/0.4786, allocations: 103.2 kB / 0.7237 GB, free: 8.781 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001568/0.4788, allocations: 59.89 kB / 0.7237 GB, free: 8.723 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.4788, allocations: 0 / 0.7237 GB, free: 8.723 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 5.697e-05/0.4788, allocations: 27.97 kB / 0.7237 GB, free: 8.695 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002472/0.4791, allocations: 7.938 kB / 0.7237 GB, free: 8.688 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002969/0.4794, allocations: 141.5 kB / 0.7239 GB, free: 8.523 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.79e-05/0.4794, allocations: 67.34 kB / 0.7239 GB, free: 8.438 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 3.425e-05/0.4795, allocations: 4 kB / 0.724 GB, free: 8.434 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.256e-05/0.4795, allocations: 12.48 kB / 0.724 GB, free: 8.422 MB / 0.6042 GB Notification: Performance of SimCode: time 7.71e-07/0.4795, allocations: 4 kB / 0.724 GB, free: 8.418 MB / 0.6042 GB Notification: Performance of Templates: time 0.002426/0.4819, allocations: 0.9581 MB / 0.7249 GB, free: 7.496 MB / 0.6042 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.137119826977141] Failed to read output from testmodel.py, exit status != 0: 0.4883317139465362 0.49611387100000004 0.019373561 Calling exit ...