Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Min.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.001548/0.001548, allocations: 75.25 kB / 19.16 MB, free: 2.566 MB / 14.72 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.001662/0.001662, allocations: 164 kB / 22.44 MB, free: 5.316 MB / 14.72 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 1.43/1.43, allocations: 177.2 MB / 202.8 MB, free: 9.199 MB / 190.1 MB " [Timeout remaining time 178] 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 1.167/1.167, allocations: 155 MB / 414.2 MB, free: 4.926 MB / 382.1 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 178] 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.Min,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Min") translateModel(IDEAS.Controls.OBC.CDL.Integers.Validation.Min,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Min") [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.002028/0.002028, allocations: 70.42 kB / 0.6191 GB, free: 4.16 MB / 0.5294 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.5352/0.5372, allocations: 102 MB / 0.7187 GB, free: 1.77 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Validation.Min): time 0.001863/0.5391, allocations: 0.7496 MB / 0.7195 GB, free: 1.297 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0009652/0.5401, allocations: 0.8884 MB / 0.7203 GB, free: 0.6367 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.394e-05/0.5401, allocations: 4 kB / 0.7203 GB, free: 0.6328 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.136e-05/0.5401, allocations: 8.953 kB / 0.7204 GB, free: 0.625 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 9.251e-05/0.5402, allocations: 12.38 kB / 0.7204 GB, free: 0.6172 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001743/0.5404, allocations: 39.2 kB / 0.7204 GB, free: 0.5977 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001442/0.5405, allocations: 89.98 kB / 0.7205 GB, free: 0.5547 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001235/0.5407, allocations: 19.83 kB / 0.7205 GB, free: 0.5469 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001081/0.5408, allocations: 50.19 kB / 0.7206 GB, free: 0.5234 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 9.498e-05/0.5409, allocations: 44.67 kB / 0.7206 GB, free: 0.5039 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.597e-05/0.5409, allocations: 11.59 kB / 0.7206 GB, free: 0.5 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 1.881e-05/0.5409, allocations: 8.531 kB / 0.7206 GB, free: 0.5 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.941e-05/0.5409, allocations: 22.45 kB / 0.7206 GB, free: 496 kB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.288e-05/0.541, allocations: 30.86 kB / 0.7207 GB, free: 476 kB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001568/0.5411, allocations: 104.1 kB / 0.7208 GB, free: 428 kB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.93e-06/0.5412, allocations: 0 / 0.7208 GB, free: 428 kB / 0.6075 GB Notification: Performance of FrontEnd: time 1.643e-06/0.5412, allocations: 1.094 kB / 0.7208 GB, free: 428 kB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.46e-06/0.5412, allocations: 0 / 0.7208 GB, free: 428 kB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0006159/0.5418, allocations: 322.4 kB / 0.7211 GB, free: 128 kB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.464e-05/0.5418, allocations: 10 kB / 0.7211 GB, free: 128 kB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.267e-05/0.5419, allocations: 10.17 kB / 0.7211 GB, free: 124 kB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001437/0.542, allocations: 123.1 kB / 0.7212 GB, free: 15.98 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.228e-05/0.542, allocations: 6.781 kB / 0.7212 GB, free: 15.98 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.308e-05/0.5421, allocations: 7.453 kB / 0.7212 GB, free: 15.98 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003273/0.5424, allocations: 104.1 kB / 0.7213 GB, free: 15.93 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.377e-06/0.5424, allocations: 3.938 kB / 0.7213 GB, free: 15.93 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.674e-05/0.5424, allocations: 4.969 kB / 0.7213 GB, free: 15.92 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.881e-06/0.5424, allocations: 5.062 kB / 0.7213 GB, free: 15.92 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003846/0.5428, allocations: 102 kB / 0.7214 GB, free: 15.89 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005575/0.5434, allocations: 266.1 kB / 0.7217 GB, free: 15.66 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006481/0.544, allocations: 117.3 kB / 0.7218 GB, free: 15.61 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002071/0.5442, allocations: 53.98 kB / 0.7219 GB, free: 15.59 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 2.914e-05/0.5442, allocations: 9.125 kB / 0.7219 GB, free: 15.59 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.878e-05/0.5443, allocations: 36.77 kB / 0.7219 GB, free: 15.54 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=7): time 1.472e-06/0.5443, allocations: 3.938 kB / 0.7219 GB, free: 15.54 MB / 0.6231 GB Notification: Performance of matching and sorting (n=7): time 0.0007715/0.545, allocations: 187 kB / 0.7221 GB, free: 15.47 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.46e-05/0.5451, allocations: 52.56 kB / 0.7221 GB, free: 15.41 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001242/0.5452, allocations: 127.6 kB / 0.7222 GB, free: 15.29 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 2.985e-05/0.5452, allocations: 26.86 kB / 0.7223 GB, free: 15.26 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 7.407e-05/0.5453, allocations: 93.95 kB / 0.7224 GB, free: 15.17 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 2.841e-05/0.5453, allocations: 15.02 kB / 0.7224 GB, free: 15.16 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.763e-05/0.5454, allocations: 24.75 kB / 0.7224 GB, free: 15.14 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001722/0.5456, allocations: 318.9 kB / 0.7227 GB, free: 14.82 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001974/0.5458, allocations: 44.17 kB / 0.7227 GB, free: 14.82 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000183/0.546, allocations: 45.22 kB / 0.7228 GB, free: 14.81 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003949/0.5463, allocations: 101.8 kB / 0.7229 GB, free: 14.78 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.5463, allocations: 0 / 0.7229 GB, free: 14.78 MB / 0.6231 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0005035/0.5469, allocations: 146.2 kB / 0.723 GB, free: 14.71 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.157e-05/0.5469, allocations: 5.938 kB / 0.723 GB, free: 14.71 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.053e-06/0.5469, allocations: 4 kB / 0.723 GB, free: 14.71 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.939e-05/0.5469, allocations: 1.938 kB / 0.723 GB, free: 14.71 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001988/0.5471, allocations: 27 kB / 0.7231 GB, free: 14.7 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.731e-06/0.5471, allocations: 1.094 kB / 0.7231 GB, free: 14.7 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001335/0.5472, allocations: 16.91 kB / 0.7231 GB, free: 14.7 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.269e-05/0.5473, allocations: 2.609 kB / 0.7231 GB, free: 14.7 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (reaToInt1.y,reaToInt.y,min1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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 0.0001181/0.5474, allocations: 114.9 kB / 0.7232 GB, free: 14.58 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.962e-05/0.5474, allocations: 12.12 kB / 0.7232 GB, free: 14.57 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005487/0.548, allocations: 161 kB / 0.7234 GB, free: 14.5 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/0.548, allocations: 1.562 kB / 0.7234 GB, free: 14.5 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/0.548, allocations: 0.75 kB / 0.7234 GB, free: 14.5 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.448e-06/0.548, allocations: 1.438 kB / 0.7234 GB, free: 14.5 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001995/0.5482, allocations: 132.8 kB / 0.7235 GB, free: 14.36 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.5482, allocations: 0 / 0.7235 GB, free: 14.36 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000165/0.5483, allocations: 32.97 kB / 0.7235 GB, free: 14.36 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.27e-06/0.5483, allocations: 3.938 kB / 0.7235 GB, free: 14.35 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.321e-05/0.5484, allocations: 2.672 kB / 0.7235 GB, free: 14.35 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/0.5484, allocations: 1.594 kB / 0.7235 GB, free: 14.35 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.5484, allocations: 0 / 0.7235 GB, free: 14.35 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005218/0.5489, allocations: 232.7 kB / 0.7237 GB, free: 14.2 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 2.294e-05/0.5489, allocations: 17.95 kB / 0.7238 GB, free: 14.18 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.101e-05/0.5489, allocations: 5.859 kB / 0.7238 GB, free: 14.18 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001532/0.5491, allocations: 11.48 kB / 0.7238 GB, free: 14.18 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000108/0.5492, allocations: 23.64 kB / 0.7238 GB, free: 14.17 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.082e-05/0.5492, allocations: 2.203 kB / 0.7238 GB, free: 14.17 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 8.689e-05/0.5493, allocations: 97.25 kB / 0.7239 GB, free: 14.09 MB / 0.6231 GB Notification: Performance of sort global known variables: time 8e-08/0.5493, allocations: 0 / 0.7239 GB, free: 14.09 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0002573/0.5495, allocations: 20.59 kB / 0.7239 GB, free: 14.08 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (min1.y,reaToInt.y,reaToInt1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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 0.0001446/0.5497, allocations: 97.17 kB / 0.724 GB, free: 13.99 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0004888/0.5502, allocations: 110.6 kB / 0.7241 GB, free: 13.96 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.896e-06/0.5502, allocations: 0 / 0.7241 GB, free: 13.96 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0002389/0.5504, allocations: 56.8 kB / 0.7242 GB, free: 13.96 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000395/0.5508, allocations: 10.77 kB / 0.7242 GB, free: 13.95 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006284/0.5514, allocations: 179.6 kB / 0.7244 GB, free: 13.8 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001253/0.5516, allocations: 78.03 kB / 0.7244 GB, free: 13.73 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 7.62e-05/0.5516, allocations: 12.17 kB / 0.7244 GB, free: 13.72 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.877e-05/0.5517, allocations: 22.78 kB / 0.7245 GB, free: 13.71 MB / 0.6231 GB Notification: Performance of SimCode: time 7.52e-07/0.5517, allocations: 0 / 0.7245 GB, free: 13.71 MB / 0.6231 GB Notification: Performance of Templates: time 0.006818/0.5585, allocations: 1.709 MB / 0.7261 GB, free: 13.55 MB / 0.6231 GB " [Timeout remaining time 659] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Min.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Min.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Min.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Min.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Min.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Min -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Min.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.0710985865443945] Failed to read output from testmodel.py, exit status != 0: 0.5672614518553019 0.582292493 0.038074935000000004 Calling exit ...