Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.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.0007619/0.0007619, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001116/0.001878, 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.0007249/0.0007249, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009785/0.001703, 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.014/1.014, allocations: 177.2 MB / 189.7 MB, free: 5.234 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08572/1.1, allocations: 53.67 MB / 243.4 MB, free: 15.5 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.761/0.761, allocations: 155.3 MB / 399.5 MB, free: 15.8 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.2675/1.029, allocations: 49.13 MB / 448.6 MB, free: 5.945 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.Sources.Validation.Sin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Sin") translateModel(IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Sin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Sin") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.713e-06/1.713e-06, allocations: 0 / 450 MB, free: 4.617 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.125e-05/2.296e-05, allocations: 5.719 kB / 450 MB, free: 4.613 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Sin): time 0.001509/0.001532, allocations: 0.6579 MB / 450.6 MB, free: 3.988 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007349/0.002267, allocations: 0.8746 MB / 451.5 MB, free: 3.105 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.98e-05/0.002287, allocations: 0 / 451.5 MB, free: 3.105 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 1.774e-05/0.002305, allocations: 4.812 kB / 451.5 MB, free: 3.102 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 2.535e-05/0.00233, allocations: 5.297 kB / 451.5 MB, free: 3.098 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 6.24e-05/0.002393, allocations: 9.25 kB / 451.5 MB, free: 3.09 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 6.228e-05/0.002455, allocations: 21.88 kB / 451.5 MB, free: 3.074 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.354e-05/0.002488, allocations: 0.7656 kB / 451.5 MB, free: 3.074 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000125/0.002613, allocations: 37.42 kB / 451.6 MB, free: 3.043 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.318e-05/0.002657, allocations: 1.281 kB / 451.6 MB, free: 3.043 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 1.242e-05/0.002669, allocations: 4.656 kB / 451.6 MB, free: 3.039 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.029e-05/0.002719, allocations: 4.594 kB / 451.6 MB, free: 3.035 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 1.129e-05/0.002731, allocations: 2.969 kB / 451.6 MB, free: 3.035 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 1.305e-05/0.002744, allocations: 5.094 kB / 451.6 MB, free: 3.031 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 8.458e-05/0.002828, allocations: 17.45 kB / 451.6 MB, free: 3.016 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.119e-05/0.002839, allocations: 4 kB / 451.6 MB, free: 3.012 MB / 426.7 MB Notification: Performance of FrontEnd: time 6.01e-07/0.00284, allocations: 0 / 451.6 MB, free: 3.012 MB / 426.7 MB Notification: Performance of Transformations before backend: time 7.755e-06/0.002848, allocations: 0 / 451.6 MB, free: 3.012 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002731/0.003121, allocations: 223.3 kB / 451.8 MB, free: 2.77 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.986e-05/0.003151, allocations: 13.31 kB / 451.9 MB, free: 2.758 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001342/0.003285, allocations: 86.69 kB / 451.9 MB, free: 2.656 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004099/0.007384, allocations: 113.7 kB / 452.1 MB, free: 2.52 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.357e-06/0.007394, allocations: 1.094 kB / 452.1 MB, free: 2.52 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.055e-06/0.007402, allocations: 1.078 kB / 452.1 MB, free: 2.52 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.36e-05/0.007485, allocations: 52.86 kB / 452.1 MB, free: 2.461 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.272e-06/0.007491, allocations: 192 / 452.1 MB, free: 2.461 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.631e-06/0.007497, allocations: 1.141 kB / 452.1 MB, free: 2.461 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.54e-06/0.007503, allocations: 384 / 452.1 MB, free: 2.461 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.179e-05/0.007514, allocations: 9.016 kB / 452.1 MB, free: 2.453 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.118e-05/0.007586, allocations: 61.03 kB / 452.2 MB, free: 2.379 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.23e-05/0.007618, allocations: 19.2 kB / 452.2 MB, free: 2.352 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.045e-05/0.007628, allocations: 6.484 kB / 452.2 MB, free: 2.344 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.193e-05/0.00764, allocations: 4.094 kB / 452.2 MB, free: 2.34 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.085e-05/0.007661, allocations: 35.16 kB / 452.2 MB, free: 2.297 MB / 426.7 MB Notification: Performance of pre-optimization done (n=1): time 1.413e-06/0.007663, allocations: 2.062 kB / 452.2 MB, free: 2.297 MB / 426.7 MB Notification: Performance of matching and sorting (n=1): time 8.62e-05/0.007749, allocations: 30.55 kB / 452.3 MB, free: 2.262 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.404e-05/0.007773, allocations: 51.41 kB / 452.3 MB, free: 2.199 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.632e-05/0.007829, allocations: 111.4 kB / 452.4 MB, free: 2.078 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.023e-05/0.007839, allocations: 26.52 kB / 452.5 MB, free: 2.047 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.895e-05/0.007858, allocations: 81.12 kB / 452.5 MB, free: 1.965 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.926e-05/0.007878, allocations: 0 / 452.5 MB, free: 1.965 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.673e-05/0.007904, allocations: 18.33 kB / 452.6 MB, free: 1.941 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.22e-05/0.007976, allocations: 320.3 kB / 452.9 MB, free: 1.621 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.175e-06/0.007985, allocations: 4 kB / 452.9 MB, free: 1.617 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.254e-06/0.007992, allocations: 3.938 kB / 452.9 MB, free: 1.613 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.244e-05/0.008014, allocations: 14.94 kB / 452.9 MB, free: 1.598 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.442e-06/0.008016, allocations: 0 / 452.9 MB, free: 1.598 MB / 426.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.147e-05/0.008057, allocations: 33.69 kB / 452.9 MB, free: 1.559 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.146e-05/0.008069, allocations: 4.547 kB / 452.9 MB, free: 1.555 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.757e-06/0.008072, allocations: 0 / 452.9 MB, free: 1.555 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.035e-05/0.008083, allocations: 0.9062 kB / 452.9 MB, free: 1.555 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.108e-05/0.008134, allocations: 4 kB / 452.9 MB, free: 1.551 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.134e-06/0.008136, allocations: 1.031 kB / 452.9 MB, free: 1.551 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.565e-05/0.008152, allocations: 4.547 kB / 452.9 MB, free: 1.547 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.232e-06/0.008158, allocations: 3.984 kB / 452.9 MB, free: 1.543 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 (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 4.566e-05/0.008204, allocations: 110.6 kB / 453 MB, free: 1.426 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.24e-06/0.008209, allocations: 3.938 kB / 453.1 MB, free: 1.422 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.145e-05/0.00823, allocations: 7.781 kB / 453.1 MB, free: 1.414 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.433e-06/0.008232, allocations: 1.719 kB / 453.1 MB, free: 1.414 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.232e-06/0.008233, allocations: 0 / 453.1 MB, free: 1.414 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.933e-06/0.008235, allocations: 0.625 kB / 453.1 MB, free: 1.414 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.582e-05/0.008291, allocations: 70.08 kB / 453.1 MB, free: 1.328 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.008293, allocations: 4.562 kB / 453.1 MB, free: 1.324 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.701e-05/0.00831, allocations: 4.562 kB / 453.1 MB, free: 1.32 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.453e-06/0.008316, allocations: 3.953 kB / 453.1 MB, free: 1.316 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.72e-07/0.008317, allocations: 0.5938 kB / 453.1 MB, free: 1.316 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.527e-06/0.008321, allocations: 0.8438 kB / 453.1 MB, free: 1.316 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.22e-07/0.008321, allocations: 0 / 453.1 MB, free: 1.316 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.008322, allocations: 0.7656 kB / 453.1 MB, free: 1.316 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.591e-05/0.008378, allocations: 66.31 kB / 453.2 MB, free: 1.234 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.334e-06/0.008385, allocations: 0 / 453.2 MB, free: 1.234 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.259e-05/0.008398, allocations: 4.688 kB / 453.2 MB, free: 1.23 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.995e-05/0.008418, allocations: 3.984 kB / 453.2 MB, free: 1.227 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.694e-06/0.00842, allocations: 4.844 kB / 453.2 MB, free: 1.223 MB / 426.7 MB Notification: Performance of sorting global known variables: time 1.329e-05/0.008433, allocations: 8.859 kB / 453.2 MB, free: 1.211 MB / 426.7 MB Notification: Performance of sort global known variables: time 7e-08/0.008433, allocations: 1.656 kB / 453.2 MB, free: 1.211 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.000129/0.008562, allocations: 4 kB / 453.2 MB, free: 1.207 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 (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 Backend phase and start with SimCode phase: time 8.173e-05/0.008644, allocations: 73.7 kB / 453.3 MB, free: 1.125 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 5.226e-05/0.008696, allocations: 19.34 kB / 453.3 MB, free: 1.105 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.0087, allocations: 0 / 453.3 MB, free: 1.105 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 1.835e-05/0.008718, allocations: 9.359 kB / 453.3 MB, free: 1.094 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 6.741e-05/0.008786, allocations: 13.31 kB / 453.3 MB, free: 1.082 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006754/0.009461, allocations: 122.2 kB / 453.5 MB, free: 0.9414 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.919e-05/0.00949, allocations: 59.97 kB / 453.5 MB, free: 0.8633 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 1.62e-05/0.009506, allocations: 0.75 kB / 453.5 MB, free: 0.8633 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.51e-05/0.009541, allocations: 51.38 kB / 453.6 MB, free: 0.8125 MB / 426.7 MB Notification: Performance of SimCode: time 5.82e-07/0.009542, allocations: 0.875 kB / 453.6 MB, free: 0.8125 MB / 426.7 MB Notification: Performance of Templates: time 0.004698/0.01424, allocations: 302.5 kB / 453.9 MB, free: 0.5312 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Sin.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Sin.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Sin.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Sin.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Sin.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Sin -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Sin.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.409660078585148]