Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Sin.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.0009849/0.0009849, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001161/0.002146, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.0007604/0.0007604, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001013/0.001774, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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.065/1.065, allocations: 177.2 MB / 189.7 MB, free: 5.23 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09891/1.164, allocations: 53.66 MB / 243.4 MB, free: 15.49 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-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 4.0.0-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 4.0.0-master/package.mo): time 0.8357/0.8357, allocations: 155.4 MB / 399.5 MB, free: 15.79 MB / 394.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-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 4.0.0-master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. Notification: Performance of NFInstanceAPI.mkTop(): time 0.2628/1.098, allocations: 49.13 MB / 448.6 MB, free: 5.902 MB / 426.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-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.Sin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Sin") translateModel(IDEAS.Controls.OBC.CDL.Reals.Validation.Sin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Sin") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.803e-06/1.803e-06, allocations: 0 / 450 MB, free: 4.535 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.153e-05/2.333e-05, allocations: 6.172 kB / 450 MB, free: 4.531 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Sin): time 0.002079/0.002102, allocations: 0.7157 MB / 450.7 MB, free: 3.848 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009603/0.003062, allocations: 0.8708 MB / 451.6 MB, free: 2.969 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.754e-05/0.00309, allocations: 4 kB / 451.6 MB, free: 2.965 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 2.486e-05/0.003115, allocations: 3.938 kB / 451.6 MB, free: 2.961 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 3.873e-05/0.003153, allocations: 1.312 kB / 451.6 MB, free: 2.961 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 9.281e-05/0.003246, allocations: 17.23 kB / 451.6 MB, free: 2.945 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 7.451e-05/0.003321, allocations: 25.88 kB / 451.7 MB, free: 2.926 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.684e-05/0.003398, allocations: 7.984 kB / 451.7 MB, free: 2.918 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.899e-05/0.003487, allocations: 17.17 kB / 451.7 MB, free: 2.906 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.393e-05/0.003531, allocations: 9.094 kB / 451.7 MB, free: 2.898 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 1.661e-05/0.003547, allocations: 4.625 kB / 451.7 MB, free: 2.895 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.019e-05/0.003607, allocations: 9.234 kB / 451.7 MB, free: 2.887 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 1.429e-05/0.003622, allocations: 0.6562 kB / 451.7 MB, free: 2.887 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 1.688e-05/0.003639, allocations: 10.97 kB / 451.7 MB, free: 2.879 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 9.698e-05/0.003736, allocations: 17.69 kB / 451.7 MB, free: 2.863 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.368e-05/0.003749, allocations: 4.859 kB / 451.7 MB, free: 2.859 MB / 426.7 MB Notification: Performance of FrontEnd: time 5.51e-07/0.00375, allocations: 0 / 451.7 MB, free: 2.859 MB / 426.7 MB Notification: Performance of Transformations before backend: time 8.997e-06/0.003759, allocations: 0 / 451.7 MB, free: 2.859 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.000353/0.004112, allocations: 235.7 kB / 452 MB, free: 2.605 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.588e-05/0.004148, allocations: 8.031 kB / 452 MB, free: 2.598 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000142/0.00429, allocations: 82.89 kB / 452.1 MB, free: 2.5 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001088/0.004398, allocations: 113.7 kB / 452.2 MB, free: 2.363 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.032e-05/0.004409, allocations: 1.031 kB / 452.2 MB, free: 2.363 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.255e-05/0.004421, allocations: 8.906 kB / 452.2 MB, free: 2.355 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001183/0.00454, allocations: 48.23 kB / 452.2 MB, free: 2.301 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.484e-06/0.004547, allocations: 192 / 452.2 MB, free: 2.301 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.073e-06/0.004554, allocations: 384 / 452.2 MB, free: 2.301 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.46e-06/0.00456, allocations: 5.094 kB / 452.2 MB, free: 2.297 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.378e-05/0.004583, allocations: 8.641 kB / 452.2 MB, free: 2.289 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002177/0.004801, allocations: 142.3 kB / 452.4 MB, free: 2.137 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.042e-05/0.004851, allocations: 30.56 kB / 452.4 MB, free: 2.098 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.373e-05/0.004865, allocations: 4.859 kB / 452.4 MB, free: 2.09 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.83e-05/0.004883, allocations: 4.031 kB / 452.4 MB, free: 2.086 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.626e-05/0.00491, allocations: 35.19 kB / 452.4 MB, free: 2.043 MB / 426.7 MB Notification: Performance of pre-optimization done (n=2): time 2.245e-06/0.004912, allocations: 0.8906 kB / 452.4 MB, free: 2.043 MB / 426.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001182/0.00503, allocations: 38.92 kB / 452.5 MB, free: 2 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.012e-05/0.00506, allocations: 56.97 kB / 452.5 MB, free: 1.934 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.314e-05/0.005123, allocations: 102.7 kB / 452.6 MB, free: 1.82 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.246e-05/0.005136, allocations: 25.7 kB / 452.7 MB, free: 1.789 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.472e-05/0.005171, allocations: 88.08 kB / 452.8 MB, free: 1.699 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.132e-05/0.005192, allocations: 13.38 kB / 452.8 MB, free: 1.688 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.739e-05/0.005219, allocations: 10.59 kB / 452.8 MB, free: 1.672 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001005/0.00532, allocations: 318.8 kB / 453.1 MB, free: 1.352 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.097e-05/0.005331, allocations: 0 / 453.1 MB, free: 1.352 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.014e-05/0.005341, allocations: 4.844 kB / 453.1 MB, free: 1.348 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.066e-05/0.005372, allocations: 13.48 kB / 453.1 MB, free: 1.332 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.205e-06/0.005374, allocations: 0 / 453.1 MB, free: 1.332 MB / 426.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.958e-05/0.005433, allocations: 38.5 kB / 453.1 MB, free: 1.289 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.585e-05/0.005449, allocations: 4.625 kB / 453.1 MB, free: 1.285 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.005454, allocations: 0.9844 kB / 453.2 MB, free: 1.285 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.287e-05/0.005467, allocations: 1.5 kB / 453.2 MB, free: 1.285 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001993/0.005666, allocations: 9.719 kB / 453.2 MB, free: 1.277 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.62e-06/0.005672, allocations: 0 / 453.2 MB, free: 1.277 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.024e-05/0.005712, allocations: 7.984 kB / 453.2 MB, free: 1.27 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.613e-06/0.005719, allocations: 2.094 kB / 453.2 MB, free: 1.27 MB / 426.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 (2): * Single equations (assignments): 2 * 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.569e-05/0.005804, allocations: 109.8 kB / 453.3 MB, free: 1.152 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.404e-05/0.005838, allocations: 4 kB / 453.3 MB, free: 1.148 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001093/0.005948, allocations: 40.94 kB / 453.3 MB, free: 1.102 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.424e-06/0.00595, allocations: 5.453 kB / 453.3 MB, free: 1.098 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.505e-06/0.005953, allocations: 3.938 kB / 453.3 MB, free: 1.094 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.005955, allocations: 0 / 453.3 MB, free: 1.094 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.866e-05/0.006044, allocations: 70.81 kB / 453.4 MB, free: 1.008 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.422e-06/0.006045, allocations: 0 / 453.4 MB, free: 1.008 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.597e-05/0.006071, allocations: 9.703 kB / 453.4 MB, free: 1 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.125e-06/0.006079, allocations: 4 kB / 453.4 MB, free: 0.9961 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.006082, allocations: 0 / 453.4 MB, free: 0.9961 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.138e-06/0.006086, allocations: 0.625 kB / 453.4 MB, free: 0.9961 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.82e-07/0.006087, allocations: 0 / 453.4 MB, free: 0.9961 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.796e-06/0.00609, allocations: 9.641 kB / 453.4 MB, free: 0.9883 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.836e-05/0.006168, allocations: 132.1 kB / 453.6 MB, free: 0.8438 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.636e-06/0.006177, allocations: 4 kB / 453.6 MB, free: 0.8398 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.947e-05/0.006236, allocations: 4.547 kB / 453.6 MB, free: 0.8359 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.709e-05/0.006264, allocations: 4.562 kB / 453.6 MB, free: 0.832 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.843e-06/0.006265, allocations: 0.5938 kB / 453.6 MB, free: 0.832 MB / 426.7 MB Notification: Performance of sorting global known variables: time 1.498e-05/0.00628, allocations: 9.359 kB / 453.6 MB, free: 0.8203 MB / 426.7 MB Notification: Performance of sort global known variables: time 5e-08/0.00628, allocations: 4.844 kB / 453.6 MB, free: 0.8164 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0001103/0.006391, allocations: 0 / 453.6 MB, free: 0.8164 MB / 426.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 (2): * Single equations (assignments): 2 * 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.0001047/0.006495, allocations: 83.03 kB / 453.7 MB, free: 0.7266 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 5.327e-05/0.006549, allocations: 10.31 kB / 453.7 MB, free: 0.7148 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 6.903e-06/0.006556, allocations: 8 kB / 453.7 MB, free: 0.707 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 1.732e-05/0.006573, allocations: 10.42 kB / 453.7 MB, free: 0.6953 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001556/0.006728, allocations: 35.89 kB / 453.7 MB, free: 0.6562 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000565/0.007294, allocations: 121.2 kB / 453.8 MB, free: 0.5156 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.451e-05/0.007328, allocations: 64.52 kB / 453.9 MB, free: 444 kB / 426.7 MB Notification: Performance of simCode: alias equations: time 1.858e-05/0.007347, allocations: 1.719 kB / 453.9 MB, free: 444 kB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.439e-05/0.007391, allocations: 55.89 kB / 454 MB, free: 388 kB / 426.7 MB Notification: Performance of SimCode: time 4.81e-07/0.007391, allocations: 0 / 454 MB, free: 388 kB / 426.7 MB Notification: Performance of Templates: time 0.001876/0.009268, allocations: 465.7 kB / 454.4 MB, free: 15.95 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Sin.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Sin.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Sin.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Sin.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Sin.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Sin -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Sin.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.743691691197455]