Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.MultiMax.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.0009071/0.0009071, allocations: 80.75 kB / 19.94 MB, free: 4.547 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.001134/0.001134, allocations: 181 kB / 23.36 MB, free: 1.133 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 1.024/1.024, allocations: 177.1 MB / 203.8 MB, free: 5.48 MB / 186.7 MB " [Timeout remaining time 179] 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-535:34: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-535:42: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 0.7812/0.7812, allocations: 154.9 MB / 415.1 MB, free: 248 kB / 378.7 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 179] 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.MultiMax,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.MultiMax") translateModel(IDEAS.Controls.OBC.CDL.Reals.Validation.MultiMax,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.MultiMax") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.415e-06/2.415e-06, allocations: 0 / 480.4 MB, free: 6.48 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.459e-05/3.7e-05, allocations: 4.922 kB / 480.4 MB, free: 6.477 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.MultiMax): time 0.001418/0.001455, allocations: 0.6513 MB / 481.1 MB, free: 5.855 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001502/0.001605, allocations: 19.92 kB / 481.1 MB, free: 5.836 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.867e-05/0.001644, allocations: 0.875 kB / 481.1 MB, free: 5.836 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000111/0.001755, allocations: 5.031 kB / 481.1 MB, free: 5.832 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 3.853e-05/0.001794, allocations: 1.281 kB / 481.1 MB, free: 5.832 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 6.759e-05/0.001861, allocations: 4 kB / 481.1 MB, free: 5.828 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 7.511e-05/0.001936, allocations: 24.58 kB / 481.1 MB, free: 5.809 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001064/0.002043, allocations: 20.97 kB / 481.2 MB, free: 5.789 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.549e-05/0.002078, allocations: 23.23 kB / 481.2 MB, free: 5.77 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.026e-05/0.002108, allocations: 16.75 kB / 481.2 MB, free: 5.754 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.899e-05/0.002127, allocations: 0.625 kB / 481.2 MB, free: 5.754 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.1e-05/0.002138, allocations: 6.219 kB / 481.2 MB, free: 5.75 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 3.027e-05/0.002169, allocations: 9.625 kB / 481.2 MB, free: 5.742 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 2.324e-05/0.002192, allocations: 13.84 kB / 481.2 MB, free: 5.73 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 8.491e-05/0.002277, allocations: 32.17 kB / 481.3 MB, free: 5.703 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.784e-06/0.002279, allocations: 0.625 kB / 481.3 MB, free: 5.703 MB / 442.7 MB Notification: Performance of FrontEnd: time 6.91e-07/0.002279, allocations: 0 / 481.3 MB, free: 5.703 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.456e-06/0.002283, allocations: 1.5 kB / 481.3 MB, free: 5.703 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0002256/0.002508, allocations: 253 kB / 481.5 MB, free: 5.434 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.098e-05/0.002539, allocations: 8.031 kB / 481.5 MB, free: 5.426 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.265e-05/0.002562, allocations: 16.88 kB / 481.5 MB, free: 5.41 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001082/0.00267, allocations: 118.7 kB / 481.6 MB, free: 5.27 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.248e-05/0.002683, allocations: 9.031 kB / 481.7 MB, free: 5.262 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.161e-05/0.002694, allocations: 7.141 kB / 481.7 MB, free: 5.258 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.965e-05/0.002784, allocations: 55.25 kB / 481.7 MB, free: 5.203 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.324e-06/0.002791, allocations: 192 / 481.7 MB, free: 5.203 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.314e-06/0.002798, allocations: 4.375 kB / 481.7 MB, free: 5.199 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.448e-06/0.002803, allocations: 4.203 kB / 481.7 MB, free: 5.199 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.409e-05/0.002827, allocations: 23.86 kB / 481.7 MB, free: 5.176 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002941/0.003121, allocations: 333.7 kB / 482.1 MB, free: 4.832 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.726e-05/0.003188, allocations: 177 kB / 482.2 MB, free: 4.648 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.496e-05/0.003213, allocations: 80.14 kB / 482.3 MB, free: 4.566 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.712e-05/0.00323, allocations: 75.28 kB / 482.4 MB, free: 4.492 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.309e-05/0.003264, allocations: 109.8 kB / 482.5 MB, free: 4.375 MB / 442.7 MB Notification: Performance of pre-optimization done (n=0): time 9.42e-07/0.003264, allocations: 0 / 482.5 MB, free: 4.375 MB / 442.7 MB Notification: Performance of matching and sorting (n=0): time 4.243e-05/0.003307, allocations: 26.33 kB / 482.5 MB, free: 4.344 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.081e-05/0.003358, allocations: 130.6 kB / 482.7 MB, free: 4.203 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.887e-05/0.003437, allocations: 124.3 kB / 482.8 MB, free: 4.07 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 9.137e-06/0.003446, allocations: 25.7 kB / 482.8 MB, free: 4.039 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.542e-05/0.003491, allocations: 100.9 kB / 482.9 MB, free: 3.938 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.593e-06/0.003493, allocations: 0 / 482.9 MB, free: 3.938 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.175e-05/0.003514, allocations: 14.62 kB / 482.9 MB, free: 3.918 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 8.792e-05/0.003602, allocations: 318.8 kB / 483.2 MB, free: 3.598 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.506e-06/0.003611, allocations: 0.6562 kB / 483.2 MB, free: 3.598 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.703e-06/0.003618, allocations: 4.625 kB / 483.2 MB, free: 3.594 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.538e-05/0.003643, allocations: 5.484 kB / 483.2 MB, free: 3.586 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.003646, allocations: 4.562 kB / 483.2 MB, free: 3.582 MB / 442.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.956e-05/0.003705, allocations: 42.25 kB / 483.3 MB, free: 3.535 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.064e-05/0.003716, allocations: 4 kB / 483.3 MB, free: 3.531 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.366e-06/0.003719, allocations: 1.469 kB / 483.3 MB, free: 3.531 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.007e-06/0.003728, allocations: 0.5 kB / 483.3 MB, free: 3.531 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.635e-05/0.003765, allocations: 4 kB / 483.3 MB, free: 3.527 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.104e-06/0.003767, allocations: 0.5938 kB / 483.3 MB, free: 3.527 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.248e-05/0.003779, allocations: 4.812 kB / 483.3 MB, free: 3.523 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.562e-06/0.003786, allocations: 0 / 483.3 MB, free: 3.523 MB / 442.7 MB 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 (1): * Single equations (assignments): 1 * 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.784e-05/0.003854, allocations: 189.7 kB / 483.5 MB, free: 3.328 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.489e-05/0.003898, allocations: 109 kB / 483.6 MB, free: 3.215 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.868e-05/0.003937, allocations: 113.3 kB / 483.7 MB, free: 3.098 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.154e-05/0.003979, allocations: 180.3 kB / 483.9 MB, free: 2.914 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.266e-05/0.004021, allocations: 180.9 kB / 484.1 MB, free: 2.73 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.901e-05/0.00406, allocations: 180.2 kB / 484.2 MB, free: 2.547 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004287/0.004489, allocations: 330.5 kB / 484.6 MB, free: 2.199 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.543e-05/0.004515, allocations: 104.9 kB / 484.7 MB, free: 2.09 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.441e-05/0.004539, allocations: 109 kB / 484.8 MB, free: 1.977 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.307e-05/0.004582, allocations: 188.9 kB / 484.9 MB, free: 1.785 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.877e-05/0.004621, allocations: 176.4 kB / 485.1 MB, free: 1.605 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.67e-05/0.004657, allocations: 185.1 kB / 485.3 MB, free: 1.418 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.818e-05/0.004696, allocations: 184.1 kB / 485.5 MB, free: 1.234 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.257e-05/0.004788, allocations: 312.8 kB / 485.8 MB, free: 0.9062 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.631e-05/0.004825, allocations: 112.9 kB / 485.9 MB, free: 0.7891 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.736e-05/0.004872, allocations: 184.3 kB / 486.1 MB, free: 0.6016 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.601e-05/0.004918, allocations: 109.5 kB / 486.2 MB, free: 500 kB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.205e-05/0.00496, allocations: 176.3 kB / 486.4 MB, free: 316 kB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.443e-05/0.004984, allocations: 109.8 kB / 486.5 MB, free: 200 kB / 442.7 MB Notification: Performance of sorting global known variables: time 2.358e-05/0.005008, allocations: 21.14 kB / 486.5 MB, free: 176 kB / 442.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005008, allocations: 1.156 kB / 486.5 MB, free: 176 kB / 442.7 MB Notification: Performance of remove unused functions: time 0.0001112/0.005119, allocations: 7.938 kB / 486.5 MB, free: 168 kB / 442.7 MB 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 (0): * Single equations (assignments): 0 * 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 9.254e-05/0.005212, allocations: 153.6 kB / 486.6 MB, free: 8 kB / 442.7 MB Notification: Performance of simCode: created initialization part: time 6.784e-05/0.00528, allocations: 8.906 kB / 486.7 MB, free: 15.99 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 3.417e-06/0.005283, allocations: 0 / 486.7 MB, free: 15.99 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 1.102e-06/0.005284, allocations: 0 / 486.7 MB, free: 15.99 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000288/0.005572, allocations: 460.8 kB / 487.1 MB, free: 15.54 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002213/0.005793, allocations: 217.8 kB / 487.3 MB, free: 15.3 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.368e-05/0.005827, allocations: 59.91 kB / 487.4 MB, free: 15.23 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 1.804e-05/0.005845, allocations: 4 kB / 487.4 MB, free: 15.22 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.502e-05/0.00588, allocations: 48.23 kB / 487.4 MB, free: 15.18 MB / 458.7 MB Notification: Performance of SimCode: time 5.71e-07/0.005881, allocations: 0 / 487.4 MB, free: 15.18 MB / 458.7 MB Notification: Performance of Templates: time 0.001602/0.007483, allocations: 331.3 kB / 487.7 MB, free: 14.87 MB / 458.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.MultiMax.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.MultiMax.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.MultiMax.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.MultiMax.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.MultiMax.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.MultiMax -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.MultiMax.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.493280816823244]