Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.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.0007895/0.0007895, allocations: 76.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.001538/0.001538, allocations: 169.9 kB / 23.18 MB, free: 1.379 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.9129/0.9129, allocations: 177.2 MB / 203.6 MB, free: 5.77 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.6892/0.6892, allocations: 154.9 MB / 414.9 MB, free: 0.5234 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.LessEqualThreshold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold") translateModel(IDEAS.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold") [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.0009315/0.0009315, allocations: 75.89 kB / 0.6199 GB, free: 12.77 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.49/0.4909, allocations: 102 MB / 0.7194 GB, free: 23.48 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold): time 0.001475/0.4924, allocations: 0.6832 MB / 0.7201 GB, free: 23.05 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.0007562/0.4932, allocations: 0.8582 MB / 0.7209 GB, free: 22.41 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.409e-05/0.4932, allocations: 1.344 kB / 0.7209 GB, free: 22.41 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 3.021e-05/0.4932, allocations: 4.641 kB / 0.721 GB, free: 22.41 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 7.287e-05/0.4933, allocations: 8.688 kB / 0.721 GB, free: 22.4 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001581/0.4935, allocations: 28.64 kB / 0.721 GB, free: 22.39 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 8.367e-05/0.4935, allocations: 40.91 kB / 0.721 GB, free: 22.37 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001095/0.4937, allocations: 15.05 kB / 0.721 GB, free: 22.36 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 8.124e-05/0.4937, allocations: 29.95 kB / 0.7211 GB, free: 22.35 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 5.88e-05/0.4938, allocations: 24.8 kB / 0.7211 GB, free: 22.34 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 2.157e-05/0.4938, allocations: 8.281 kB / 0.7211 GB, free: 22.33 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 1.083e-05/0.4938, allocations: 4.281 kB / 0.7211 GB, free: 22.33 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 2.017e-05/0.4938, allocations: 11.12 kB / 0.7211 GB, free: 22.32 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 2.546e-05/0.4939, allocations: 18.67 kB / 0.7211 GB, free: 22.31 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0001057/0.494, allocations: 46.7 kB / 0.7212 GB, free: 22.29 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 3.056e-06/0.494, allocations: 4 kB / 0.7212 GB, free: 22.29 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.215e-06/0.494, allocations: 1.031 kB / 0.7212 GB, free: 22.29 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.823e-06/0.494, allocations: 0.5156 kB / 0.7212 GB, free: 22.29 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.0003895/0.4944, allocations: 281.5 kB / 0.7215 GB, free: 22.02 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.606e-05/0.4944, allocations: 11.41 kB / 0.7215 GB, free: 22.02 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.266e-05/0.4945, allocations: 7.188 kB / 0.7215 GB, free: 22.01 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.244e-05/0.4945, allocations: 115.1 kB / 0.7216 GB, free: 21.88 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.678e-05/0.4946, allocations: 2.656 kB / 0.7216 GB, free: 21.88 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.368e-05/0.4946, allocations: 6 kB / 0.7216 GB, free: 21.88 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001512/0.4947, allocations: 76.69 kB / 0.7217 GB, free: 21.82 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.975e-06/0.4947, allocations: 3.938 kB / 0.7217 GB, free: 21.82 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.146e-05/0.4948, allocations: 1.156 kB / 0.7217 GB, free: 21.82 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.242e-06/0.4948, allocations: 1.797 kB / 0.7217 GB, free: 21.82 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001234/0.4949, allocations: 46.84 kB / 0.7217 GB, free: 21.81 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003152/0.4952, allocations: 231.1 kB / 0.7219 GB, free: 21.59 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001341/0.4953, allocations: 68.61 kB / 0.722 GB, free: 21.55 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.223e-05/0.4954, allocations: 32.33 kB / 0.722 GB, free: 21.53 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.638e-05/0.4954, allocations: 1.062 kB / 0.722 GB, free: 21.53 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.617e-05/0.4954, allocations: 36.41 kB / 0.7221 GB, free: 21.49 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=4): time 1.082e-06/0.4954, allocations: 0 / 0.7221 GB, free: 21.49 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4): time 0.0002817/0.4957, allocations: 101.5 kB / 0.7222 GB, free: 21.45 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.444e-05/0.4957, allocations: 52.88 kB / 0.7222 GB, free: 21.38 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.065e-05/0.4958, allocations: 116 kB / 0.7223 GB, free: 21.27 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 7.184e-06/0.4958, allocations: 25.7 kB / 0.7223 GB, free: 21.24 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.005e-05/0.4958, allocations: 94.81 kB / 0.7224 GB, free: 21.15 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.712e-05/0.4959, allocations: 11.47 kB / 0.7225 GB, free: 21.14 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.795e-05/0.4959, allocations: 18.81 kB / 0.7225 GB, free: 21.12 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 3.356e-05/0.4959, allocations: 318.1 kB / 0.7228 GB, free: 20.8 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.709e-05/0.496, allocations: 24.12 kB / 0.7228 GB, free: 20.8 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.19e-05/0.496, allocations: 21.83 kB / 0.7228 GB, free: 20.8 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001061/0.4961, allocations: 54.3 kB / 0.7229 GB, free: 20.78 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.252e-06/0.4961, allocations: 4 kB / 0.7229 GB, free: 20.77 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001406/0.4963, allocations: 88.39 kB / 0.723 GB, free: 20.73 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.341e-05/0.4963, allocations: 5.188 kB / 0.723 GB, free: 20.73 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.119e-06/0.4963, allocations: 3.938 kB / 0.723 GB, free: 20.72 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.25e-05/0.4963, allocations: 1.094 kB / 0.723 GB, free: 20.72 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.185e-05/0.4964, allocations: 12.14 kB / 0.723 GB, free: 20.72 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.05e-06/0.4964, allocations: 0 / 0.723 GB, free: 20.72 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.57e-05/0.4964, allocations: 7.641 kB / 0.723 GB, free: 20.72 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.772e-06/0.4964, allocations: 5.625 kB / 0.723 GB, free: 20.72 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,intLesEquThr.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.199e-05/0.4965, allocations: 118.8 kB / 0.7231 GB, free: 20.6 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.59e-05/0.4965, allocations: 2.953 kB / 0.7231 GB, free: 20.6 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.001e-05/0.4965, allocations: 10.38 kB / 0.7231 GB, free: 20.59 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.373e-06/0.4965, allocations: 3.938 kB / 0.7231 GB, free: 20.58 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.529e-06/0.4965, allocations: 0 / 0.7231 GB, free: 20.58 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.4965, allocations: 1.797 kB / 0.7231 GB, free: 20.58 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.933e-05/0.4966, allocations: 118.4 kB / 0.7232 GB, free: 20.45 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.482e-06/0.4966, allocations: 4.734 kB / 0.7232 GB, free: 20.45 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.766e-05/0.4967, allocations: 12.23 kB / 0.7232 GB, free: 20.45 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.212e-06/0.4967, allocations: 4.562 kB / 0.7233 GB, free: 20.44 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.267e-06/0.4967, allocations: 1.547 kB / 0.7233 GB, free: 20.44 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.51e-07/0.4967, allocations: 0 / 0.7233 GB, free: 20.44 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.4967, allocations: 1.469 kB / 0.7233 GB, free: 20.44 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001683/0.4968, allocations: 188.7 kB / 0.7234 GB, free: 20.29 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 9.749e-06/0.4969, allocations: 3.047 kB / 0.7234 GB, free: 20.29 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.063e-05/0.4969, allocations: 0 / 0.7234 GB, free: 20.29 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.659e-05/0.4969, allocations: 7.391 kB / 0.7234 GB, free: 20.29 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.78e-05/0.497, allocations: 19.8 kB / 0.7235 GB, free: 20.28 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.057e-06/0.497, allocations: 1.891 kB / 0.7235 GB, free: 20.28 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 2.46e-05/0.497, allocations: 89.08 kB / 0.7236 GB, free: 20.2 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.497, allocations: 0 / 0.7236 GB, free: 20.2 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001438/0.4971, allocations: 10.7 kB / 0.7236 GB, free: 20.2 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 (intLesEquThr.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 7.657e-05/0.4972, allocations: 94.02 kB / 0.7237 GB, free: 20.11 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001716/0.4974, allocations: 60.09 kB / 0.7237 GB, free: 20.09 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.403e-06/0.4974, allocations: 0 / 0.7237 GB, free: 20.09 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 6.477e-05/0.4975, allocations: 33.95 kB / 0.7237 GB, free: 20.09 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001993/0.4977, allocations: 10.84 kB / 0.7238 GB, free: 20.08 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002689/0.4979, allocations: 129.3 kB / 0.7239 GB, free: 19.96 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.855e-05/0.498, allocations: 63.92 kB / 0.7239 GB, free: 19.89 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 3.304e-05/0.498, allocations: 10.03 kB / 0.7239 GB, free: 19.89 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.362e-05/0.498, allocations: 12.44 kB / 0.724 GB, free: 19.88 MB / 0.6355 GB Notification: Performance of SimCode: time 5.61e-07/0.498, allocations: 1.188 kB / 0.724 GB, free: 19.88 MB / 0.6355 GB Notification: Performance of Templates: time 0.002519/0.5005, allocations: 0.9651 MB / 0.7249 GB, free: 19.77 MB / 0.6355 GB " [Timeout remaining time 659] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold -abortSlowSimulation -alarm=480 -s gbode -gbnls=internal -gberr=embedded -gbm=radauIIA3 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.160475027980283] Failed to read output from testmodel.py, exit status != 0: 0.5058608190156519 0.519110002 0.022181059000000003 Calling exit ...