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.0007204/0.0007204, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009286/0.001649, allocations: 435.8 kB / 10.33 MB, free: 368 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.0007634/0.0007634, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009058/0.001669, allocations: 463.6 kB / 11.68 MB, free: 2.484 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 0.9635/0.9635, allocations: 177.1 MB / 189.6 MB, free: 5.328 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09281/1.056, allocations: 53.66 MB / 243.2 MB, free: 15.6 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.835/0.835, allocations: 155.3 MB / 399.2 MB, free: 15.91 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.2929/1.128, allocations: 49.13 MB / 448.4 MB, free: 6 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.603e-06/1.603e-06, allocations: 0 / 449.7 MB, free: 4.695 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.598e-06/1.12e-05, allocations: 2.812 kB / 449.7 MB, free: 4.691 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Sin): time 0.0009753/0.0009865, allocations: 0.651 MB / 450.4 MB, free: 4.07 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.000772/0.001758, allocations: 0.8731 MB / 451.2 MB, free: 3.188 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.476e-05/0.001783, allocations: 1.281 kB / 451.2 MB, free: 3.188 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 2.237e-05/0.001806, allocations: 0 / 451.2 MB, free: 3.188 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 2.909e-05/0.001835, allocations: 2.516 kB / 451.2 MB, free: 3.188 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 8.336e-05/0.001918, allocations: 16.56 kB / 451.3 MB, free: 3.172 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 7.582e-05/0.001994, allocations: 21.45 kB / 451.3 MB, free: 3.156 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.447e-05/0.002038, allocations: 1.969 kB / 451.3 MB, free: 3.156 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001686/0.002207, allocations: 29.25 kB / 451.3 MB, free: 3.133 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.408e-05/0.002261, allocations: 5.625 kB / 451.3 MB, free: 3.129 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 1.252e-05/0.002274, allocations: 4 kB / 451.3 MB, free: 3.125 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.98e-05/0.002333, allocations: 8.562 kB / 451.3 MB, free: 3.117 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 9.849e-06/0.002343, allocations: 1.203 kB / 451.3 MB, free: 3.117 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 1.381e-05/0.002357, allocations: 5.5 kB / 451.3 MB, free: 3.113 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 8.772e-05/0.002445, allocations: 13.58 kB / 451.3 MB, free: 3.102 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.371e-05/0.002458, allocations: 1.656 kB / 451.3 MB, free: 3.102 MB / 426.7 MB Notification: Performance of FrontEnd: time 6.01e-07/0.002459, allocations: 0 / 451.3 MB, free: 3.102 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.567e-05/0.002475, allocations: 0 / 451.3 MB, free: 3.102 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.0003539/0.002829, allocations: 234.7 kB / 451.6 MB, free: 2.848 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.025e-05/0.002859, allocations: 14.91 kB / 451.6 MB, free: 2.836 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000129/0.002988, allocations: 82.05 kB / 451.7 MB, free: 2.738 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.419e-05/0.003062, allocations: 117.7 kB / 451.8 MB, free: 2.598 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.985e-06/0.00307, allocations: 384 / 451.8 MB, free: 2.598 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.651e-06/0.003076, allocations: 2.156 kB / 451.8 MB, free: 2.598 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.179e-05/0.003148, allocations: 45.09 kB / 451.8 MB, free: 2.547 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.692e-06/0.003154, allocations: 192 / 451.8 MB, free: 2.547 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.301e-06/0.003161, allocations: 4.359 kB / 451.8 MB, free: 2.543 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.149e-06/0.003166, allocations: 5.031 kB / 451.8 MB, free: 2.539 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.412e-05/0.00318, allocations: 3.938 kB / 451.8 MB, free: 2.535 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.097e-05/0.003251, allocations: 57.7 kB / 451.9 MB, free: 2.465 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.226e-05/0.003283, allocations: 20.48 kB / 451.9 MB, free: 2.438 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.698e-06/0.003293, allocations: 4.859 kB / 451.9 MB, free: 2.43 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.167e-05/0.003304, allocations: 4.094 kB / 451.9 MB, free: 2.426 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.958e-05/0.003324, allocations: 31.33 kB / 452 MB, free: 2.387 MB / 426.7 MB Notification: Performance of pre-optimization done (n=1): time 7.82e-07/0.003325, allocations: 0 / 452 MB, free: 2.387 MB / 426.7 MB Notification: Performance of matching and sorting (n=1): time 8.279e-05/0.003408, allocations: 38.28 kB / 452 MB, free: 2.344 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.097e-05/0.003439, allocations: 56.25 kB / 452.1 MB, free: 2.277 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.148e-05/0.00349, allocations: 106.7 kB / 452.2 MB, free: 2.16 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 7.935e-06/0.003498, allocations: 26.33 kB / 452.2 MB, free: 2.129 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.274e-05/0.003521, allocations: 84.12 kB / 452.3 MB, free: 2.043 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.964e-05/0.00354, allocations: 2.156 kB / 452.3 MB, free: 2.043 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.403e-05/0.003564, allocations: 13.72 kB / 452.3 MB, free: 2.023 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.771e-05/0.003642, allocations: 318.8 kB / 452.6 MB, free: 1.703 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.454e-06/0.003649, allocations: 4 kB / 452.6 MB, free: 1.699 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.901e-06/0.003655, allocations: 2.094 kB / 452.6 MB, free: 1.699 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.133e-05/0.003677, allocations: 12.84 kB / 452.6 MB, free: 1.684 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.003679, allocations: 0.875 kB / 452.6 MB, free: 1.684 MB / 426.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 3.18e-05/0.003711, allocations: 33.89 kB / 452.6 MB, free: 1.645 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.029e-05/0.003721, allocations: 4.906 kB / 452.6 MB, free: 1.641 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-06/0.003725, allocations: 0 / 452.6 MB, free: 1.641 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.426e-06/0.003734, allocations: 5 kB / 452.7 MB, free: 1.637 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.506e-05/0.003789, allocations: 7.984 kB / 452.7 MB, free: 1.629 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.966e-06/0.003792, allocations: 0 / 452.7 MB, free: 1.629 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.404e-05/0.003806, allocations: 5.531 kB / 452.7 MB, free: 1.625 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.09e-06/0.003811, allocations: 0.875 kB / 452.7 MB, free: 1.625 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.858e-05/0.003859, allocations: 110.7 kB / 452.8 MB, free: 1.508 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.747e-06/0.003863, allocations: 0 / 452.8 MB, free: 1.508 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.119e-05/0.003884, allocations: 12.16 kB / 452.8 MB, free: 1.496 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.353e-06/0.003886, allocations: 0 / 452.8 MB, free: 1.496 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.413e-06/0.003887, allocations: 0 / 452.8 MB, free: 1.496 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.147e-06/0.003891, allocations: 6.391 kB / 452.8 MB, free: 1.492 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.084e-05/0.003942, allocations: 67.16 kB / 452.9 MB, free: 1.41 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.31e-07/0.003943, allocations: 0.6562 kB / 452.9 MB, free: 1.41 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.102e-05/0.003954, allocations: 4 kB / 452.9 MB, free: 1.406 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.212e-06/0.00396, allocations: 7.938 kB / 452.9 MB, free: 1.398 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.32e-07/0.003961, allocations: 0.5 kB / 452.9 MB, free: 1.398 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.577e-06/0.003964, allocations: 1.375 kB / 452.9 MB, free: 1.398 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.71e-07/0.003965, allocations: 0 / 452.9 MB, free: 1.398 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.003966, allocations: 0.9844 kB / 452.9 MB, free: 1.398 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.075e-05/0.004017, allocations: 66.06 kB / 452.9 MB, free: 1.316 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.745e-06/0.004024, allocations: 3.984 kB / 452.9 MB, free: 1.312 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.917e-06/0.004033, allocations: 4 kB / 452.9 MB, free: 1.309 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.958e-05/0.004053, allocations: 0.7188 kB / 452.9 MB, free: 1.309 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.032e-06/0.004054, allocations: 0 / 452.9 MB, free: 1.309 MB / 426.7 MB Notification: Performance of sorting global known variables: time 1.195e-05/0.004066, allocations: 13.77 kB / 453 MB, free: 1.293 MB / 426.7 MB Notification: Performance of sort global known variables: time 5e-08/0.004066, allocations: 0 / 453 MB, free: 1.293 MB / 426.7 MB Notification: Performance of remove unused functions: time 8.618e-05/0.004152, allocations: 4.594 kB / 453 MB, free: 1.289 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 6.768e-05/0.00422, allocations: 78.5 kB / 453 MB, free: 1.203 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 5.331e-05/0.004273, allocations: 8.859 kB / 453.1 MB, free: 1.191 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.857e-06/0.004277, allocations: 0.7812 kB / 453.1 MB, free: 1.191 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 1.202e-05/0.004289, allocations: 12.8 kB / 453.1 MB, free: 1.176 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 6.245e-05/0.004351, allocations: 9.375 kB / 453.1 MB, free: 1.168 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005853/0.004937, allocations: 126.4 kB / 453.2 MB, free: 1.023 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.996e-05/0.004967, allocations: 55.22 kB / 453.3 MB, free: 0.9492 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 1.325e-05/0.00498, allocations: 0.6562 kB / 453.3 MB, free: 0.9492 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.076e-05/0.005011, allocations: 48.28 kB / 453.3 MB, free: 0.9023 MB / 426.7 MB Notification: Performance of SimCode: time 8.22e-07/0.005012, allocations: 1.094 kB / 453.3 MB, free: 0.9023 MB / 426.7 MB Notification: Performance of Templates: time 0.001461/0.006472, allocations: 305.9 kB / 453.6 MB, free: 0.6172 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.4677467243745923]