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.001334/0.001334, 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.001455/0.001455, allocations: 159.3 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.479/1.479, allocations: 177.1 MB / 202.8 MB, free: 9.152 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.216/1.216, allocations: 154.6 MB / 413.7 MB, free: 5.293 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: Performance of FrontEnd - loaded program: time 2.004e-06/2.004e-06, allocations: 0 / 0.6185 GB, free: 4.621 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.087e-05/3.287e-05, allocations: 9.125 kB / 0.6185 GB, free: 4.613 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Validation.Min): time 0.001909/0.001942, allocations: 0.742 MB / 0.6193 GB, free: 3.887 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001355/0.003297, allocations: 0.8905 MB / 0.6201 GB, free: 2.984 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.786e-05/0.003355, allocations: 6.406 kB / 0.6201 GB, free: 2.98 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 3.443e-05/0.00339, allocations: 3.938 kB / 0.6201 GB, free: 2.977 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 9.799e-05/0.003488, allocations: 15.86 kB / 0.6201 GB, free: 2.961 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002074/0.003695, allocations: 43.83 kB / 0.6202 GB, free: 2.918 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001377/0.003833, allocations: 87.75 kB / 0.6203 GB, free: 2.832 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001187/0.003952, allocations: 19.98 kB / 0.6203 GB, free: 2.812 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001194/0.004071, allocations: 55.88 kB / 0.6203 GB, free: 2.758 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 9.292e-05/0.004164, allocations: 35.95 kB / 0.6204 GB, free: 2.723 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 3.883e-05/0.004203, allocations: 8 kB / 0.6204 GB, free: 2.715 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 1.923e-05/0.004222, allocations: 8 kB / 0.6204 GB, free: 2.707 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 3.052e-05/0.004252, allocations: 23.84 kB / 0.6204 GB, free: 2.684 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 4.458e-05/0.004297, allocations: 23.92 kB / 0.6204 GB, free: 2.66 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001574/0.004454, allocations: 95.7 kB / 0.6205 GB, free: 2.566 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 2.826e-06/0.004457, allocations: 0 / 0.6205 GB, free: 2.566 MB / 0.5294 GB Notification: Performance of FrontEnd: time 5.31e-07/0.004458, allocations: 4 kB / 0.6205 GB, free: 2.562 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.148e-06/0.004462, allocations: 0 / 0.6205 GB, free: 2.562 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.0006814/0.005143, allocations: 318 kB / 0.6208 GB, free: 2.223 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.141e-05/0.005185, allocations: 9.469 kB / 0.6208 GB, free: 2.215 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.793e-05/0.005233, allocations: 8.891 kB / 0.6209 GB, free: 2.207 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001637/0.005396, allocations: 125.6 kB / 0.621 GB, free: 2.059 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.256e-05/0.005419, allocations: 8.375 kB / 0.621 GB, free: 2.051 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.922e-05/0.005438, allocations: 8.375 kB / 0.621 GB, free: 2.043 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003427/0.005781, allocations: 102.2 kB / 0.6211 GB, free: 1.938 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.228e-05/0.005793, allocations: 11.88 kB / 0.6211 GB, free: 1.926 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.371e-05/0.005807, allocations: 0 / 0.6211 GB, free: 1.926 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.058e-06/0.005811, allocations: 0 / 0.6211 GB, free: 1.926 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004046/0.006215, allocations: 99.89 kB / 0.6212 GB, free: 1.828 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005567/0.006772, allocations: 276.3 kB / 0.6215 GB, free: 1.527 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006809/0.007453, allocations: 118.5 kB / 0.6216 GB, free: 1.402 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002134/0.007666, allocations: 52.81 kB / 0.6216 GB, free: 1.348 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.883e-05/0.007695, allocations: 7.984 kB / 0.6216 GB, free: 1.34 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.746e-05/0.007733, allocations: 30.56 kB / 0.6217 GB, free: 1.301 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=7): time 1.172e-06/0.007734, allocations: 0 / 0.6217 GB, free: 1.301 MB / 0.5294 GB Notification: Performance of matching and sorting (n=7): time 0.000742/0.008476, allocations: 185.5 kB / 0.6218 GB, free: 1.113 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.817e-05/0.008544, allocations: 55.39 kB / 0.6219 GB, free: 1.047 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000128/0.008672, allocations: 117.8 kB / 0.622 GB, free: 0.9219 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.789e-05/0.0087, allocations: 29.7 kB / 0.622 GB, free: 0.8867 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 7.361e-05/0.008774, allocations: 96.08 kB / 0.6221 GB, free: 0.7891 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 3.22e-05/0.008806, allocations: 19.8 kB / 0.6221 GB, free: 0.7695 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.604e-05/0.008862, allocations: 25.7 kB / 0.6222 GB, free: 0.7383 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001562/0.009018, allocations: 322.7 kB / 0.6225 GB, free: 424 kB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002152/0.009233, allocations: 47.95 kB / 0.6225 GB, free: 376 kB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001954/0.009429, allocations: 52.23 kB / 0.6226 GB, free: 324 kB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004017/0.00983, allocations: 96.78 kB / 0.6227 GB, free: 224 kB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.009833, allocations: 0 / 0.6227 GB, free: 224 kB / 0.5294 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004792/0.01031, allocations: 141.5 kB / 0.6228 GB, free: 76 kB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.442e-05/0.01033, allocations: 4 kB / 0.6228 GB, free: 72 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.048e-06/0.01033, allocations: 0 / 0.6228 GB, free: 72 kB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.631e-05/0.01035, allocations: 0 / 0.6228 GB, free: 72 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002007/0.01055, allocations: 27.91 kB / 0.6228 GB, free: 44 kB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.2e-06/0.01055, allocations: 0 / 0.6228 GB, free: 44 kB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001247/0.01068, allocations: 15.92 kB / 0.6228 GB, free: 28 kB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.401e-05/0.01069, allocations: 15.92 kB / 0.6229 GB, free: 12 kB / 0.5294 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.0001268/0.01082, allocations: 122.8 kB / 0.623 GB, free: 15.88 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.36e-05/0.01085, allocations: 3.953 kB / 0.623 GB, free: 15.88 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005262/0.01138, allocations: 150 kB / 0.6231 GB, free: 15.72 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.01138, allocations: 0 / 0.6231 GB, free: 15.72 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.037e-06/0.01138, allocations: 0 / 0.6231 GB, free: 15.72 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.01139, allocations: 4 kB / 0.6231 GB, free: 15.72 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001962/0.01158, allocations: 137.2 kB / 0.6233 GB, free: 15.55 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.01158, allocations: 4 kB / 0.6233 GB, free: 15.55 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001717/0.01176, allocations: 27.91 kB / 0.6233 GB, free: 15.52 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.883e-06/0.01176, allocations: 0 / 0.6233 GB, free: 15.52 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.753e-05/0.01178, allocations: 3.984 kB / 0.6233 GB, free: 15.52 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-06/0.01178, allocations: 0 / 0.6233 GB, free: 15.52 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.01178, allocations: 0 / 0.6233 GB, free: 15.52 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005292/0.01231, allocations: 243.3 kB / 0.6235 GB, free: 15.27 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 1.645e-05/0.01232, allocations: 7.891 kB / 0.6235 GB, free: 15.26 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.398e-05/0.01235, allocations: 4 kB / 0.6235 GB, free: 15.25 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000153/0.0125, allocations: 11.98 kB / 0.6235 GB, free: 15.24 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.594e-05/0.0126, allocations: 23.97 kB / 0.6236 GB, free: 15.22 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.101e-05/0.01261, allocations: 3.984 kB / 0.6236 GB, free: 15.21 MB / 0.545 GB Notification: Performance of sorting global known variables: time 7.03e-05/0.01268, allocations: 98.66 kB / 0.6237 GB, free: 15.12 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.01268, allocations: 0 / 0.6237 GB, free: 15.12 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002476/0.01293, allocations: 20 kB / 0.6237 GB, free: 15.1 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.0001317/0.01306, allocations: 95.19 kB / 0.6238 GB, free: 15 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0004828/0.01354, allocations: 99.91 kB / 0.6239 GB, free: 14.9 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.654e-06/0.01354, allocations: 0 / 0.6239 GB, free: 14.9 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002317/0.01377, allocations: 67.88 kB / 0.6239 GB, free: 14.84 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003548/0.01413, allocations: 14.12 kB / 0.6239 GB, free: 14.82 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005174/0.01465, allocations: 170.1 kB / 0.6241 GB, free: 14.62 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.87e-05/0.01472, allocations: 75.33 kB / 0.6242 GB, free: 14.53 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 7.489e-05/0.0148, allocations: 12 kB / 0.6242 GB, free: 14.52 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.827e-05/0.01488, allocations: 24.48 kB / 0.6242 GB, free: 14.5 MB / 0.545 GB Notification: Performance of SimCode: time 4.21e-07/0.01488, allocations: 3.938 kB / 0.6242 GB, free: 14.49 MB / 0.545 GB Notification: Performance of Templates: time 0.005182/0.02006, allocations: 1.698 MB / 0.6259 GB, free: 12.83 MB / 0.545 GB " [Timeout remaining time 660] 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: 5.8601791225373745] Failed to read output from testmodel.py, exit status != 0: 0.028845403343439102 0.044397945 0.036764888 Calling exit ...