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.00124/0.00124, allocations: 79.2 kB / 19.18 MB, free: 2.516 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.001376/0.001376, allocations: 165.9 kB / 22.45 MB, free: 5.375 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.483/1.483, allocations: 177.2 MB / 202.8 MB, free: 9.164 MB / 190.1 MB " [Timeout remaining time 178] 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 1.285/1.285, allocations: 154.6 MB / 413.8 MB, free: 5.207 MB / 382.1 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 178] 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.617e-06/3.617e-06, allocations: 0 / 0.6186 GB, free: 4.551 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.186e-05/3.548e-05, allocations: 6.281 kB / 0.6186 GB, free: 4.543 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Validation.Max): time 0.002543/0.002578, allocations: 0.7528 MB / 0.6193 GB, free: 3.809 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001568/0.004146, allocations: 0.8881 MB / 0.6202 GB, free: 2.91 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.171e-05/0.004218, allocations: 0 / 0.6202 GB, free: 2.91 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 4.389e-05/0.004262, allocations: 3.938 kB / 0.6202 GB, free: 2.906 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0001196/0.004382, allocations: 19.86 kB / 0.6202 GB, free: 2.887 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002501/0.004632, allocations: 43.83 kB / 0.6203 GB, free: 2.844 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001694/0.004801, allocations: 87.75 kB / 0.6203 GB, free: 2.758 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001337/0.004935, allocations: 19.98 kB / 0.6204 GB, free: 2.738 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001402/0.005075, allocations: 47.89 kB / 0.6204 GB, free: 2.691 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001256/0.005201, allocations: 35.95 kB / 0.6204 GB, free: 2.656 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 3.594e-05/0.005237, allocations: 8 kB / 0.6204 GB, free: 2.648 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 2.037e-05/0.005257, allocations: 8 kB / 0.6205 GB, free: 2.641 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 3.773e-05/0.005295, allocations: 23.91 kB / 0.6205 GB, free: 2.617 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 6.168e-05/0.005356, allocations: 27.91 kB / 0.6205 GB, free: 2.59 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001934/0.00555, allocations: 91.7 kB / 0.6206 GB, free: 2.5 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 2.925e-06/0.005553, allocations: 4 kB / 0.6206 GB, free: 2.496 MB / 0.5294 GB Notification: Performance of FrontEnd: time 8.71e-07/0.005553, allocations: 4 kB / 0.6206 GB, free: 2.492 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.05e-06/0.005559, allocations: 3.938 kB / 0.6206 GB, free: 2.488 MB / 0.5294 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.0007344/0.006293, allocations: 322 kB / 0.6209 GB, free: 2.145 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.613e-05/0.006339, allocations: 8.031 kB / 0.6209 GB, free: 2.137 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.608e-05/0.006405, allocations: 12.89 kB / 0.6209 GB, free: 2.125 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001667/0.006572, allocations: 117.7 kB / 0.621 GB, free: 1.984 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.893e-05/0.006601, allocations: 8.375 kB / 0.621 GB, free: 1.977 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.858e-05/0.006619, allocations: 4.375 kB / 0.6211 GB, free: 1.973 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003879/0.007007, allocations: 106.2 kB / 0.6212 GB, free: 1.863 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.487e-05/0.007022, allocations: 3.938 kB / 0.6212 GB, free: 1.859 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.598e-05/0.007038, allocations: 0 / 0.6212 GB, free: 1.859 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.791e-06/0.007044, allocations: 3.938 kB / 0.6212 GB, free: 1.855 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004142/0.007458, allocations: 99.84 kB / 0.6213 GB, free: 1.758 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005855/0.008044, allocations: 276.3 kB / 0.6215 GB, free: 1.457 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007167/0.00876, allocations: 114.5 kB / 0.6216 GB, free: 1.336 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002065/0.008967, allocations: 56.81 kB / 0.6217 GB, free: 1.277 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 3.191e-05/0.008999, allocations: 0 / 0.6217 GB, free: 1.277 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.824e-05/0.009027, allocations: 34.55 kB / 0.6217 GB, free: 1.234 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=7): time 9.22e-07/0.009028, allocations: 0 / 0.6217 GB, free: 1.234 MB / 0.5294 GB Notification: Performance of matching and sorting (n=7): time 0.0007558/0.009784, allocations: 189.5 kB / 0.6219 GB, free: 1.043 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.35e-05/0.009837, allocations: 55.34 kB / 0.6219 GB, free: 0.9766 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001234/0.00996, allocations: 121.8 kB / 0.6221 GB, free: 0.8477 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.931e-05/0.00999, allocations: 33.7 kB / 0.6221 GB, free: 0.8086 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 6.567e-05/0.01006, allocations: 88.09 kB / 0.6222 GB, free: 0.7188 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 3.412e-05/0.01009, allocations: 31.72 kB / 0.6222 GB, free: 0.6875 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.476e-05/0.01014, allocations: 29.7 kB / 0.6222 GB, free: 0.6523 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.000154/0.0103, allocations: 318.8 kB / 0.6225 GB, free: 340 kB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001931/0.01049, allocations: 43.95 kB / 0.6226 GB, free: 296 kB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001886/0.01068, allocations: 43.95 kB / 0.6226 GB, free: 252 kB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003809/0.01106, allocations: 104.8 kB / 0.6227 GB, free: 144 kB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.01106, allocations: 0 / 0.6227 GB, free: 144 kB / 0.5294 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004695/0.01153, allocations: 133.5 kB / 0.6229 GB, free: 4 kB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 3.555e-05/0.01157, allocations: 7.984 kB / 0.6229 GB, free: 15.99 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.063e-06/0.01158, allocations: 3.938 kB / 0.6229 GB, free: 15.99 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.002e-05/0.0116, allocations: 0 / 0.6229 GB, free: 15.99 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001873/0.01178, allocations: 31.97 kB / 0.6229 GB, free: 15.96 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.464e-06/0.01179, allocations: 0 / 0.6229 GB, free: 15.96 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001248/0.01191, allocations: 11.98 kB / 0.6229 GB, free: 15.95 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.271e-05/0.01193, allocations: 4 kB / 0.6229 GB, free: 15.95 MB / 0.545 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 0.0001173/0.01204, allocations: 123.6 kB / 0.623 GB, free: 15.82 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.392e-05/0.0121, allocations: 3.953 kB / 0.623 GB, free: 15.81 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005398/0.01264, allocations: 157.9 kB / 0.6232 GB, free: 15.65 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.01264, allocations: 0 / 0.6232 GB, free: 15.65 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.01265, allocations: 0 / 0.6232 GB, free: 15.65 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.125e-06/0.01265, allocations: 0 / 0.6232 GB, free: 15.65 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000205/0.01285, allocations: 133.2 kB / 0.6233 GB, free: 15.49 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.357e-06/0.01286, allocations: 4 kB / 0.6233 GB, free: 15.48 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001615/0.01302, allocations: 23.97 kB / 0.6233 GB, free: 15.46 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.01302, allocations: 0 / 0.6233 GB, free: 15.46 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.437e-05/0.01304, allocations: 4 kB / 0.6233 GB, free: 15.46 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.35e-06/0.01304, allocations: 11.98 kB / 0.6234 GB, free: 15.45 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.01304, allocations: 0 / 0.6234 GB, free: 15.45 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005259/0.01357, allocations: 239.3 kB / 0.6236 GB, free: 15.2 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 2.092e-05/0.01359, allocations: 11.88 kB / 0.6236 GB, free: 15.18 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.035e-05/0.01361, allocations: 0 / 0.6236 GB, free: 15.18 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001436/0.01375, allocations: 11.98 kB / 0.6236 GB, free: 15.17 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001089/0.01386, allocations: 27.91 kB / 0.6236 GB, free: 15.14 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.047e-05/0.01387, allocations: 8 kB / 0.6236 GB, free: 15.14 MB / 0.545 GB Notification: Performance of sorting global known variables: time 8.243e-05/0.01396, allocations: 95.27 kB / 0.6237 GB, free: 15.04 MB / 0.545 GB Notification: Performance of sort global known variables: time 9e-08/0.01396, allocations: 0 / 0.6237 GB, free: 15.04 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002421/0.0142, allocations: 12 kB / 0.6237 GB, free: 15.03 MB / 0.545 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 0.0001296/0.01433, allocations: 99.23 kB / 0.6238 GB, free: 14.93 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0004583/0.01479, allocations: 100.6 kB / 0.6239 GB, free: 14.83 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.01479, allocations: 0 / 0.6239 GB, free: 14.83 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002348/0.01502, allocations: 67.88 kB / 0.624 GB, free: 14.76 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003433/0.01537, allocations: 14.53 kB / 0.624 GB, free: 14.75 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000489/0.01585, allocations: 173.7 kB / 0.6242 GB, free: 14.55 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001006/0.01595, allocations: 79.33 kB / 0.6243 GB, free: 14.45 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 6.35e-05/0.01602, allocations: 12 kB / 0.6243 GB, free: 14.44 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.825e-05/0.01609, allocations: 16.48 kB / 0.6243 GB, free: 14.42 MB / 0.545 GB Notification: Performance of SimCode: time 1.002e-06/0.01609, allocations: 8 kB / 0.6243 GB, free: 14.41 MB / 0.545 GB Notification: Performance of Templates: time 0.005301/0.02139, allocations: 1.69 MB / 0.6259 GB, free: 12.76 MB / 0.545 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: 6.243439320474863] Failed to read output from testmodel.py, exit status != 0: 0.031594716012477875 0.048551315000000005 0.039600356 Calling exit ...