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.000566/0.000566, allocations: 72.45 kB / 19.9 MB, free: 24 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.0007441/0.0007441, allocations: 169.9 kB / 23.18 MB, free: 1.387 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.8621/0.8621, allocations: 177.2 MB / 203.6 MB, free: 5.766 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:190: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:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.6897/0.6897, allocations: 155 MB / 415 MB, free: 484 kB / 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.0009208/0.0009208, allocations: 67.91 kB / 0.6199 GB, free: 12.69 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.397/0.398, allocations: 102 MB / 0.7195 GB, free: 23.45 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold): time 0.001238/0.3992, allocations: 0.6889 MB / 0.7202 GB, free: 23.03 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.0006651/0.3999, allocations: 0.855 MB / 0.721 GB, free: 22.39 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.546e-05/0.3999, allocations: 1.281 kB / 0.721 GB, free: 22.39 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 2.637e-05/0.3999, allocations: 4.547 kB / 0.721 GB, free: 22.38 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 6.802e-05/0.4, allocations: 9.781 kB / 0.721 GB, free: 22.38 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001355/0.4001, allocations: 22.81 kB / 0.721 GB, free: 22.37 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 6.987e-05/0.4002, allocations: 51.77 kB / 0.7211 GB, free: 22.34 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001024/0.4003, allocations: 14.52 kB / 0.7211 GB, free: 22.33 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 7.652e-05/0.4004, allocations: 26.17 kB / 0.7211 GB, free: 22.32 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 5.295e-05/0.4004, allocations: 25.14 kB / 0.7211 GB, free: 22.31 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 2.208e-05/0.4004, allocations: 3.469 kB / 0.7211 GB, free: 22.31 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 1.383e-05/0.4005, allocations: 4.5 kB / 0.7211 GB, free: 22.31 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 2.156e-05/0.4005, allocations: 11.67 kB / 0.7212 GB, free: 22.3 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 2.928e-05/0.4005, allocations: 14.22 kB / 0.7212 GB, free: 22.29 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0001223/0.4006, allocations: 60.38 kB / 0.7212 GB, free: 22.27 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 3.407e-06/0.4006, allocations: 0 / 0.7212 GB, free: 22.27 MB / 0.6355 GB Notification: Performance of FrontEnd: time 3.497e-06/0.4006, allocations: 1.703 kB / 0.7212 GB, free: 22.27 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.661e-06/0.4006, allocations: 4 kB / 0.7212 GB, free: 22.26 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.0003708/0.401, allocations: 281.4 kB / 0.7215 GB, free: 21.99 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.87e-05/0.4011, allocations: 10.31 kB / 0.7215 GB, free: 21.99 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.808e-05/0.4011, allocations: 3.188 kB / 0.7215 GB, free: 21.99 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.721e-05/0.4012, allocations: 116.3 kB / 0.7216 GB, free: 21.86 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.982e-05/0.4012, allocations: 1.406 kB / 0.7216 GB, free: 21.86 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.3e-05/0.4012, allocations: 10.53 kB / 0.7216 GB, free: 21.85 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001364/0.4013, allocations: 72.94 kB / 0.7217 GB, free: 21.8 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.682e-06/0.4013, allocations: 5.125 kB / 0.7217 GB, free: 21.8 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.03e-05/0.4013, allocations: 0 / 0.7217 GB, free: 21.8 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.66e-06/0.4013, allocations: 1.156 kB / 0.7217 GB, free: 21.8 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001153/0.4015, allocations: 56.28 kB / 0.7218 GB, free: 21.78 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002716/0.4017, allocations: 225.7 kB / 0.722 GB, free: 21.56 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001235/0.4019, allocations: 61.31 kB / 0.722 GB, free: 21.53 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.877e-05/0.4019, allocations: 31.92 kB / 0.7221 GB, free: 21.51 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.519e-05/0.4019, allocations: 5.922 kB / 0.7221 GB, free: 21.51 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.239e-05/0.4019, allocations: 39.69 kB / 0.7221 GB, free: 21.46 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=4): time 9.52e-07/0.4019, allocations: 0 / 0.7221 GB, free: 21.46 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4): time 0.0002681/0.4022, allocations: 102.6 kB / 0.7222 GB, free: 21.42 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.067e-05/0.4022, allocations: 57.27 kB / 0.7223 GB, free: 21.35 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.229e-05/0.4023, allocations: 106.7 kB / 0.7224 GB, free: 21.25 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 7.014e-06/0.4023, allocations: 25.7 kB / 0.7224 GB, free: 21.22 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 2.789e-05/0.4023, allocations: 92.11 kB / 0.7225 GB, free: 21.13 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.529e-05/0.4023, allocations: 13.72 kB / 0.7225 GB, free: 21.12 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.599e-05/0.4024, allocations: 20.56 kB / 0.7225 GB, free: 21.1 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 2.777e-05/0.4024, allocations: 317.8 kB / 0.7228 GB, free: 20.78 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.476e-05/0.4024, allocations: 26.11 kB / 0.7228 GB, free: 20.77 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.263e-05/0.4025, allocations: 27.75 kB / 0.7229 GB, free: 20.77 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001037/0.4026, allocations: 54.06 kB / 0.7229 GB, free: 20.75 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.315e-06/0.4026, allocations: 0 / 0.7229 GB, free: 20.75 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001331/0.4027, allocations: 87.3 kB / 0.723 GB, free: 20.7 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.253e-05/0.4028, allocations: 7.469 kB / 0.723 GB, free: 20.7 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.6e-06/0.4028, allocations: 2.031 kB / 0.723 GB, free: 20.7 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.125e-05/0.4028, allocations: 0 / 0.723 GB, free: 20.7 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.81e-05/0.4028, allocations: 12.34 kB / 0.723 GB, free: 20.7 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.338e-06/0.4028, allocations: 0 / 0.723 GB, free: 20.7 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.438e-05/0.4029, allocations: 12.23 kB / 0.723 GB, free: 20.7 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.741e-06/0.4029, allocations: 1.188 kB / 0.723 GB, free: 20.7 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 4.258e-05/0.4029, allocations: 122.3 kB / 0.7232 GB, free: 20.57 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.202e-05/0.4029, allocations: 2.188 kB / 0.7232 GB, free: 20.57 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.8e-05/0.403, allocations: 10.17 kB / 0.7232 GB, free: 20.56 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-06/0.403, allocations: 1.188 kB / 0.7232 GB, free: 20.56 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.403, allocations: 0 / 0.7232 GB, free: 20.56 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.403, allocations: 1.578 kB / 0.7232 GB, free: 20.56 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.833e-05/0.403, allocations: 123.1 kB / 0.7233 GB, free: 20.42 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.4031, allocations: 1.156 kB / 0.7233 GB, free: 20.42 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.16e-05/0.4031, allocations: 10.81 kB / 0.7233 GB, free: 20.42 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-06/0.4031, allocations: 1.094 kB / 0.7233 GB, free: 20.42 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.005e-06/0.4031, allocations: 5.969 kB / 0.7233 GB, free: 20.42 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.4031, allocations: 3.938 kB / 0.7233 GB, free: 20.41 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.4031, allocations: 1.094 kB / 0.7233 GB, free: 20.41 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00015/0.4033, allocations: 192 kB / 0.7235 GB, free: 20.26 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 9.248e-06/0.4033, allocations: 3.359 kB / 0.7235 GB, free: 20.26 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.021e-05/0.4033, allocations: 1.094 kB / 0.7235 GB, free: 20.26 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.699e-05/0.4033, allocations: 7.359 kB / 0.7235 GB, free: 20.26 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.215e-05/0.4034, allocations: 11.73 kB / 0.7235 GB, free: 20.25 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.599e-06/0.4034, allocations: 2.516 kB / 0.7235 GB, free: 20.25 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 2.021e-05/0.4034, allocations: 91.16 kB / 0.7236 GB, free: 20.17 MB / 0.6355 GB Notification: Performance of sort global known variables: time 7e-08/0.4034, allocations: 0 / 0.7236 GB, free: 20.17 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001464/0.4036, allocations: 10.58 kB / 0.7236 GB, free: 20.17 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.32e-05/0.4036, allocations: 99.94 kB / 0.7237 GB, free: 20.08 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001558/0.4038, allocations: 50.47 kB / 0.7238 GB, free: 20.07 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.272e-06/0.4038, allocations: 4.938 kB / 0.7238 GB, free: 20.07 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 5.724e-05/0.4038, allocations: 35.42 kB / 0.7238 GB, free: 20.05 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000232/0.4041, allocations: 12.25 kB / 0.7238 GB, free: 20.05 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002712/0.4043, allocations: 153.8 kB / 0.724 GB, free: 19.9 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.833e-05/0.4044, allocations: 65.28 kB / 0.724 GB, free: 19.83 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.485e-05/0.4044, allocations: 14.25 kB / 0.724 GB, free: 19.82 MB / 0.6355 GB Notification: Performance of SimCode: time 3.3e-07/0.4044, allocations: 0 / 0.724 GB, free: 19.82 MB / 0.6355 GB Notification: Performance of Templates: time 0.001903/0.4063, allocations: 0.8316 MB / 0.7248 GB, free: 19.78 MB / 0.6355 GB " [Timeout remaining time 660] 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 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.286145820980892] Failed to read output from testmodel.py, exit status != 0: 0.4116445230320096 0.419273332 0.017008486 Calling exit ...