Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.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.001326/0.001326, allocations: 79.44 kB / 19.18 MB, free: 2.52 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.001487/0.001487, allocations: 167.2 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.432/1.432, allocations: 177.1 MB / 202.8 MB, free: 9.164 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.198/1.198, allocations: 154.5 MB / 413.7 MB, free: 5.285 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.Reals.Validation.Min,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Min") translateModel(IDEAS.Controls.OBC.CDL.Reals.Validation.Min,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Min") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.875e-06/2.875e-06, allocations: 0 / 0.6186 GB, free: 4.586 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.921e-05/3.208e-05, allocations: 6.312 kB / 0.6186 GB, free: 4.582 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Min): time 0.00171/0.001742, allocations: 0.689 MB / 0.6193 GB, free: 3.898 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.00113/0.002872, allocations: 0.8276 MB / 0.6201 GB, free: 3.059 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.012e-05/0.002912, allocations: 0 / 0.6201 GB, free: 3.059 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.836e-05/0.00294, allocations: 0 / 0.6201 GB, free: 3.059 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 6.316e-05/0.003004, allocations: 15.86 kB / 0.6201 GB, free: 3.043 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001128/0.003116, allocations: 15.92 kB / 0.6201 GB, free: 3.027 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001032/0.003219, allocations: 47.84 kB / 0.6201 GB, free: 2.98 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001217/0.003341, allocations: 11.98 kB / 0.6202 GB, free: 2.969 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 8.341e-05/0.003425, allocations: 15.98 kB / 0.6202 GB, free: 2.953 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 5.169e-05/0.003476, allocations: 23.92 kB / 0.6202 GB, free: 2.93 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 3.202e-05/0.003508, allocations: 4 kB / 0.6202 GB, free: 2.926 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 1.449e-05/0.003523, allocations: 4 kB / 0.6202 GB, free: 2.922 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 2.13e-05/0.003544, allocations: 7.984 kB / 0.6202 GB, free: 2.914 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.569e-05/0.00357, allocations: 8 kB / 0.6202 GB, free: 2.906 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001197/0.003689, allocations: 55.72 kB / 0.6203 GB, free: 2.852 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 2.364e-06/0.003692, allocations: 0 / 0.6203 GB, free: 2.852 MB / 0.5294 GB Notification: Performance of FrontEnd: time 6.91e-07/0.003693, allocations: 0 / 0.6203 GB, free: 2.852 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 9.237e-06/0.003702, allocations: 0 / 0.6203 GB, free: 2.852 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005702/0.004272, allocations: 286.2 kB / 0.6205 GB, free: 2.539 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.109e-05/0.004313, allocations: 13.47 kB / 0.6206 GB, free: 2.527 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.189e-05/0.004345, allocations: 4.891 kB / 0.6206 GB, free: 2.523 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001412/0.004486, allocations: 109.8 kB / 0.6207 GB, free: 2.391 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.216e-05/0.004498, allocations: 384 / 0.6207 GB, free: 2.391 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.984e-05/0.004518, allocations: 8.359 kB / 0.6207 GB, free: 2.383 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002654/0.004784, allocations: 66.22 kB / 0.6207 GB, free: 2.312 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.838e-06/0.004793, allocations: 192 / 0.6207 GB, free: 2.312 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.588e-06/0.004803, allocations: 384 / 0.6207 GB, free: 2.312 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.108e-06/0.004807, allocations: 4.375 kB / 0.6207 GB, free: 2.309 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003068/0.005114, allocations: 71.8 kB / 0.6208 GB, free: 2.238 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003803/0.005494, allocations: 208.6 kB / 0.621 GB, free: 2.004 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002294/0.005724, allocations: 50.53 kB / 0.6211 GB, free: 1.945 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000167/0.005891, allocations: 44.92 kB / 0.6211 GB, free: 1.898 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.384e-05/0.005914, allocations: 0 / 0.6211 GB, free: 1.898 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.694e-05/0.005941, allocations: 30.56 kB / 0.6211 GB, free: 1.859 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=3): time 9.22e-07/0.005942, allocations: 0 / 0.6211 GB, free: 1.859 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3): time 0.0005911/0.006533, allocations: 133.5 kB / 0.6213 GB, free: 1.723 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.036e-05/0.006584, allocations: 63.34 kB / 0.6213 GB, free: 1.648 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001086/0.006692, allocations: 109.8 kB / 0.6214 GB, free: 1.531 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.823e-05/0.006711, allocations: 25.7 kB / 0.6214 GB, free: 1.5 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 7.103e-05/0.006782, allocations: 92.08 kB / 0.6215 GB, free: 1.406 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.505e-05/0.006807, allocations: 11.89 kB / 0.6215 GB, free: 1.395 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.481e-05/0.006852, allocations: 21.7 kB / 0.6216 GB, free: 1.367 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001717/0.007023, allocations: 310.8 kB / 0.6219 GB, free: 1.055 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001629/0.007186, allocations: 35.95 kB / 0.6219 GB, free: 1.02 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001553/0.007341, allocations: 31.97 kB / 0.6219 GB, free: 0.9883 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002998/0.007641, allocations: 72.72 kB / 0.622 GB, free: 0.9141 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.007643, allocations: 0 / 0.622 GB, free: 0.9141 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003421/0.007985, allocations: 97.89 kB / 0.6221 GB, free: 0.8125 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.717e-05/0.008002, allocations: 11.94 kB / 0.6221 GB, free: 0.8008 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.384e-06/0.008009, allocations: 3.984 kB / 0.6221 GB, free: 0.7969 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.643e-05/0.008026, allocations: 0 / 0.6221 GB, free: 0.7969 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001322/0.008158, allocations: 15.98 kB / 0.6221 GB, free: 0.7812 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.923e-06/0.008165, allocations: 3.984 kB / 0.6221 GB, free: 0.7773 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.11e-05/0.008256, allocations: 15.98 kB / 0.6221 GB, free: 0.7617 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.424e-06/0.008264, allocations: 0 / 0.6221 GB, free: 0.7617 MB / 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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 8.617e-05/0.00835, allocations: 110.8 kB / 0.6222 GB, free: 0.6445 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.58e-05/0.008376, allocations: 7.953 kB / 0.6223 GB, free: 0.6367 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003941/0.00877, allocations: 113.5 kB / 0.6224 GB, free: 0.5078 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.864e-06/0.008772, allocations: 0 / 0.6224 GB, free: 0.5078 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.009e-06/0.008777, allocations: 0 / 0.6224 GB, free: 0.5078 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.515e-06/0.008779, allocations: 0 / 0.6224 GB, free: 0.5078 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001434/0.008922, allocations: 109.3 kB / 0.6225 GB, free: 380 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.32e-07/0.008923, allocations: 0 / 0.6225 GB, free: 380 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001067/0.00903, allocations: 27.97 kB / 0.6225 GB, free: 352 kB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.009032, allocations: 0 / 0.6225 GB, free: 352 kB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.069e-05/0.009042, allocations: 4 kB / 0.6225 GB, free: 348 kB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.218e-06/0.009047, allocations: 3.938 kB / 0.6225 GB, free: 344 kB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.009048, allocations: 0 / 0.6225 GB, free: 344 kB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004206/0.009468, allocations: 199.4 kB / 0.6227 GB, free: 128 kB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 9.397e-06/0.009478, allocations: 4 kB / 0.6227 GB, free: 124 kB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.51e-05/0.009493, allocations: 7.984 kB / 0.6227 GB, free: 116 kB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001141/0.009607, allocations: 15.92 kB / 0.6227 GB, free: 100 kB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.956e-05/0.009656, allocations: 11.94 kB / 0.6227 GB, free: 88 kB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.198e-06/0.009661, allocations: 0 / 0.6227 GB, free: 88 kB / 0.5294 GB Notification: Performance of sorting global known variables: time 5.463e-05/0.009715, allocations: 87.27 kB / 0.6228 GB, free: 0 / 0.5294 GB Notification: Performance of sort global known variables: time 9.1e-08/0.009715, allocations: 0 / 0.6228 GB, free: 0 / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002457/0.009961, allocations: 8.047 kB / 0.6228 GB, free: 15.99 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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.0001385/0.0101, allocations: 91.25 kB / 0.6229 GB, free: 15.89 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0003727/0.01047, allocations: 71.88 kB / 0.623 GB, free: 15.82 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.01047, allocations: 0 / 0.623 GB, free: 15.82 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001638/0.01064, allocations: 39.89 kB / 0.623 GB, free: 15.79 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000324/0.01096, allocations: 4 kB / 0.623 GB, free: 15.78 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003616/0.01132, allocations: 124.7 kB / 0.6231 GB, free: 15.63 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.139e-05/0.0114, allocations: 67.34 kB / 0.6232 GB, free: 15.55 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 2.847e-05/0.01142, allocations: 4 kB / 0.6232 GB, free: 15.54 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.561e-05/0.01146, allocations: 12.44 kB / 0.6232 GB, free: 15.53 MB / 0.545 GB Notification: Performance of SimCode: time 3.2e-07/0.01146, allocations: 0 / 0.6232 GB, free: 15.53 MB / 0.545 GB Notification: Performance of Templates: time 0.003361/0.01482, allocations: 0.725 MB / 0.6239 GB, free: 14.82 MB / 0.545 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Min.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Min.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Min.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Min.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Min.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Min -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Min.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.720981042832136] Failed to read output from testmodel.py, exit status != 0: 0.023840390145778656 0.038535318 0.031759149 Calling exit ...