Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.001758/0.001758, allocations: 80.92 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.002195/0.002195, allocations: 159.4 kB / 22.46 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.537/1.537, allocations: 177.1 MB / 202.8 MB, free: 9.148 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.277/1.277, 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.Min,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_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_IDEAS.Controls.OBC.CDL.Integers.Validation.Min") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.345e-06/2.345e-06, allocations: 0 / 0.6186 GB, free: 4.52 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.557e-05/3.791e-05, allocations: 2.875 kB / 0.6186 GB, free: 4.516 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Validation.Min): time 0.001947/0.001985, allocations: 0.7538 MB / 0.6193 GB, free: 3.781 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001344/0.003329, allocations: 0.8821 MB / 0.6202 GB, free: 2.887 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.972e-05/0.003379, allocations: 0.9062 kB / 0.6202 GB, free: 2.887 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 3.809e-05/0.003417, allocations: 7.922 kB / 0.6202 GB, free: 2.879 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0001011/0.003518, allocations: 15.88 kB / 0.6202 GB, free: 2.863 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.000258/0.003776, allocations: 47.81 kB / 0.6203 GB, free: 2.816 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001451/0.003921, allocations: 83.81 kB / 0.6203 GB, free: 2.734 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001133/0.004035, allocations: 15.98 kB / 0.6204 GB, free: 2.719 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001245/0.004159, allocations: 51.89 kB / 0.6204 GB, free: 2.668 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002021/0.004361, allocations: 39.89 kB / 0.6204 GB, free: 2.629 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 3.377e-05/0.004395, allocations: 11.94 kB / 0.6204 GB, free: 2.617 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 2.255e-05/0.004418, allocations: 8 kB / 0.6205 GB, free: 2.609 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 4.452e-05/0.004462, allocations: 19.91 kB / 0.6205 GB, free: 2.59 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 4.862e-05/0.004511, allocations: 23.92 kB / 0.6205 GB, free: 2.566 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001509/0.004662, allocations: 99.69 kB / 0.6206 GB, free: 2.469 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 2.154e-06/0.004664, allocations: 4 kB / 0.6206 GB, free: 2.465 MB / 0.5294 GB Notification: Performance of FrontEnd: time 6.92e-07/0.004664, allocations: 0 / 0.6206 GB, free: 2.465 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 3.968e-06/0.004668, allocations: 3.938 kB / 0.6206 GB, free: 2.461 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.0007576/0.005426, allocations: 322 kB / 0.6209 GB, free: 2.117 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.232e-05/0.005468, allocations: 8.031 kB / 0.6209 GB, free: 2.109 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.288e-05/0.005511, allocations: 8.891 kB / 0.6209 GB, free: 2.102 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001483/0.00566, allocations: 117.3 kB / 0.621 GB, free: 1.965 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.338e-05/0.005683, allocations: 8.375 kB / 0.621 GB, free: 1.957 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.686e-05/0.0057, allocations: 8.375 kB / 0.6211 GB, free: 1.949 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003462/0.006046, allocations: 106.2 kB / 0.6212 GB, free: 1.84 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.477e-05/0.006061, allocations: 3.938 kB / 0.6212 GB, free: 1.836 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.585e-05/0.006077, allocations: 4 kB / 0.6212 GB, free: 1.832 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.693e-06/0.006083, allocations: 4 kB / 0.6212 GB, free: 1.828 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003786/0.006462, allocations: 95.84 kB / 0.6213 GB, free: 1.734 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005251/0.006987, allocations: 272.3 kB / 0.6215 GB, free: 1.438 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006405/0.007628, allocations: 122.5 kB / 0.6216 GB, free: 1.309 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002079/0.007835, allocations: 52.88 kB / 0.6217 GB, free: 1.254 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.366e-05/0.007859, allocations: 0 / 0.6217 GB, free: 1.254 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.689e-05/0.007896, allocations: 34.56 kB / 0.6217 GB, free: 1.211 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=7): time 9.22e-07/0.007897, allocations: 4 kB / 0.6217 GB, free: 1.207 MB / 0.5294 GB Notification: Performance of matching and sorting (n=7): time 0.0007037/0.008601, allocations: 193.4 kB / 0.6219 GB, free: 1.012 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.912e-05/0.00866, allocations: 59.34 kB / 0.622 GB, free: 0.9414 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001078/0.008767, allocations: 121.8 kB / 0.6221 GB, free: 0.8125 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.037e-05/0.008788, allocations: 25.7 kB / 0.6221 GB, free: 0.7812 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 6.383e-05/0.008852, allocations: 88.09 kB / 0.6222 GB, free: 0.6914 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 3.022e-05/0.008882, allocations: 31.78 kB / 0.6222 GB, free: 0.6602 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.328e-05/0.008935, allocations: 21.72 kB / 0.6222 GB, free: 0.6328 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001476/0.009083, allocations: 322.8 kB / 0.6225 GB, free: 316 kB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002058/0.009289, allocations: 43.95 kB / 0.6226 GB, free: 272 kB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001763/0.009465, allocations: 43.95 kB / 0.6226 GB, free: 228 kB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003652/0.00983, allocations: 104.8 kB / 0.6227 GB, free: 120 kB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.502e-06/0.009832, allocations: 0 / 0.6227 GB, free: 120 kB / 0.5294 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004436/0.01028, allocations: 133.6 kB / 0.6229 GB, free: 15.98 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.393e-05/0.01029, allocations: 7.938 kB / 0.6229 GB, free: 15.97 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.01029, allocations: 0 / 0.6229 GB, free: 15.97 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.547e-05/0.01031, allocations: 0 / 0.6229 GB, free: 15.97 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001704/0.01048, allocations: 27.97 kB / 0.6229 GB, free: 15.94 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.122e-05/0.01049, allocations: 7.922 kB / 0.6229 GB, free: 15.93 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001139/0.0106, allocations: 11.98 kB / 0.6229 GB, free: 15.92 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.376e-05/0.01062, allocations: 4 kB / 0.6229 GB, free: 15.92 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,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.000118/0.01074, allocations: 119.6 kB / 0.623 GB, free: 15.79 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.39e-05/0.01077, allocations: 7.953 kB / 0.623 GB, free: 15.79 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004974/0.01127, allocations: 161.8 kB / 0.6232 GB, free: 15.62 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.484e-06/0.01127, allocations: 0 / 0.6232 GB, free: 15.62 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.01127, allocations: 0 / 0.6232 GB, free: 15.62 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.252e-06/0.01128, allocations: 4 kB / 0.6232 GB, free: 15.62 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002002/0.01148, allocations: 133.2 kB / 0.6233 GB, free: 15.46 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.01148, allocations: 0 / 0.6233 GB, free: 15.46 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001666/0.01165, allocations: 27.97 kB / 0.6233 GB, free: 15.43 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.056e-06/0.01165, allocations: 3.938 kB / 0.6234 GB, free: 15.43 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.089e-05/0.01166, allocations: 4 kB / 0.6234 GB, free: 15.42 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.01166, allocations: 0 / 0.6234 GB, free: 15.42 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.01167, allocations: 0 / 0.6234 GB, free: 15.42 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005028/0.01217, allocations: 239.3 kB / 0.6236 GB, free: 15.17 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 1.915e-05/0.01219, allocations: 11.88 kB / 0.6236 GB, free: 15.16 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.253e-05/0.01221, allocations: 4 kB / 0.6236 GB, free: 15.16 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001425/0.01235, allocations: 11.98 kB / 0.6236 GB, free: 15.14 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.286e-05/0.01244, allocations: 31.91 kB / 0.6236 GB, free: 15.11 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.316e-06/0.01245, allocations: 0 / 0.6236 GB, free: 15.11 MB / 0.545 GB Notification: Performance of sorting global known variables: time 6.404e-05/0.01252, allocations: 95.27 kB / 0.6237 GB, free: 15.02 MB / 0.545 GB Notification: Performance of sort global known variables: time 9e-08/0.01252, allocations: 0 / 0.6237 GB, free: 15.02 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002375/0.01275, allocations: 16 kB / 0.6237 GB, free: 15 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 (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.0001277/0.01288, allocations: 91.25 kB / 0.6238 GB, free: 14.91 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0004702/0.01335, allocations: 104.6 kB / 0.6239 GB, free: 14.8 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.01335, allocations: 4 kB / 0.6239 GB, free: 14.8 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002199/0.01357, allocations: 63.88 kB / 0.624 GB, free: 14.74 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003286/0.0139, allocations: 14.12 kB / 0.624 GB, free: 14.73 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004809/0.01438, allocations: 169.8 kB / 0.6242 GB, free: 14.53 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.391e-05/0.01448, allocations: 79.33 kB / 0.6242 GB, free: 14.43 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 8.037e-05/0.01456, allocations: 11.98 kB / 0.6243 GB, free: 14.42 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.215e-05/0.01463, allocations: 28.48 kB / 0.6243 GB, free: 14.39 MB / 0.545 GB Notification: Performance of SimCode: time 5.01e-07/0.01463, allocations: 0 / 0.6243 GB, free: 14.39 MB / 0.545 GB Notification: Performance of Templates: time 0.004784/0.01942, allocations: 1.692 MB / 0.6259 GB, free: 12.74 MB / 0.545 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.Min.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.Min.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.Min.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.Min.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.Min.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.Min -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.Min.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.300063982605934] Failed to read output from testmodel.py, exit status != 0: 0.028663329780101776 0.043217991000000004 0.03548631 Calling exit ...