Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.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.0009223/0.0009223, 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.0009732/0.0009732, 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.016/1.016, allocations: 177.1 MB / 203.8 MB, free: 5.477 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.8347/0.8347, allocations: 154.9 MB / 415.1 MB, free: 228 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.Max,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Max") translateModel(IDEAS.Controls.OBC.CDL.Reals.Validation.Max,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Max") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.492e-06/1.492e-06, allocations: 0 / 480.5 MB, free: 6.426 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.344e-05/1.493e-05, allocations: 4.062 kB / 480.5 MB, free: 6.422 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Max): time 0.001425/0.00144, allocations: 0.7407 MB / 481.2 MB, free: 5.719 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.000809/0.002249, allocations: 0.8494 MB / 482.1 MB, free: 4.859 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.945e-05/0.002289, allocations: 4.625 kB / 482.1 MB, free: 4.855 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 2.629e-05/0.002315, allocations: 3.938 kB / 482.1 MB, free: 4.852 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 6.612e-05/0.002381, allocations: 4.672 kB / 482.1 MB, free: 4.852 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 9.31e-05/0.002474, allocations: 20.52 kB / 482.1 MB, free: 4.832 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 7.332e-05/0.002547, allocations: 42.97 kB / 482.1 MB, free: 4.797 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.38e-05/0.002621, allocations: 8.547 kB / 482.1 MB, free: 4.789 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.042e-05/0.002702, allocations: 22.95 kB / 482.2 MB, free: 4.77 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.273e-05/0.002744, allocations: 17.83 kB / 482.2 MB, free: 4.754 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.678e-05/0.002761, allocations: 4 kB / 482.2 MB, free: 4.75 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.296e-06/0.002769, allocations: 4 kB / 482.2 MB, free: 4.746 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 2.112e-05/0.002791, allocations: 14.34 kB / 482.2 MB, free: 4.734 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 2.262e-05/0.002813, allocations: 14.95 kB / 482.2 MB, free: 4.723 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 8.008e-05/0.002893, allocations: 35.3 kB / 482.3 MB, free: 4.691 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.944e-06/0.002895, allocations: 0 / 482.3 MB, free: 4.691 MB / 442.7 MB Notification: Performance of FrontEnd: time 4.81e-07/0.002896, allocations: 0 / 482.3 MB, free: 4.691 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.416e-06/0.002899, allocations: 0 / 482.3 MB, free: 4.691 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0002805/0.00318, allocations: 248.9 kB / 482.5 MB, free: 4.426 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.439e-05/0.003214, allocations: 8.031 kB / 482.5 MB, free: 4.418 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.051e-05/0.003244, allocations: 9.938 kB / 482.5 MB, free: 4.41 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.601e-05/0.00334, allocations: 114.6 kB / 482.6 MB, free: 4.273 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.456e-06/0.003349, allocations: 0.9062 kB / 482.6 MB, free: 4.273 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.338e-06/0.003358, allocations: 8.375 kB / 482.6 MB, free: 4.266 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001214/0.00348, allocations: 68.23 kB / 482.7 MB, free: 4.191 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.526e-06/0.003488, allocations: 192 / 482.7 MB, free: 4.191 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.268e-06/0.003498, allocations: 4.312 kB / 482.7 MB, free: 4.188 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.073e-06/0.003505, allocations: 1.031 kB / 482.7 MB, free: 4.188 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.37e-05/0.003528, allocations: 9.156 kB / 482.7 MB, free: 4.18 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002401/0.003768, allocations: 157.2 kB / 482.9 MB, free: 4.012 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.21e-05/0.00382, allocations: 18.58 kB / 482.9 MB, free: 3.984 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.687e-05/0.003837, allocations: 9.922 kB / 482.9 MB, free: 3.973 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.453e-05/0.003852, allocations: 3.938 kB / 482.9 MB, free: 3.969 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.309e-05/0.003875, allocations: 39.8 kB / 482.9 MB, free: 3.922 MB / 442.7 MB Notification: Performance of pre-optimization done (n=3): time 1.032e-06/0.003876, allocations: 0 / 482.9 MB, free: 3.922 MB / 442.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001138/0.00399, allocations: 45.69 kB / 483 MB, free: 3.871 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.2e-05/0.004022, allocations: 56.12 kB / 483 MB, free: 3.805 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.598e-05/0.004088, allocations: 111.3 kB / 483.2 MB, free: 3.684 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 8.967e-06/0.004097, allocations: 27.14 kB / 483.2 MB, free: 3.652 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.148e-05/0.004128, allocations: 92.12 kB / 483.3 MB, free: 3.559 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.904e-05/0.004147, allocations: 7.906 kB / 483.3 MB, free: 3.551 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.438e-05/0.004172, allocations: 13.72 kB / 483.3 MB, free: 3.531 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 8.305e-05/0.004255, allocations: 327.3 kB / 483.6 MB, free: 3.203 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.071e-05/0.004265, allocations: 4 kB / 483.6 MB, free: 3.199 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.027e-05/0.004276, allocations: 6.562 kB / 483.6 MB, free: 3.195 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.961e-05/0.004305, allocations: 16.84 kB / 483.6 MB, free: 3.176 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.004307, allocations: 0 / 483.6 MB, free: 3.176 MB / 442.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 4.731e-05/0.004354, allocations: 37.69 kB / 483.7 MB, free: 3.133 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.229e-05/0.004366, allocations: 8.688 kB / 483.7 MB, free: 3.125 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.579e-06/0.004371, allocations: 0 / 483.7 MB, free: 3.125 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.366e-05/0.004385, allocations: 4.594 kB / 483.7 MB, free: 3.121 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.198e-05/0.004457, allocations: 14.38 kB / 483.7 MB, free: 3.109 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.935e-06/0.00446, allocations: 0 / 483.7 MB, free: 3.109 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.254e-05/0.004482, allocations: 7.938 kB / 483.7 MB, free: 3.102 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.053e-06/0.004489, allocations: 4.594 kB / 483.7 MB, free: 3.098 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 (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 5.429e-05/0.004543, allocations: 110.4 kB / 483.8 MB, free: 2.98 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.309e-05/0.004557, allocations: 0 / 483.8 MB, free: 2.98 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.026e-05/0.004627, allocations: 50.3 kB / 483.9 MB, free: 2.926 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.425e-06/0.004629, allocations: 3.938 kB / 483.9 MB, free: 2.922 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.432e-06/0.004631, allocations: 4.625 kB / 483.9 MB, free: 2.918 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.004633, allocations: 0.625 kB / 483.9 MB, free: 2.918 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.61e-05/0.00471, allocations: 73.88 kB / 483.9 MB, free: 2.828 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.004711, allocations: 5.188 kB / 484 MB, free: 2.824 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.793e-05/0.004739, allocations: 12.61 kB / 484 MB, free: 2.812 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.42e-07/0.00474, allocations: 0 / 484 MB, free: 2.812 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.3e-06/0.004745, allocations: 4.938 kB / 484 MB, free: 2.809 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.004747, allocations: 4 kB / 484 MB, free: 2.805 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.004747, allocations: 0 / 484 MB, free: 2.805 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.84e-05/0.004816, allocations: 142.1 kB / 484.1 MB, free: 2.652 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.915e-06/0.004824, allocations: 3.953 kB / 484.1 MB, free: 2.648 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.065e-06/0.004832, allocations: 4 kB / 484.1 MB, free: 2.645 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.389e-05/0.004866, allocations: 7.984 kB / 484.1 MB, free: 2.637 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.31e-05/0.004899, allocations: 9.109 kB / 484.1 MB, free: 2.629 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.116e-06/0.004902, allocations: 3.938 kB / 484.1 MB, free: 2.625 MB / 442.7 MB Notification: Performance of sorting global known variables: time 1.287e-05/0.004915, allocations: 17.16 kB / 484.2 MB, free: 2.605 MB / 442.7 MB Notification: Performance of sort global known variables: time 4e-08/0.004915, allocations: 1.031 kB / 484.2 MB, free: 2.605 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0001126/0.005027, allocations: 4 kB / 484.2 MB, free: 2.602 MB / 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 (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 6.574e-05/0.005093, allocations: 74.73 kB / 484.2 MB, free: 2.523 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0003832/0.005476, allocations: 29.33 kB / 484.3 MB, free: 2.492 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.00548, allocations: 0 / 484.3 MB, free: 2.492 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 1.768e-05/0.005497, allocations: 8.859 kB / 484.3 MB, free: 2.48 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001492/0.005647, allocations: 13.27 kB / 484.3 MB, free: 2.469 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002046/0.005851, allocations: 126.5 kB / 484.4 MB, free: 2.32 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.288e-05/0.005884, allocations: 59.28 kB / 484.5 MB, free: 2.242 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 1.936e-05/0.005903, allocations: 9.594 kB / 484.5 MB, free: 2.234 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.908e-05/0.005952, allocations: 51.38 kB / 484.5 MB, free: 2.184 MB / 442.7 MB Notification: Performance of SimCode: time 5.01e-07/0.005953, allocations: 0 / 484.5 MB, free: 2.184 MB / 442.7 MB Notification: Performance of Templates: time 0.002126/0.008079, allocations: 0.6718 MB / 485.2 MB, free: 1.555 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Max.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Max.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Max.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Max.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Max.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Max -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Max.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.6794476439245045]