Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.Max.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.0007145/0.0007145, allocations: 76.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0007234/0.0007234, allocations: 174.3 kB / 23.21 MB, free: 1.352 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.8368/0.8368, allocations: 177.1 MB / 203.5 MB, free: 5.754 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.6916/0.6916, allocations: 154.6 MB / 414.5 MB, free: 0.8047 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.Max,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.Max") translateModel(IDEAS.Controls.OBC.CDL.Integers.Validation.Max,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.Max") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.266e-06/3.266e-06, allocations: 0 / 0.6193 GB, free: 13.16 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.345e-05/2.672e-05, allocations: 5.094 kB / 0.6193 GB, free: 13.15 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Validation.Max): time 0.001207/0.001234, allocations: 0.7505 MB / 0.6201 GB, free: 12.4 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0008109/0.002044, allocations: 0.8899 MB / 0.6209 GB, free: 11.5 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.497e-05/0.002089, allocations: 4 kB / 0.6209 GB, free: 11.49 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 3.137e-05/0.002121, allocations: 3.938 kB / 0.6209 GB, free: 11.49 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 6.912e-05/0.00219, allocations: 7.938 kB / 0.621 GB, free: 11.48 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001726/0.002362, allocations: 47.81 kB / 0.621 GB, free: 11.43 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 9.465e-05/0.002457, allocations: 87.77 kB / 0.6211 GB, free: 11.35 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001059/0.002563, allocations: 31.89 kB / 0.6211 GB, free: 11.32 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 8.33e-05/0.002646, allocations: 43.91 kB / 0.6212 GB, free: 11.27 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 6.381e-05/0.00271, allocations: 39.88 kB / 0.6212 GB, free: 11.23 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.697e-05/0.002737, allocations: 8 kB / 0.6212 GB, free: 11.23 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 1.543e-05/0.002753, allocations: 8 kB / 0.6212 GB, free: 11.22 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 2.259e-05/0.002775, allocations: 23.91 kB / 0.6212 GB, free: 11.2 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 2.673e-05/0.002802, allocations: 27.97 kB / 0.6213 GB, free: 11.17 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001144/0.002916, allocations: 95.7 kB / 0.6213 GB, free: 11.07 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.773e-06/0.002918, allocations: 0 / 0.6213 GB, free: 11.07 MB / 0.5886 GB Notification: Performance of FrontEnd: time 9.22e-07/0.002919, allocations: 3.938 kB / 0.6214 GB, free: 11.07 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 3.607e-06/0.002923, allocations: 0 / 0.6214 GB, free: 11.07 MB / 0.5886 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.0004534/0.003376, allocations: 318 kB / 0.6217 GB, free: 10.73 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.428e-05/0.00341, allocations: 12.03 kB / 0.6217 GB, free: 10.72 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.303e-05/0.003443, allocations: 8.891 kB / 0.6217 GB, free: 10.71 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.174e-05/0.003535, allocations: 117.7 kB / 0.6218 GB, free: 10.57 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.527e-05/0.00355, allocations: 8.375 kB / 0.6218 GB, free: 10.56 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.417e-05/0.003564, allocations: 8.375 kB / 0.6218 GB, free: 10.55 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001931/0.003757, allocations: 102.2 kB / 0.6219 GB, free: 10.45 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.588e-06/0.003767, allocations: 3.938 kB / 0.6219 GB, free: 10.45 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.201e-05/0.003779, allocations: 4 kB / 0.6219 GB, free: 10.44 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.107e-06/0.003783, allocations: 0 / 0.6219 GB, free: 10.44 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002002/0.003983, allocations: 103.8 kB / 0.622 GB, free: 10.34 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003591/0.004342, allocations: 264.4 kB / 0.6223 GB, free: 10.05 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003545/0.004697, allocations: 118.5 kB / 0.6224 GB, free: 9.926 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.854e-05/0.004796, allocations: 52.81 kB / 0.6224 GB, free: 9.871 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 2.134e-05/0.004817, allocations: 4 kB / 0.6224 GB, free: 9.867 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.76e-05/0.004834, allocations: 34.55 kB / 0.6225 GB, free: 9.824 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=7): time 1.092e-06/0.004836, allocations: 4 kB / 0.6225 GB, free: 9.82 MB / 0.5886 GB Notification: Performance of matching and sorting (n=7): time 0.0003857/0.005221, allocations: 177.5 kB / 0.6226 GB, free: 9.641 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.906e-05/0.00525, allocations: 55.34 kB / 0.6227 GB, free: 9.574 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.488e-05/0.005325, allocations: 123.6 kB / 0.6228 GB, free: 9.445 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.324e-05/0.005338, allocations: 25.7 kB / 0.6228 GB, free: 9.414 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 4.253e-05/0.005381, allocations: 100.1 kB / 0.6229 GB, free: 9.312 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.163e-05/0.005403, allocations: 23.78 kB / 0.6229 GB, free: 9.289 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.552e-05/0.005438, allocations: 29.64 kB / 0.623 GB, free: 9.254 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.642e-05/0.005514, allocations: 322.7 kB / 0.6233 GB, free: 8.93 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.241e-05/0.005607, allocations: 43.95 kB / 0.6233 GB, free: 8.887 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.092e-05/0.005698, allocations: 51.94 kB / 0.6234 GB, free: 8.836 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000178/0.005876, allocations: 96.77 kB / 0.6235 GB, free: 8.738 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.983e-06/0.005878, allocations: 0 / 0.6235 GB, free: 8.738 MB / 0.5886 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002175/0.006095, allocations: 133.6 kB / 0.6236 GB, free: 8.602 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.253e-05/0.006108, allocations: 9.859 kB / 0.6236 GB, free: 8.594 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.04e-06/0.006113, allocations: 11.92 kB / 0.6236 GB, free: 8.582 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.227e-05/0.006125, allocations: 4 kB / 0.6236 GB, free: 8.578 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.087e-05/0.006206, allocations: 23.97 kB / 0.6236 GB, free: 8.555 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.509e-06/0.006211, allocations: 0 / 0.6236 GB, free: 8.555 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.048e-05/0.006261, allocations: 15.98 kB / 0.6237 GB, free: 8.539 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.091e-06/0.006267, allocations: 0 / 0.6237 GB, free: 8.539 MB / 0.5886 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,max1.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 6.45e-05/0.006332, allocations: 118.8 kB / 0.6238 GB, free: 8.414 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.74e-05/0.006349, allocations: 11.94 kB / 0.6238 GB, free: 8.402 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002694/0.006618, allocations: 150 kB / 0.6239 GB, free: 8.246 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.006621, allocations: 3.938 kB / 0.6239 GB, free: 8.242 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.006625, allocations: 0 / 0.6239 GB, free: 8.242 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.006627, allocations: 0 / 0.6239 GB, free: 8.242 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003941/0.007022, allocations: 141.2 kB / 0.6241 GB, free: 8.074 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.71e-07/0.007022, allocations: 0 / 0.6241 GB, free: 8.074 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.875e-05/0.007091, allocations: 23.97 kB / 0.6241 GB, free: 8.051 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.766e-06/0.007094, allocations: 8 kB / 0.6241 GB, free: 8.043 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.127e-06/0.007103, allocations: 4 kB / 0.6241 GB, free: 8.039 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.455e-06/0.007105, allocations: 3.984 kB / 0.6241 GB, free: 8.035 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.007108, allocations: 0.625 kB / 0.6241 GB, free: 8.035 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002412/0.007349, allocations: 239.3 kB / 0.6243 GB, free: 7.785 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 1.161e-05/0.00736, allocations: 7.953 kB / 0.6243 GB, free: 7.777 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.197e-05/0.007372, allocations: 0 / 0.6243 GB, free: 7.777 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.613e-05/0.007438, allocations: 15.98 kB / 0.6244 GB, free: 7.762 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.948e-05/0.007498, allocations: 23.91 kB / 0.6244 GB, free: 7.738 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.212e-06/0.007504, allocations: 4 kB / 0.6244 GB, free: 7.734 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 4.119e-05/0.007545, allocations: 99.2 kB / 0.6245 GB, free: 7.637 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5.1e-08/0.007545, allocations: 0 / 0.6245 GB, free: 7.637 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001578/0.007703, allocations: 12 kB / 0.6245 GB, free: 7.625 MB / 0.5886 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 (max1.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 7.672e-05/0.00778, allocations: 99.23 kB / 0.6246 GB, free: 7.52 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0002354/0.008015, allocations: 107.9 kB / 0.6247 GB, free: 7.414 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.008017, allocations: 0 / 0.6247 GB, free: 7.414 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 9.903e-05/0.008116, allocations: 59.88 kB / 0.6247 GB, free: 7.355 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002018/0.008318, allocations: 18.61 kB / 0.6248 GB, free: 7.34 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000315/0.008633, allocations: 187.3 kB / 0.6249 GB, free: 7.121 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.831e-05/0.008681, allocations: 79.33 kB / 0.625 GB, free: 7.023 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.957e-05/0.008731, allocations: 20.48 kB / 0.625 GB, free: 7.004 MB / 0.5886 GB Notification: Performance of SimCode: time 4.91e-07/0.008731, allocations: 0 / 0.625 GB, free: 7.004 MB / 0.5886 GB Notification: Performance of Templates: time 0.001915/0.01065, allocations: 1.268 MB / 0.6263 GB, free: 5.75 MB / 0.5886 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.Max.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.Max.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.Max.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.Max.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.Max.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.Max -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.Max.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.877187471836805] Failed to read output from testmodel.py, exit status != 0: 0.014883697964251041 0.023071574 0.01854851 Calling exit ...