Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.0007622/0.0007622, 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.0007805/0.0007805, 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.8278/0.8278, allocations: 177.2 MB / 203.6 MB, free: 5.762 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.6812/0.6812, allocations: 154.7 MB / 414.7 MB, free: 0.7695 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.LessEqualThreshold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_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_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.0008612/0.0008612, allocations: 71.89 kB / 0.6195 GB, free: 13.14 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.3904/0.3913, allocations: 102 MB / 0.7191 GB, free: 23.68 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold): time 0.001193/0.3925, allocations: 0.6842 MB / 0.7198 GB, free: 23.25 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.0005673/0.393, allocations: 0.8556 MB / 0.7206 GB, free: 22.61 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.026e-05/0.3931, allocations: 5.469 kB / 0.7206 GB, free: 22.61 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 1.966e-05/0.3931, allocations: 4.594 kB / 0.7206 GB, free: 22.61 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 4.597e-05/0.3931, allocations: 4.5 kB / 0.7206 GB, free: 22.6 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001036/0.3932, allocations: 21.92 kB / 0.7207 GB, free: 22.59 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 6.148e-05/0.3933, allocations: 49.03 kB / 0.7207 GB, free: 22.57 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 7.344e-05/0.3934, allocations: 19 kB / 0.7207 GB, free: 22.56 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 5.835e-05/0.3934, allocations: 26.25 kB / 0.7207 GB, free: 22.55 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 4.682e-05/0.3935, allocations: 20.47 kB / 0.7208 GB, free: 22.54 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 1.668e-05/0.3935, allocations: 4.344 kB / 0.7208 GB, free: 22.54 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 8.496e-06/0.3935, allocations: 8.156 kB / 0.7208 GB, free: 22.54 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 1.693e-05/0.3935, allocations: 11.38 kB / 0.7208 GB, free: 22.53 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 2.153e-05/0.3935, allocations: 22.17 kB / 0.7208 GB, free: 22.51 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 8.829e-05/0.3936, allocations: 52.77 kB / 0.7209 GB, free: 22.49 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 2.955e-06/0.3936, allocations: 0 / 0.7209 GB, free: 22.49 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.133e-06/0.3936, allocations: 1.156 kB / 0.7209 GB, free: 22.49 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 4.068e-06/0.3936, allocations: 0 / 0.7209 GB, free: 22.49 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.0002605/0.3939, allocations: 282.1 kB / 0.7211 GB, free: 22.22 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 2.923e-05/0.3939, allocations: 9.125 kB / 0.7211 GB, free: 22.22 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.937e-05/0.3939, allocations: 3.375 kB / 0.7211 GB, free: 22.22 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.288e-05/0.394, allocations: 123.3 kB / 0.7213 GB, free: 22.08 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.093e-05/0.394, allocations: 5.469 kB / 0.7213 GB, free: 22.07 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.398e-06/0.394, allocations: 10.5 kB / 0.7213 GB, free: 22.07 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001125/0.3941, allocations: 69.03 kB / 0.7213 GB, free: 22.02 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.999e-06/0.3941, allocations: 1.156 kB / 0.7213 GB, free: 22.02 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.251e-06/0.3941, allocations: 3.938 kB / 0.7213 GB, free: 22.02 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.166e-06/0.3941, allocations: 1.094 kB / 0.7213 GB, free: 22.02 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001081/0.3943, allocations: 48.42 kB / 0.7214 GB, free: 22.01 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002098/0.3945, allocations: 227 kB / 0.7216 GB, free: 21.79 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000109/0.3946, allocations: 68.75 kB / 0.7217 GB, free: 21.75 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.738e-05/0.3946, allocations: 31.61 kB / 0.7217 GB, free: 21.73 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.127e-05/0.3946, allocations: 1.25 kB / 0.7217 GB, free: 21.73 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.078e-05/0.3946, allocations: 32.56 kB / 0.7217 GB, free: 21.7 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=4): time 6.91e-07/0.3947, allocations: 0 / 0.7217 GB, free: 21.7 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4): time 0.0002307/0.3949, allocations: 101.7 kB / 0.7218 GB, free: 21.65 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.702e-05/0.3949, allocations: 57.14 kB / 0.7219 GB, free: 21.59 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.529e-05/0.3949, allocations: 115.7 kB / 0.722 GB, free: 21.48 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 6.983e-06/0.395, allocations: 25.7 kB / 0.722 GB, free: 21.45 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 2.409e-05/0.395, allocations: 94.81 kB / 0.7221 GB, free: 21.35 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.385e-05/0.395, allocations: 14.39 kB / 0.7221 GB, free: 21.34 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.246e-05/0.395, allocations: 19.8 kB / 0.7221 GB, free: 21.32 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 2.739e-05/0.395, allocations: 318.1 kB / 0.7224 GB, free: 21 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.3e-05/0.3951, allocations: 23.39 kB / 0.7225 GB, free: 21 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.936e-05/0.3951, allocations: 26.66 kB / 0.7225 GB, free: 20.99 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.8e-05/0.3952, allocations: 58.44 kB / 0.7226 GB, free: 20.97 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.3952, allocations: 0 / 0.7226 GB, free: 20.97 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001202/0.3954, allocations: 82.72 kB / 0.7226 GB, free: 20.93 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.029e-05/0.3954, allocations: 6.25 kB / 0.7226 GB, free: 20.93 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.414e-06/0.3954, allocations: 0 / 0.7226 GB, free: 20.93 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.254e-06/0.3954, allocations: 6.266 kB / 0.7226 GB, free: 20.92 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.027e-05/0.3954, allocations: 11.17 kB / 0.7227 GB, free: 20.92 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.266e-06/0.3954, allocations: 4 kB / 0.7227 GB, free: 20.92 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.371e-05/0.3955, allocations: 12.31 kB / 0.7227 GB, free: 20.91 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.641e-06/0.3955, allocations: 1.75 kB / 0.7227 GB, free: 20.91 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 3.628e-05/0.3955, allocations: 113.8 kB / 0.7228 GB, free: 20.8 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.35e-05/0.3955, allocations: 3.469 kB / 0.7228 GB, free: 20.8 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.483e-05/0.3955, allocations: 8.891 kB / 0.7228 GB, free: 20.79 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.042e-06/0.3955, allocations: 1.344 kB / 0.7228 GB, free: 20.79 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.3956, allocations: 4 kB / 0.7228 GB, free: 20.78 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.3956, allocations: 1.656 kB / 0.7228 GB, free: 20.78 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.094e-05/0.3956, allocations: 123 kB / 0.7229 GB, free: 20.64 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.91e-07/0.3956, allocations: 0 / 0.7229 GB, free: 20.64 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.572e-05/0.3957, allocations: 12.77 kB / 0.7229 GB, free: 20.64 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.92e-07/0.3957, allocations: 0 / 0.7229 GB, free: 20.64 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.063e-06/0.3957, allocations: 1.734 kB / 0.7229 GB, free: 20.64 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.61e-07/0.3957, allocations: 0 / 0.7229 GB, free: 20.64 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.3957, allocations: 1.875 kB / 0.7229 GB, free: 20.64 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001465/0.3958, allocations: 191.7 kB / 0.7231 GB, free: 20.49 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.653e-06/0.3958, allocations: 2.703 kB / 0.7231 GB, free: 20.49 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.208e-06/0.3958, allocations: 5.469 kB / 0.7231 GB, free: 20.48 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.655e-05/0.3959, allocations: 7.906 kB / 0.7231 GB, free: 20.48 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.912e-05/0.3959, allocations: 10.55 kB / 0.7231 GB, free: 20.48 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.888e-06/0.3959, allocations: 2.203 kB / 0.7231 GB, free: 20.48 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 1.887e-05/0.3959, allocations: 91.09 kB / 0.7232 GB, free: 20.4 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.3959, allocations: 0 / 0.7232 GB, free: 20.4 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001351/0.3961, allocations: 11.66 kB / 0.7232 GB, free: 20.39 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 5.405e-05/0.3961, allocations: 98.64 kB / 0.7233 GB, free: 20.3 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001398/0.3963, allocations: 59.98 kB / 0.7234 GB, free: 20.29 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 9.22e-07/0.3963, allocations: 0 / 0.7234 GB, free: 20.29 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 5.524e-05/0.3963, allocations: 27.52 kB / 0.7234 GB, free: 20.29 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001639/0.3965, allocations: 11.45 kB / 0.7234 GB, free: 20.28 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002048/0.3967, allocations: 155.3 kB / 0.7236 GB, free: 20.13 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.838e-05/0.3967, allocations: 64.73 kB / 0.7236 GB, free: 20.06 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.08e-05/0.3968, allocations: 18.31 kB / 0.7237 GB, free: 20.05 MB / 0.6355 GB Notification: Performance of SimCode: time 3.81e-07/0.3968, allocations: 0 / 0.7237 GB, free: 20.05 MB / 0.6355 GB Notification: Performance of Templates: time 0.00147/0.3982, allocations: 0.843 MB / 0.7245 GB, free: 19.99 MB / 0.6355 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.211837623966858] Failed to read output from testmodel.py, exit status != 0: 0.4030993760097772 0.410774926 0.015525568000000002 Calling exit ...